Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001708/0.001708, allocations: 72.06 kB / 21.24 MB, free: 400 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002014/0.002014, allocations: 161.4 kB / 24.49 MB, free: 3.461 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.46/1.46, allocations: 173.4 MB / 201 MB, free: 12.59 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001506/0.001506, allocations: 50.75 kB / 319.4 MB, free: 3.273 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08949/0.09099, allocations: 52.16 MB / 371.6 MB, free: 7.367 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1): time 0.003449/0.09444, allocations: 1.58 MB / 373.2 MB, free: 5.777 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009561/0.0954, allocations: 446.9 kB / 373.6 MB, free: 5.336 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.942e-05/0.09548, allocations: 4 kB / 373.6 MB, free: 5.332 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.519e-05/0.09552, allocations: 3.938 kB / 373.6 MB, free: 5.328 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00013/0.09565, allocations: 15.84 kB / 373.6 MB, free: 5.312 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002574/0.09591, allocations: 47.88 kB / 373.7 MB, free: 5.266 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001115/0.09602, allocations: 43.8 kB / 373.7 MB, free: 5.223 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.842e-05/0.09611, allocations: 8 kB / 373.7 MB, free: 5.215 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.358e-05/0.09618, allocations: 19.92 kB / 373.7 MB, free: 5.195 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.836e-05/0.09624, allocations: 23.84 kB / 373.8 MB, free: 5.172 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.156e-05/0.09626, allocations: 4 kB / 373.8 MB, free: 5.168 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.174e-05/0.09627, allocations: 4 kB / 373.8 MB, free: 5.164 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.83e-05/0.09632, allocations: 11.98 kB / 373.8 MB, free: 5.152 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.258e-05/0.09637, allocations: 23.81 kB / 373.8 MB, free: 5.129 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001238/0.09649, allocations: 55.67 kB / 373.8 MB, free: 5.074 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.09649, allocations: 0 / 373.8 MB, free: 5.074 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.09649, allocations: 4 kB / 373.9 MB, free: 5.07 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.91e-06/0.0965, allocations: 0 / 373.9 MB, free: 5.07 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004686/0.09697, allocations: 302 kB / 374.1 MB, free: 4.746 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.09701, allocations: 12.92 kB / 374.2 MB, free: 4.734 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.69e-05/0.09705, allocations: 8.891 kB / 374.2 MB, free: 4.727 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002466/0.09729, allocations: 134.4 kB / 374.3 MB, free: 4.57 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.484e-05/0.09731, allocations: 8.375 kB / 374.3 MB, free: 4.562 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.631e-05/0.09732, allocations: 4.375 kB / 374.3 MB, free: 4.559 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003069/0.09763, allocations: 121.3 kB / 374.4 MB, free: 4.422 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.09764, allocations: 0 / 374.4 MB, free: 4.422 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.478e-06/0.09765, allocations: 0 / 374.4 MB, free: 4.422 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.343e-06/0.09766, allocations: 8 kB / 374.4 MB, free: 4.414 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.573e-05/0.09774, allocations: 19.98 kB / 374.5 MB, free: 4.395 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003122/0.09806, allocations: 213.3 kB / 374.7 MB, free: 4.152 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002074/0.09826, allocations: 61.12 kB / 374.7 MB, free: 4.074 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.101e-05/0.09834, allocations: 25.78 kB / 374.8 MB, free: 4.043 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.484e-05/0.09836, allocations: 7.938 kB / 374.8 MB, free: 4.035 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.707e-05/0.09839, allocations: 34.55 kB / 374.8 MB, free: 3.992 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.09839, allocations: 0 / 374.8 MB, free: 3.992 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002783/0.09867, allocations: 89.5 kB / 374.9 MB, free: 3.898 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.114e-05/0.09873, allocations: 77.11 kB / 375 MB, free: 3.805 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001349/0.09886, allocations: 133.8 kB / 375.1 MB, free: 3.664 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.873e-05/0.09888, allocations: 33.69 kB / 375.1 MB, free: 3.625 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.045e-05/0.09894, allocations: 92.12 kB / 375.2 MB, free: 3.531 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.425e-05/0.09896, allocations: 3.953 kB / 375.2 MB, free: 3.527 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.794e-05/0.09899, allocations: 17.72 kB / 375.2 MB, free: 3.504 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001433/0.09914, allocations: 318.8 kB / 375.5 MB, free: 3.184 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.597e-05/0.09918, allocations: 8 kB / 375.5 MB, free: 3.176 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.469e-05/0.09924, allocations: 35.55 kB / 375.6 MB, free: 3.129 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001/0.09934, allocations: 51.36 kB / 375.6 MB, free: 3.066 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.09934, allocations: 3.938 kB / 375.6 MB, free: 3.062 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001502/0.09949, allocations: 77.5 kB / 375.7 MB, free: 2.98 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.09951, allocations: 8.125 kB / 375.7 MB, free: 2.973 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.09951, allocations: 0 / 375.7 MB, free: 2.973 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.09953, allocations: 4 kB / 375.7 MB, free: 2.969 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.801e-05/0.09959, allocations: 8 kB / 375.7 MB, free: 2.961 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.0996, allocations: 3.984 kB / 375.7 MB, free: 2.957 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.185e-05/0.09964, allocations: 4 kB / 375.7 MB, free: 2.953 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.003e-06/0.09965, allocations: 0 / 375.7 MB, free: 2.953 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (4): * Single equations (assignments): 4 * 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 8.973e-05/0.09974, allocations: 117.8 kB / 375.9 MB, free: 2.828 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.066e-05/0.09982, allocations: 57.52 kB / 375.9 MB, free: 2.766 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.531e-05/0.09986, allocations: 12.67 kB / 375.9 MB, free: 2.746 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.09986, allocations: 4 kB / 375.9 MB, free: 2.742 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/0.09986, allocations: 4 kB / 375.9 MB, free: 2.738 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.772e-06/0.09987, allocations: 7.969 kB / 375.9 MB, free: 2.73 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001466/0.1, allocations: 117.2 kB / 376.1 MB, free: 2.586 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.1, allocations: 0 / 376.1 MB, free: 2.586 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.56e-05/0.1001, allocations: 8 kB / 376.1 MB, free: 2.578 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.509e-06/0.1001, allocations: 3.984 kB / 376.1 MB, free: 2.574 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.597e-06/0.1001, allocations: 4 kB / 376.1 MB, free: 2.57 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.1001, allocations: 0 / 376.1 MB, free: 2.57 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.1001, allocations: 0 / 376.1 MB, free: 2.57 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001988/0.1003, allocations: 176.2 kB / 376.2 MB, free: 2.379 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.283e-05/0.1003, allocations: 19.94 kB / 376.3 MB, free: 2.359 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.453e-05/0.1003, allocations: 0 / 376.3 MB, free: 2.359 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.708e-05/0.1004, allocations: 0 / 376.3 MB, free: 2.359 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.712e-05/0.1004, allocations: 4 kB / 376.3 MB, free: 2.355 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.777e-06/0.1004, allocations: 0 / 376.3 MB, free: 2.355 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.195e-05/0.1005, allocations: 110.2 kB / 376.4 MB, free: 2.25 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1005, allocations: 0 / 376.4 MB, free: 2.25 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002354/0.1008, allocations: 12 kB / 376.4 MB, free: 2.238 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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 9.273e-05/0.1009, allocations: 99.19 kB / 376.5 MB, free: 2.133 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001477/0.101, allocations: 35.91 kB / 376.5 MB, free: 2.098 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.101, allocations: 0 / 376.5 MB, free: 2.098 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.663e-05/0.101, allocations: 4 kB / 376.5 MB, free: 2.094 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003429/0.1014, allocations: 31.89 kB / 376.6 MB, free: 2.062 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003493/0.1017, allocations: 175.5 kB / 376.7 MB, free: 1.863 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.527e-05/0.1018, allocations: 83.39 kB / 376.8 MB, free: 1.762 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.62e-05/0.1018, allocations: 0 / 376.8 MB, free: 1.762 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.017e-05/0.1019, allocations: 12.5 kB / 376.8 MB, free: 1.75 MB / 334.1 MB Notification: Performance of SimCode: time 4.1e-07/0.1019, allocations: 0 / 376.8 MB, free: 1.75 MB / 334.1 MB Notification: Performance of Templates: time 0.003056/0.1049, allocations: 0.5714 MB / 377.4 MB, free: 1.191 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample1/Sample1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.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: 4.219393142964691]