Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001719/0.001719, allocations: 111 kB / 21.18 MB, free: 0.6758 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002119/0.002119, allocations: 211.4 kB / 24.48 MB, free: 3.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.663/1.663, allocations: 230.6 MB / 258.3 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|sample2.y|hold1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|sample2.y|hold1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001581/0.001581, allocations: 47.92 kB / 379 MB, free: 2.445 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4104/0.412, allocations: 53.37 MB / 432.3 MB, free: 6.703 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3): time 0.00389/0.4159, allocations: 1.689 MB / 434 MB, free: 5.012 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005392/0.4164, allocations: 163.4 kB / 434.2 MB, free: 4.852 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000118/0.4165, allocations: 0 / 434.2 MB, free: 4.852 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.437e-05/0.4166, allocations: 15.8 kB / 434.2 MB, free: 4.836 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000185/0.4168, allocations: 19.86 kB / 434.2 MB, free: 4.816 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003306/0.4171, allocations: 39.91 kB / 434.3 MB, free: 4.777 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000148/0.4172, allocations: 55.83 kB / 434.3 MB, free: 4.723 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001426/0.4174, allocations: 23.64 kB / 434.3 MB, free: 4.703 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.501e-05/0.4174, allocations: 27.86 kB / 434.4 MB, free: 4.676 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.215e-05/0.4175, allocations: 19.86 kB / 434.4 MB, free: 4.656 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.233e-05/0.4175, allocations: 8 kB / 434.4 MB, free: 4.648 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.747e-05/0.4176, allocations: 11.94 kB / 434.4 MB, free: 4.637 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.104e-05/0.4176, allocations: 23.91 kB / 434.4 MB, free: 4.613 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.178e-05/0.4177, allocations: 23.81 kB / 434.5 MB, free: 4.59 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001831/0.4178, allocations: 66.67 kB / 434.5 MB, free: 4.527 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.4179, allocations: 0 / 434.5 MB, free: 4.527 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.4179, allocations: 0 / 434.5 MB, free: 4.527 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.185e-05/0.4179, allocations: 0 / 434.5 MB, free: 4.527 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006734/0.4185, allocations: 317.9 kB / 434.8 MB, free: 4.184 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.601e-05/0.4186, allocations: 8.031 kB / 434.8 MB, free: 4.176 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.767e-05/0.4186, allocations: 12.89 kB / 434.9 MB, free: 4.164 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000334/0.419, allocations: 146.3 kB / 435 MB, free: 3.996 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.373e-05/0.419, allocations: 384 / 435 MB, free: 3.996 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.295e-05/0.419, allocations: 8.375 kB / 435 MB, free: 3.988 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004746/0.4195, allocations: 166.3 kB / 435.2 MB, free: 3.805 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.889e-05/0.4195, allocations: 4.125 kB / 435.2 MB, free: 3.801 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.746e-05/0.4195, allocations: 3.938 kB / 435.2 MB, free: 3.797 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.017e-05/0.4195, allocations: 8 kB / 435.2 MB, free: 3.789 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001441/0.4197, allocations: 35.97 kB / 435.2 MB, free: 3.754 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004813/0.4201, allocations: 305.5 kB / 435.5 MB, free: 3.418 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003613/0.4205, allocations: 107.8 kB / 435.6 MB, free: 3.285 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001131/0.4206, allocations: 54.62 kB / 435.7 MB, free: 3.223 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.243e-05/0.4207, allocations: 4 kB / 435.7 MB, free: 3.219 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.719e-05/0.4207, allocations: 42.5 kB / 435.7 MB, free: 3.168 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 3.256e-06/0.4207, allocations: 4 kB / 435.7 MB, free: 3.164 MB / 334.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004085/0.4211, allocations: 117.5 kB / 435.8 MB, free: 3.043 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001165/0.4212, allocations: 110.8 kB / 435.9 MB, free: 2.91 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001648/0.4214, allocations: 140.3 kB / 436.1 MB, free: 2.766 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.514e-05/0.4214, allocations: 25.7 kB / 436.1 MB, free: 2.734 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.63e-05/0.4215, allocations: 84.14 kB / 436.2 MB, free: 2.648 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.426e-05/0.4215, allocations: 11.95 kB / 436.2 MB, free: 2.637 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.106e-05/0.4216, allocations: 29.66 kB / 436.2 MB, free: 2.602 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002481/0.4218, allocations: 314.8 kB / 436.5 MB, free: 2.285 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.71e-05/0.4219, allocations: 28.17 kB / 436.6 MB, free: 2.258 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001082/0.422, allocations: 67.66 kB / 436.6 MB, free: 2.164 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000157/0.4221, allocations: 95.59 kB / 436.7 MB, free: 2.043 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.16e-06/0.4221, allocations: 4 kB / 436.7 MB, free: 2.039 MB / 334.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002107/0.4224, allocations: 109.4 kB / 436.8 MB, free: 1.926 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.11e-05/0.4224, allocations: 8 kB / 436.8 MB, free: 1.918 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.4224, allocations: 3.938 kB / 436.8 MB, free: 1.914 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.316e-05/0.4224, allocations: 4.281 kB / 436.9 MB, free: 1.91 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.869e-05/0.4225, allocations: 27.92 kB / 436.9 MB, free: 1.883 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.079e-05/0.4225, allocations: 4 kB / 436.9 MB, free: 1.879 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.64e-05/0.4226, allocations: 11.89 kB / 436.9 MB, free: 1.867 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.078e-05/0.4226, allocations: 4 kB / 436.9 MB, free: 1.863 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001332/0.4227, allocations: 129.8 kB / 437 MB, free: 1.727 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00014/0.4228, allocations: 73.73 kB / 437.1 MB, free: 1.648 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.991e-05/0.4229, allocations: 16.7 kB / 437.1 MB, free: 1.629 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.192e-06/0.4229, allocations: 4 kB / 437.1 MB, free: 1.625 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.4229, allocations: 0 / 437.1 MB, free: 1.625 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.4229, allocations: 0 / 437.1 MB, free: 1.625 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002324/0.4231, allocations: 129.2 kB / 437.2 MB, free: 1.469 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.4231, allocations: 3.938 kB / 437.2 MB, free: 1.465 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.653e-05/0.4232, allocations: 16 kB / 437.3 MB, free: 1.449 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.4232, allocations: 3.984 kB / 437.3 MB, free: 1.445 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.44e-05/0.4232, allocations: 8 kB / 437.3 MB, free: 1.438 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.4232, allocations: 0 / 437.3 MB, free: 1.438 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.4232, allocations: 0 / 437.3 MB, free: 1.438 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000474/0.4237, allocations: 312.2 kB / 437.6 MB, free: 1.109 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.743e-05/0.4238, allocations: 27.94 kB / 437.6 MB, free: 1.082 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.1e-05/0.4238, allocations: 4 kB / 437.6 MB, free: 1.078 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001062/0.4239, allocations: 11.92 kB / 437.6 MB, free: 1.066 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.845e-05/0.4239, allocations: 0 / 437.6 MB, free: 1.066 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.083e-06/0.4239, allocations: 4 kB / 437.6 MB, free: 1.062 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.558e-05/0.424, allocations: 103.5 kB / 437.7 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.424, allocations: 0 / 437.7 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002841/0.4243, allocations: 12 kB / 437.7 MB, free: 0.9492 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001265/0.4244, allocations: 107.1 kB / 437.8 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002125/0.4247, allocations: 67.84 kB / 437.9 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.4247, allocations: 0 / 437.9 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.684e-05/0.4247, allocations: 4 kB / 437.9 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004824/0.4252, allocations: 49.39 kB / 438 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004503/0.4256, allocations: 195.6 kB / 438.2 MB, free: 0.5 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001155/0.4257, allocations: 91.95 kB / 438.2 MB, free: 400 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.91e-05/0.4258, allocations: 8.609 kB / 438.2 MB, free: 388 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.641e-05/0.4258, allocations: 11.44 kB / 438.3 MB, free: 376 kB / 334.1 MB Notification: Performance of SimCode: time 3.1e-07/0.4258, allocations: 0 / 438.3 MB, free: 376 kB / 334.1 MB Notification: Performance of Templates: time 0.004313/0.4301, allocations: 0.8219 MB / 439.1 MB, free: 15.56 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample3/Sample3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.150485521997325]