Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.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.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17") translateModel(ModelicaTest.Tables.CombiTimeTable.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001607/0.001607, allocations: 113 kB / 18.45 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001683/0.001683, allocations: 212.9 kB / 19.4 MB, free: 3.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.428/1.428, allocations: 227.4 MB / 247.6 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2306/0.2306, allocations: 46.1 MB / 344.9 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002156/0.002156, allocations: 75.88 kB / 482.1 MB, free: 4.02 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4214/0.4236, allocations: 62.44 MB / 0.5317 GB, free: 13.64 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test17): time 0.00298/0.4266, allocations: 1.726 MB / 0.5334 GB, free: 12.29 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001609/0.4282, allocations: 1.026 MB / 0.5344 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.593e-05/0.4283, allocations: 1.375 kB / 0.5344 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000285/0.4286, allocations: 41.39 kB / 0.5345 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002918/0.4289, allocations: 87.11 kB / 0.5346 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002008/0.4291, allocations: 86.84 kB / 0.5346 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001654/0.4293, allocations: 97.02 kB / 0.5347 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001033/0.4294, allocations: 22.78 kB / 0.5347 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.011e-05/0.4295, allocations: 40.3 kB / 0.5348 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.331e-05/0.4296, allocations: 34.78 kB / 0.5348 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.634e-05/0.4296, allocations: 4.125 kB / 0.5348 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.967e-05/0.4297, allocations: 43.47 kB / 0.5349 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.563e-05/0.4298, allocations: 14.81 kB / 0.5349 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.995e-05/0.4298, allocations: 35.98 kB / 0.5349 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002052/0.43, allocations: 123.4 kB / 0.535 GB, free: 11.09 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.43, allocations: 5.312 kB / 0.535 GB, free: 11.08 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.43, allocations: 3.938 kB / 0.535 GB, free: 11.08 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.731e-06/0.43, allocations: 0 / 0.535 GB, free: 11.08 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005642/0.4306, allocations: 405.8 kB / 0.5354 GB, free: 10.66 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.4307, allocations: 9.625 kB / 0.5354 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.74e-05/0.4307, allocations: 14.25 kB / 0.5354 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002634/0.431, allocations: 211.1 kB / 0.5357 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.62e-05/0.431, allocations: 9.75 kB / 0.5357 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.696e-05/0.431, allocations: 6.875 kB / 0.5357 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001563/0.4312, allocations: 58.03 kB / 0.5357 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.4312, allocations: 3.938 kB / 0.5357 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.4312, allocations: 0 / 0.5357 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.4313, allocations: 1.375 kB / 0.5357 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.649e-05/0.4313, allocations: 22.92 kB / 0.5357 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003572/0.4317, allocations: 281.5 kB / 0.536 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000172/0.4319, allocations: 62.45 kB / 0.5361 GB, free: 9.996 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.253e-05/0.4319, allocations: 24.58 kB / 0.5361 GB, free: 9.977 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.115e-05/0.432, allocations: 5.109 kB / 0.5361 GB, free: 9.973 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001538/0.4321, allocations: 65.3 kB / 0.5362 GB, free: 9.91 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.553e-06/0.4322, allocations: 5.031 kB / 0.5362 GB, free: 9.906 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005374/0.4327, allocations: 173.5 kB / 0.5363 GB, free: 9.805 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.834e-05/0.4327, allocations: 56.39 kB / 0.5364 GB, free: 9.738 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000186/0.4329, allocations: 182 kB / 0.5366 GB, free: 9.598 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.562e-05/0.433, allocations: 26.95 kB / 0.5366 GB, free: 9.566 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.578e-05/0.433, allocations: 103.9 kB / 0.5367 GB, free: 9.465 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.92e-05/0.4331, allocations: 27.39 kB / 0.5367 GB, free: 9.441 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.911e-05/0.4331, allocations: 24.69 kB / 0.5367 GB, free: 9.418 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000126/0.4332, allocations: 330 kB / 0.5371 GB, free: 9.09 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.985e-05/0.4333, allocations: 22.83 kB / 0.5371 GB, free: 9.078 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.714e-05/0.4334, allocations: 36.48 kB / 0.5371 GB, free: 9.051 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001093/0.4335, allocations: 54.38 kB / 0.5372 GB, free: 9.016 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.4335, allocations: 0 / 0.5372 GB, free: 9.016 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002001/0.4337, allocations: 103.4 kB / 0.5373 GB, free: 8.949 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.4337, allocations: 10.19 kB / 0.5373 GB, free: 8.945 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.4337, allocations: 0 / 0.5373 GB, free: 8.945 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.4338, allocations: 1.219 kB / 0.5373 GB, free: 8.945 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.85e-05/0.4339, allocations: 13.44 kB / 0.5373 GB, free: 8.945 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/0.4339, allocations: 5.391 kB / 0.5373 GB, free: 8.941 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.57e-05/0.4339, allocations: 6.312 kB / 0.5373 GB, free: 8.938 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.126e-06/0.4339, allocations: 6.062 kB / 0.5373 GB, free: 8.934 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 (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 9.59e-05/0.434, allocations: 121.8 kB / 0.5374 GB, free: 8.812 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.665e-05/0.4341, allocations: 17.5 kB / 0.5374 GB, free: 8.801 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.624e-05/0.4341, allocations: 22.11 kB / 0.5375 GB, free: 8.777 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.4341, allocations: 1.219 kB / 0.5375 GB, free: 8.777 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.4341, allocations: 0 / 0.5375 GB, free: 8.777 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.4342, allocations: 5.094 kB / 0.5375 GB, free: 8.773 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004531/0.4346, allocations: 392.8 kB / 0.5378 GB, free: 8.391 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.4346, allocations: 4.922 kB / 0.5378 GB, free: 8.387 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.183e-05/0.4347, allocations: 11.62 kB / 0.5379 GB, free: 8.383 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.4347, allocations: 1.062 kB / 0.5379 GB, free: 8.383 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.187e-05/0.4347, allocations: 9.031 kB / 0.5379 GB, free: 8.375 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.4347, allocations: 1.438 kB / 0.5379 GB, free: 8.375 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.4347, allocations: 0.9688 kB / 0.5379 GB, free: 8.375 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002327/0.4349, allocations: 200.5 kB / 0.5381 GB, free: 8.203 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.37e-05/0.435, allocations: 96.22 kB / 0.5381 GB, free: 8.094 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.269e-05/0.435, allocations: 5.25 kB / 0.5382 GB, free: 8.09 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.107e-05/0.4351, allocations: 10.34 kB / 0.5382 GB, free: 8.082 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.815e-05/0.4352, allocations: 11.14 kB / 0.5382 GB, free: 8.074 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.6e-05/0.4352, allocations: 3.406 kB / 0.5382 GB, free: 8.074 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001316/0.4353, allocations: 136 kB / 0.5383 GB, free: 7.977 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4353, allocations: 0 / 0.5383 GB, free: 7.977 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002594/0.4356, allocations: 28.67 kB / 0.5383 GB, free: 7.965 MB / 398.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.001032/0.4366, allocations: 459.6 kB / 0.5388 GB, free: 7.73 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001768/0.4368, allocations: 53.89 kB / 0.5388 GB, free: 7.711 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.4368, allocations: 0 / 0.5388 GB, free: 7.711 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.34e-05/0.4369, allocations: 29.48 kB / 0.5389 GB, free: 7.699 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003254/0.4372, allocations: 35.88 kB / 0.5389 GB, free: 7.684 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004495/0.4377, allocations: 253.2 kB / 0.5391 GB, free: 7.461 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000278/0.438, allocations: 0.7012 MB / 0.5398 GB, free: 6.754 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.69e-05/0.438, allocations: 19.55 kB / 0.5398 GB, free: 6.746 MB / 398.1 MB Notification: Performance of SimCode: time 2.8e-07/0.438, allocations: 0 / 0.5398 GB, free: 6.746 MB / 398.1 MB Notification: Performance of Templates: time 0.003645/0.4417, allocations: 1.928 MB / 0.5417 GB, free: 5.758 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test17/Test17.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches