Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.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.001003/0.001003, allocations: 83.89 kB / 21.19 MB, free: 3.383 MB / 18.57 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.000964/0.000964, allocations: 145.1 kB / 24.54 MB, free: 32 kB / 18.57 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.015/1.015, allocations: 173.4 MB / 201.1 MB, free: 9.34 MB / 186.7 MB " [Timeout remaining time 179] 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.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.402e-06/1.402e-06, allocations: 3.938 kB / 268 MB, free: 6.43 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.677e-05/1.817e-05, allocations: 2.312 kB / 268 MB, free: 6.426 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked): time 0.00227/0.002288, allocations: 1.604 MB / 269.6 MB, free: 4.809 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006847/0.002973, allocations: 462.6 kB / 270.1 MB, free: 4.352 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.745e-05/0.00305, allocations: 3.938 kB / 270.1 MB, free: 4.348 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 5.17e-05/0.003102, allocations: 3.938 kB / 270.1 MB, free: 4.344 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001409/0.003243, allocations: 11.92 kB / 270.1 MB, free: 4.332 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002206/0.003464, allocations: 39.78 kB / 270.1 MB, free: 4.293 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 9.825e-05/0.003562, allocations: 39.86 kB / 270.2 MB, free: 4.254 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.529e-05/0.003647, allocations: 7.984 kB / 270.2 MB, free: 4.246 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.41e-05/0.003721, allocations: 27.91 kB / 270.2 MB, free: 4.219 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.003e-05/0.003771, allocations: 15.92 kB / 270.2 MB, free: 4.203 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.102e-05/0.003792, allocations: 0 / 270.2 MB, free: 4.203 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.419e-05/0.003806, allocations: 4 kB / 270.2 MB, free: 4.199 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.452e-05/0.003851, allocations: 11.98 kB / 270.2 MB, free: 4.188 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.82e-05/0.003879, allocations: 15.92 kB / 270.2 MB, free: 4.172 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001013/0.00398, allocations: 31.84 kB / 270.3 MB, free: 4.141 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.954e-06/0.003982, allocations: 4 kB / 270.3 MB, free: 4.137 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.003983, allocations: 0 / 270.3 MB, free: 4.137 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.207e-06/0.003988, allocations: 0 / 270.3 MB, free: 4.137 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003971/0.004385, allocations: 396.3 kB / 270.7 MB, free: 3.715 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.004422, allocations: 8.922 kB / 270.7 MB, free: 3.707 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.99e-05/0.004462, allocations: 12.89 kB / 270.7 MB, free: 3.695 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001603/0.004622, allocations: 135.3 kB / 270.8 MB, free: 3.539 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.076e-05/0.004633, allocations: 8.375 kB / 270.8 MB, free: 3.531 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.428e-06/0.004643, allocations: 384 / 270.8 MB, free: 3.531 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002228/0.004865, allocations: 113.6 kB / 270.9 MB, free: 3.395 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.285e-06/0.004874, allocations: 192 / 270.9 MB, free: 3.395 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.004884, allocations: 4.375 kB / 270.9 MB, free: 3.391 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.147e-06/0.004894, allocations: 3.938 kB / 270.9 MB, free: 3.387 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.521e-05/0.004919, allocations: 11.92 kB / 271 MB, free: 3.375 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002905/0.005209, allocations: 259.5 kB / 271.2 MB, free: 3.082 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.615e-05/0.005265, allocations: 54.12 kB / 271.3 MB, free: 3.004 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.508e-05/0.005291, allocations: 23.44 kB / 271.3 MB, free: 2.973 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.583e-05/0.005306, allocations: 4 kB / 271.3 MB, free: 2.969 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.244e-05/0.005329, allocations: 37.33 kB / 271.3 MB, free: 2.922 MB / 250.7 MB Notification: Performance of pre-optimization done (n=2): time 8.32e-07/0.00533, allocations: 4 kB / 271.3 MB, free: 2.918 MB / 250.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001559/0.005486, allocations: 49.58 kB / 271.4 MB, free: 2.863 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.406e-05/0.00553, allocations: 85.11 kB / 271.5 MB, free: 2.762 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001044/0.005634, allocations: 189.9 kB / 271.6 MB, free: 2.559 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 8.886e-06/0.005643, allocations: 25.7 kB / 271.7 MB, free: 2.527 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.473e-05/0.005698, allocations: 142.8 kB / 271.8 MB, free: 2.383 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.635e-05/0.005714, allocations: 0 / 271.8 MB, free: 2.383 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.053e-05/0.005745, allocations: 19.58 kB / 271.8 MB, free: 2.355 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001129/0.005857, allocations: 0.4923 MB / 272.3 MB, free: 1.852 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.029e-05/0.005868, allocations: 0 / 272.3 MB, free: 1.852 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.446e-06/0.005876, allocations: 0 / 272.3 MB, free: 1.852 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.696e-05/0.005903, allocations: 15.62 kB / 272.3 MB, free: 1.832 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.005905, allocations: 0 / 272.3 MB, free: 1.832 MB / 250.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.769e-05/0.005963, allocations: 37.69 kB / 272.4 MB, free: 1.789 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.005976, allocations: 7.938 kB / 272.4 MB, free: 1.781 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.00598, allocations: 0 / 272.4 MB, free: 1.781 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.005992, allocations: 0 / 272.4 MB, free: 1.781 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.331e-05/0.006055, allocations: 8.094 kB / 272.4 MB, free: 1.773 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.038e-06/0.006059, allocations: 0 / 272.4 MB, free: 1.773 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.895e-05/0.006078, allocations: 3.984 kB / 272.4 MB, free: 1.77 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.46e-06/0.006083, allocations: 0 / 272.4 MB, free: 1.77 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 1 * 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 6.548e-05/0.006149, allocations: 160.6 kB / 272.6 MB, free: 1.602 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.437e-05/0.006193, allocations: 45.53 kB / 272.6 MB, free: 1.551 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.631e-05/0.006219, allocations: 11.8 kB / 272.6 MB, free: 1.539 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.006222, allocations: 4 kB / 272.6 MB, free: 1.535 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.006227, allocations: 4 kB / 272.6 MB, free: 1.531 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.00623, allocations: 3.938 kB / 272.6 MB, free: 1.527 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001206/0.006351, allocations: 124.7 kB / 272.7 MB, free: 1.371 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.006352, allocations: 0 / 272.7 MB, free: 1.371 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.487e-05/0.006376, allocations: 7.984 kB / 272.7 MB, free: 1.363 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.006378, allocations: 0 / 272.7 MB, free: 1.363 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.518e-06/0.006388, allocations: 11.92 kB / 272.8 MB, free: 1.352 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.006389, allocations: 0 / 272.8 MB, free: 1.352 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.00639, allocations: 0 / 272.8 MB, free: 1.352 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001623/0.006552, allocations: 199.5 kB / 273 MB, free: 1.133 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.821e-05/0.00658, allocations: 19.94 kB / 273 MB, free: 1.113 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.235e-05/0.006593, allocations: 3.938 kB / 273 MB, free: 1.109 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.929e-05/0.006642, allocations: 4.031 kB / 273 MB, free: 1.105 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.892e-05/0.006671, allocations: 7.984 kB / 273 MB, free: 1.098 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.695e-06/0.006674, allocations: 0 / 273 MB, free: 1.098 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.332e-05/0.006727, allocations: 142 kB / 273.1 MB, free: 0.9609 MB / 250.7 MB Notification: Performance of sort global known variables: time 9e-08/0.006727, allocations: 0 / 273.1 MB, free: 0.9609 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002134/0.00694, allocations: 4 kB / 273.1 MB, free: 0.957 MB / 250.7 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 (2): * Single equations (assignments): 2 * 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 6.436e-05/0.007005, allocations: 95.25 kB / 273.2 MB, free: 0.8555 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 7.575e-05/0.00708, allocations: 23.61 kB / 273.2 MB, free: 0.8281 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.007082, allocations: 4.062 kB / 273.3 MB, free: 0.8242 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.439e-05/0.007097, allocations: 11.69 kB / 273.3 MB, free: 0.8086 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002869/0.007383, allocations: 12.31 kB / 273.3 MB, free: 0.793 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004309/0.007814, allocations: 161.3 kB / 273.4 MB, free: 0.6055 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.946e-05/0.007854, allocations: 59.34 kB / 273.5 MB, free: 0.5273 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.127e-05/0.007875, allocations: 4 kB / 273.5 MB, free: 0.5234 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.782e-05/0.007903, allocations: 12.66 kB / 273.5 MB, free: 0.5078 MB / 250.7 MB Notification: Performance of SimCode: time 6.62e-07/0.007904, allocations: 3.938 kB / 273.5 MB, free: 0.5039 MB / 250.7 MB Notification: Performance of Templates: time 0.002251/0.01016, allocations: 0.5415 MB / 274.1 MB, free: 15.98 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleClocked/SampleClocked.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.671340773347765]