Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) 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(ModelicaTest.Tables.CombiTimeTable.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12") translateModel(ModelicaTest.Tables.CombiTimeTable.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001213/0.001213, allocations: 104.2 kB / 18.45 MB, free: 4.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001092/0.001092, allocations: 184.2 kB / 19.38 MB, free: 3.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.327/1.327, allocations: 222.9 MB / 243.1 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2263/0.2263, allocations: 44.19 MB / 337.4 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001282, allocations: 67.88 kB / 471.3 MB, free: 13.1 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4102/0.4115, allocations: 60.82 MB / 0.5196 GB, free: 3.625 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.003166/0.4147, allocations: 1.922 MB / 0.5215 GB, free: 2.281 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001456/0.4162, allocations: 0.9167 MB / 0.5224 GB, free: 1.648 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001129/0.4163, allocations: 6.219 kB / 0.5224 GB, free: 1.645 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003348/0.4166, allocations: 37.64 kB / 0.5224 GB, free: 1.625 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002321/0.4169, allocations: 66.62 kB / 0.5225 GB, free: 1.582 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003418/0.4173, allocations: 126.6 kB / 0.5226 GB, free: 1.52 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002233/0.4175, allocations: 134.3 kB / 0.5228 GB, free: 1.461 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001306/0.4176, allocations: 32.88 kB / 0.5228 GB, free: 1.441 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001076/0.4177, allocations: 56.98 kB / 0.5228 GB, free: 1.414 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001002/0.4179, allocations: 44.89 kB / 0.5229 GB, free: 1.391 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.902e-05/0.4179, allocations: 7.812 kB / 0.5229 GB, free: 1.391 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001191/0.418, allocations: 53.58 kB / 0.5229 GB, free: 1.371 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.3e-05/0.4181, allocations: 26.78 kB / 0.523 GB, free: 1.355 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.834e-05/0.4182, allocations: 51.14 kB / 0.523 GB, free: 1.32 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002702/0.4184, allocations: 144.9 kB / 0.5232 GB, free: 1.262 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.4184, allocations: 0 / 0.5232 GB, free: 1.262 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.776e-06/0.4185, allocations: 1.188 kB / 0.5232 GB, free: 1.262 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.72e-06/0.4185, allocations: 3.938 kB / 0.5232 GB, free: 1.258 MB / 382.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.0005965/0.4191, allocations: 478.6 kB / 0.5236 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/0.4191, allocations: 9.766 kB / 0.5236 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.611e-05/0.4192, allocations: 20.56 kB / 0.5236 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002911/0.4195, allocations: 229.4 kB / 0.5239 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.75e-05/0.4195, allocations: 3.562 kB / 0.5239 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.082e-05/0.4195, allocations: 17.12 kB / 0.5239 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000244/0.4198, allocations: 105.6 kB / 0.524 GB, free: 488 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.4198, allocations: 1.062 kB / 0.524 GB, free: 488 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.36e-05/0.4198, allocations: 1 kB / 0.524 GB, free: 488 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.112e-06/0.4198, allocations: 1.844 kB / 0.524 GB, free: 488 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001496/0.42, allocations: 50.84 kB / 0.524 GB, free: 472 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005361/0.4205, allocations: 0.5064 MB / 0.5245 GB, free: 15.98 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003351/0.4209, allocations: 85.05 kB / 0.5246 GB, free: 15.94 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001042/0.421, allocations: 40.8 kB / 0.5246 GB, free: 15.92 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.193e-05/0.421, allocations: 2.406 kB / 0.5247 GB, free: 15.92 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002065/0.4212, allocations: 85.36 kB / 0.5247 GB, free: 15.86 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.613e-06/0.4212, allocations: 1.094 kB / 0.5247 GB, free: 15.86 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004135/0.4217, allocations: 145.8 kB / 0.5249 GB, free: 15.79 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.13e-05/0.4217, allocations: 57.75 kB / 0.5249 GB, free: 15.72 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002001/0.4219, allocations: 195.9 kB / 0.5251 GB, free: 15.58 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.408e-05/0.422, allocations: 26.8 kB / 0.5251 GB, free: 15.55 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.913e-05/0.422, allocations: 111.1 kB / 0.5252 GB, free: 15.45 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.114e-05/0.4221, allocations: 29.73 kB / 0.5253 GB, free: 15.42 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.383e-05/0.4221, allocations: 29.12 kB / 0.5253 GB, free: 15.4 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001177/0.4223, allocations: 328 kB / 0.5256 GB, free: 15.08 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.333e-05/0.4224, allocations: 28.98 kB / 0.5256 GB, free: 15.07 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001151/0.4225, allocations: 66.83 kB / 0.5257 GB, free: 15.02 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002015/0.4227, allocations: 100.7 kB / 0.5258 GB, free: 14.95 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.4227, allocations: 0 / 0.5258 GB, free: 14.95 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002751/0.423, allocations: 138.6 kB / 0.5259 GB, free: 14.88 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.423, allocations: 6.938 kB / 0.5259 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.423, allocations: 2.5 kB / 0.5259 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.423, allocations: 1.812 kB / 0.5259 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001016/0.4232, allocations: 25 kB / 0.526 GB, free: 14.87 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.767e-06/0.4232, allocations: 3.562 kB / 0.526 GB, free: 14.87 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.04e-05/0.4232, allocations: 14.09 kB / 0.526 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.068e-05/0.4233, allocations: 8.938 kB / 0.526 GB, free: 14.86 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001136/0.4234, allocations: 132.6 kB / 0.5261 GB, free: 14.73 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.741e-05/0.4234, allocations: 14.22 kB / 0.5261 GB, free: 14.72 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.029e-05/0.4235, allocations: 20.39 kB / 0.5262 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.591e-06/0.4235, allocations: 5.625 kB / 0.5262 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.4235, allocations: 0 / 0.5262 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/0.4235, allocations: 0.6094 kB / 0.5262 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002001/0.4237, allocations: 209.2 kB / 0.5264 GB, free: 14.49 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.4237, allocations: 5.719 kB / 0.5264 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.535e-05/0.4238, allocations: 11.77 kB / 0.5264 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.4238, allocations: 0 / 0.5264 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.597e-05/0.4238, allocations: 6.234 kB / 0.5264 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/0.4238, allocations: 4.641 kB / 0.5264 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.4238, allocations: 1.531 kB / 0.5264 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003844/0.4242, allocations: 186.5 kB / 0.5266 GB, free: 14.36 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.486e-05/0.4243, allocations: 89.72 kB / 0.5267 GB, free: 14.26 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.45e-05/0.4243, allocations: 0.8438 kB / 0.5267 GB, free: 14.26 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.879e-05/0.4244, allocations: 15.17 kB / 0.5267 GB, free: 14.25 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.279e-05/0.4245, allocations: 8.688 kB / 0.5267 GB, free: 14.25 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.51e-05/0.4245, allocations: 4.094 kB / 0.5267 GB, free: 14.25 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001216/0.4246, allocations: 138.6 kB / 0.5268 GB, free: 14.16 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4246, allocations: 0 / 0.5268 GB, free: 14.16 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002358/0.4248, allocations: 28.47 kB / 0.5268 GB, free: 14.15 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (9): * Single equations (assignments): 7 * 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.000944/0.4258, allocations: 417.7 kB / 0.5272 GB, free: 13.95 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002688/0.4261, allocations: 78.94 kB / 0.5273 GB, free: 13.93 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.4261, allocations: 0 / 0.5273 GB, free: 13.93 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000105/0.4262, allocations: 42.7 kB / 0.5274 GB, free: 13.92 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003171/0.4265, allocations: 38.67 kB / 0.5274 GB, free: 13.91 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005785/0.4271, allocations: 286.4 kB / 0.5277 GB, free: 13.69 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002872/0.4274, allocations: 0.7139 MB / 0.5284 GB, free: 12.99 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.412e-05/0.4275, allocations: 17.81 kB / 0.5284 GB, free: 12.98 MB / 398.1 MB Notification: Performance of SimCode: time 2.21e-07/0.4275, allocations: 0 / 0.5284 GB, free: 12.98 MB / 398.1 MB Notification: Performance of Templates: time 0.004455/0.4319, allocations: 2.18 MB / 0.5305 GB, free: 12.04 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches