Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39") translateModel(ModelicaTest.Tables.CombiTimeTable.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001504/0.001504, allocations: 113 kB / 18.45 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001825/0.001825, allocations: 212.9 kB / 19.4 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.466/1.466, allocations: 227.4 MB / 247.6 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.237/0.237, allocations: 46.1 MB / 345 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001515/0.001515, allocations: 75.88 kB / 482 MB, free: 4.027 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4196/0.4211, allocations: 62.44 MB / 0.5317 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test39): time 0.003033/0.4242, allocations: 1.693 MB / 0.5334 GB, free: 12.27 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001734/0.4259, allocations: 0.9985 MB / 0.5344 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.994e-05/0.426, allocations: 1.469 kB / 0.5344 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003637/0.4264, allocations: 63.14 kB / 0.5344 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003338/0.4267, allocations: 109.7 kB / 0.5345 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002057/0.427, allocations: 69.95 kB / 0.5346 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002335/0.4272, allocations: 107.6 kB / 0.5347 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.779e-05/0.4273, allocations: 4.641 kB / 0.5347 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001112/0.4274, allocations: 56.36 kB / 0.5348 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001122/0.4275, allocations: 44.47 kB / 0.5348 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.917e-05/0.4275, allocations: 2.75 kB / 0.5348 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.587e-05/0.4276, allocations: 32.59 kB / 0.5348 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.185e-05/0.4277, allocations: 22.8 kB / 0.5349 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.323e-05/0.4278, allocations: 30.62 kB / 0.5349 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002043/0.428, allocations: 110 kB / 0.535 GB, free: 11.1 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.428, allocations: 3.984 kB / 0.535 GB, free: 11.09 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.428, allocations: 0 / 0.535 GB, free: 11.09 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.267e-06/0.428, allocations: 0 / 0.535 GB, free: 11.09 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006138/0.4286, allocations: 409.6 kB / 0.5354 GB, free: 10.68 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.659e-05/0.4287, allocations: 9.625 kB / 0.5354 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.113e-05/0.4287, allocations: 12.91 kB / 0.5354 GB, free: 10.67 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003256/0.4291, allocations: 221.2 kB / 0.5356 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.468e-05/0.4291, allocations: 1.75 kB / 0.5356 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.955e-05/0.4291, allocations: 5.5 kB / 0.5356 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001643/0.4293, allocations: 51.3 kB / 0.5357 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.163e-06/0.4293, allocations: 0 / 0.5357 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.063e-05/0.4293, allocations: 0 / 0.5357 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/0.4293, allocations: 1.375 kB / 0.5357 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.333e-05/0.4294, allocations: 20.17 kB / 0.5357 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002047/0.4296, allocations: 179.4 kB / 0.5359 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001665/0.4298, allocations: 55.17 kB / 0.5359 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.512e-05/0.4299, allocations: 19.67 kB / 0.5359 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.259e-05/0.4299, allocations: 1.375 kB / 0.5359 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001647/0.4301, allocations: 76.97 kB / 0.536 GB, free: 10.02 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.483e-06/0.4301, allocations: 4 kB / 0.536 GB, free: 10.02 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002946/0.4304, allocations: 90.7 kB / 0.5361 GB, free: 9.961 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.956e-05/0.4304, allocations: 52.78 kB / 0.5361 GB, free: 9.898 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002001/0.4306, allocations: 192.6 kB / 0.5363 GB, free: 9.758 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.761e-05/0.4307, allocations: 29.7 kB / 0.5364 GB, free: 9.723 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.443e-05/0.4307, allocations: 101 kB / 0.5365 GB, free: 9.625 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.663e-05/0.4308, allocations: 19.03 kB / 0.5365 GB, free: 9.609 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.72e-05/0.4308, allocations: 18.09 kB / 0.5365 GB, free: 9.59 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001215/0.431, allocations: 330.3 kB / 0.5368 GB, free: 9.262 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.549e-05/0.431, allocations: 15.8 kB / 0.5368 GB, free: 9.254 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.242e-05/0.4311, allocations: 27.44 kB / 0.5368 GB, free: 9.23 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000102/0.4312, allocations: 48.2 kB / 0.5369 GB, free: 9.195 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.4312, allocations: 0 / 0.5369 GB, free: 9.195 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001642/0.4314, allocations: 84.25 kB / 0.537 GB, free: 9.137 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.01e-05/0.4314, allocations: 13.08 kB / 0.537 GB, free: 9.129 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.4314, allocations: 0 / 0.537 GB, free: 9.129 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.4314, allocations: 5.062 kB / 0.537 GB, free: 9.125 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.328e-05/0.4315, allocations: 9.219 kB / 0.537 GB, free: 9.125 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.4315, allocations: 1.219 kB / 0.537 GB, free: 9.125 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.404e-05/0.4316, allocations: 2.656 kB / 0.537 GB, free: 9.125 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.022e-05/0.4316, allocations: 5.344 kB / 0.537 GB, free: 9.121 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.0001178/0.4317, allocations: 126.1 kB / 0.5371 GB, free: 8.996 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.312e-05/0.4318, allocations: 13.06 kB / 0.5371 GB, free: 8.988 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.729e-05/0.4318, allocations: 21.45 kB / 0.5372 GB, free: 8.969 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.4318, allocations: 1.156 kB / 0.5372 GB, free: 8.969 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.042e-06/0.4318, allocations: 1.281 kB / 0.5372 GB, free: 8.969 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.91e-06/0.4319, allocations: 0 / 0.5372 GB, free: 8.969 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001714/0.432, allocations: 189.3 kB / 0.5373 GB, free: 8.75 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.432, allocations: 3.938 kB / 0.5373 GB, free: 8.746 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.314e-05/0.4321, allocations: 8.078 kB / 0.5374 GB, free: 8.742 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.4321, allocations: 0 / 0.5374 GB, free: 8.742 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.909e-06/0.4321, allocations: 1.25 kB / 0.5374 GB, free: 8.742 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.4321, allocations: 0 / 0.5374 GB, free: 8.742 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.4321, allocations: 5.188 kB / 0.5374 GB, free: 8.738 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001961/0.4323, allocations: 108.7 kB / 0.5375 GB, free: 8.645 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.81e-05/0.4324, allocations: 87.62 kB / 0.5375 GB, free: 8.543 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.865e-05/0.4324, allocations: 1.406 kB / 0.5375 GB, free: 8.543 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.532e-05/0.4324, allocations: 6.5 kB / 0.5376 GB, free: 8.539 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.524e-05/0.4325, allocations: 5.516 kB / 0.5376 GB, free: 8.535 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.55e-05/0.4325, allocations: 2.406 kB / 0.5376 GB, free: 8.535 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001296/0.4326, allocations: 156 kB / 0.5377 GB, free: 8.422 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4326, allocations: 0.9688 kB / 0.5377 GB, free: 8.422 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002217/0.4329, allocations: 24.19 kB / 0.5377 GB, free: 8.41 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0009731/0.4338, allocations: 411.9 kB / 0.5381 GB, free: 8.191 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001756/0.434, allocations: 40.39 kB / 0.5382 GB, free: 8.176 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.434, allocations: 0 / 0.5382 GB, free: 8.176 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.66e-05/0.4341, allocations: 23.2 kB / 0.5382 GB, free: 8.164 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002675/0.4344, allocations: 35.89 kB / 0.5382 GB, free: 8.145 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004864/0.4349, allocations: 226.2 kB / 0.5384 GB, free: 7.953 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003027/0.4352, allocations: 0.6997 MB / 0.5391 GB, free: 7.246 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.349e-05/0.4352, allocations: 14.22 kB / 0.5391 GB, free: 7.242 MB / 398.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4353, allocations: 0 / 0.5391 GB, free: 7.242 MB / 398.1 MB Notification: Performance of Templates: time 0.003715/0.439, allocations: 1.748 MB / 0.5408 GB, free: 6.332 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test39/Test39.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches