Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.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.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24") translateModel(ModelicaTest.Tables.CombiTimeTable.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00107/0.00107, allocations: 117.7 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001178/0.001178, allocations: 204.8 kB / 19.4 MB, free: 3.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.485/1.485, allocations: 227.4 MB / 247.6 MB, free: 10.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2403/0.2403, allocations: 46.11 MB / 345 MB, free: 11.45 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001594/0.001594, allocations: 83.88 kB / 482.1 MB, free: 3.934 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4162/0.4178, allocations: 62.44 MB / 0.5318 GB, free: 13.58 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test24): time 0.003285/0.4211, allocations: 1.722 MB / 0.5334 GB, free: 12.23 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001817/0.4229, allocations: 1.018 MB / 0.5344 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.511e-05/0.423, allocations: 5.375 kB / 0.5344 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003121/0.4234, allocations: 44.12 kB / 0.5345 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003179/0.4237, allocations: 96.47 kB / 0.5346 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002045/0.4239, allocations: 82.91 kB / 0.5346 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001769/0.4241, allocations: 98.33 kB / 0.5347 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001086/0.4242, allocations: 17.48 kB / 0.5348 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.233e-05/0.4243, allocations: 40.3 kB / 0.5348 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.876e-05/0.4244, allocations: 38.72 kB / 0.5348 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.65e-05/0.4244, allocations: 4.125 kB / 0.5348 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.796e-05/0.4245, allocations: 39.48 kB / 0.5349 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.971e-05/0.4246, allocations: 24.16 kB / 0.5349 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.815e-05/0.4247, allocations: 43.97 kB / 0.5349 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002071/0.4249, allocations: 123.4 kB / 0.5351 GB, free: 11.03 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.4249, allocations: 0 / 0.5351 GB, free: 11.03 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.4249, allocations: 3.938 kB / 0.5351 GB, free: 11.02 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.542e-06/0.4249, allocations: 0 / 0.5351 GB, free: 11.02 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.0005481/0.4255, allocations: 424.3 kB / 0.5355 GB, free: 10.59 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.4255, allocations: 9.281 kB / 0.5355 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.578e-05/0.4256, allocations: 13.97 kB / 0.5355 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003067/0.4259, allocations: 221.5 kB / 0.5357 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.279e-05/0.4259, allocations: 1.5 kB / 0.5357 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.341e-05/0.4259, allocations: 6.562 kB / 0.5357 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001546/0.4261, allocations: 57.84 kB / 0.5358 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.4261, allocations: 4 kB / 0.5358 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.126e-05/0.4261, allocations: 1.25 kB / 0.5358 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.4261, allocations: 0 / 0.5358 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.037e-05/0.4262, allocations: 22.95 kB / 0.5358 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003729/0.4266, allocations: 287.3 kB / 0.5361 GB, free: 9.969 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001794/0.4268, allocations: 53.77 kB / 0.5361 GB, free: 9.93 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.401e-05/0.4269, allocations: 21.86 kB / 0.5361 GB, free: 9.914 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.325e-05/0.4269, allocations: 5.062 kB / 0.5361 GB, free: 9.91 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001444/0.427, allocations: 66.08 kB / 0.5362 GB, free: 9.848 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.372e-06/0.4271, allocations: 3.938 kB / 0.5362 GB, free: 9.844 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005437/0.4276, allocations: 178.4 kB / 0.5364 GB, free: 9.738 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.274e-05/0.4277, allocations: 52.5 kB / 0.5364 GB, free: 9.676 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002055/0.4279, allocations: 211.7 kB / 0.5366 GB, free: 9.523 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.701e-05/0.4279, allocations: 26.83 kB / 0.5367 GB, free: 9.492 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.216e-05/0.428, allocations: 101.4 kB / 0.5367 GB, free: 9.395 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.418e-05/0.428, allocations: 32 kB / 0.5368 GB, free: 9.367 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.396e-05/0.4281, allocations: 20.44 kB / 0.5368 GB, free: 9.348 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001246/0.4282, allocations: 334.2 kB / 0.5371 GB, free: 9.016 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.644e-05/0.4283, allocations: 15.25 kB / 0.5371 GB, free: 9.012 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.861e-05/0.4284, allocations: 39.52 kB / 0.5372 GB, free: 8.98 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001276/0.4285, allocations: 67.48 kB / 0.5372 GB, free: 8.934 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.4285, allocations: 0 / 0.5372 GB, free: 8.934 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001987/0.4287, allocations: 104 kB / 0.5373 GB, free: 8.867 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.4287, allocations: 5.531 kB / 0.5373 GB, free: 8.867 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.4287, allocations: 0 / 0.5373 GB, free: 8.867 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.4288, allocations: 0.9688 kB / 0.5373 GB, free: 8.867 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.794e-05/0.4289, allocations: 25.3 kB / 0.5374 GB, free: 8.855 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.481e-06/0.4289, allocations: 1.594 kB / 0.5374 GB, free: 8.855 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.576e-05/0.4289, allocations: 6.469 kB / 0.5374 GB, free: 8.852 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.086e-06/0.4289, allocations: 6.375 kB / 0.5374 GB, free: 8.848 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 0.0001103/0.429, allocations: 127.5 kB / 0.5375 GB, free: 8.723 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.402e-05/0.4291, allocations: 10.5 kB / 0.5375 GB, free: 8.719 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.075e-05/0.4291, allocations: 19.08 kB / 0.5375 GB, free: 8.699 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.4291, allocations: 1.188 kB / 0.5375 GB, free: 8.699 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.4292, allocations: 0 / 0.5375 GB, free: 8.699 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.4292, allocations: 11.88 kB / 0.5375 GB, free: 8.688 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004477/0.4296, allocations: 391.6 kB / 0.5379 GB, free: 8.309 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.306e-05/0.4296, allocations: 4.734 kB / 0.5379 GB, free: 8.305 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.38e-05/0.4297, allocations: 11.81 kB / 0.5379 GB, free: 8.301 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.4297, allocations: 1.5 kB / 0.5379 GB, free: 8.301 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.263e-05/0.4297, allocations: 5.438 kB / 0.5379 GB, free: 8.297 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.4297, allocations: 1.344 kB / 0.5379 GB, free: 8.297 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.4297, allocations: 0 / 0.5379 GB, free: 8.297 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002382/0.43, allocations: 205.4 kB / 0.5381 GB, free: 8.121 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.322e-05/0.43, allocations: 95.36 kB / 0.5382 GB, free: 8.012 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.72e-05/0.4301, allocations: 10.47 kB / 0.5382 GB, free: 8.004 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.625e-05/0.4301, allocations: 1.219 kB / 0.5382 GB, free: 8.004 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.99e-05/0.4302, allocations: 11.98 kB / 0.5382 GB, free: 7.996 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.687e-05/0.4302, allocations: 2.75 kB / 0.5382 GB, free: 7.996 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001527/0.4304, allocations: 167.6 kB / 0.5384 GB, free: 7.879 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4304, allocations: 0 / 0.5384 GB, free: 7.879 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002593/0.4306, allocations: 20.62 kB / 0.5384 GB, free: 7.875 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.001149/0.4318, allocations: 454.4 kB / 0.5389 GB, free: 7.645 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002081/0.432, allocations: 70.42 kB / 0.5389 GB, free: 7.609 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.432, allocations: 0 / 0.5389 GB, free: 7.609 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.62e-05/0.4321, allocations: 25.23 kB / 0.539 GB, free: 7.602 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003483/0.4325, allocations: 32.17 kB / 0.539 GB, free: 7.586 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005344/0.433, allocations: 273.4 kB / 0.5392 GB, free: 7.363 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003211/0.4333, allocations: 0.7112 MB / 0.5399 GB, free: 6.648 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.709e-05/0.4334, allocations: 15.5 kB / 0.54 GB, free: 6.645 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4334, allocations: 0 / 0.54 GB, free: 6.645 MB / 398.1 MB Notification: Performance of Templates: time 0.004025/0.4374, allocations: 1.982 MB / 0.5419 GB, free: 5.621 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test24/Test24.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches