Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.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.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3") translateModel(ModelicaTest.Tables.CombiTimeTable.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001046/0.001046, allocations: 122.8 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001298/0.001298, allocations: 202 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.465/1.465, allocations: 227.4 MB / 246.9 MB, free: 10.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.23/0.23, allocations: 46.1 MB / 344.3 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001334/0.001334, allocations: 75.89 kB / 481.4 MB, free: 3.953 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4101/0.4114, allocations: 62.44 MB / 0.5311 GB, free: 13.58 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test3): time 0.003444/0.4149, allocations: 1.729 MB / 0.5328 GB, free: 12.23 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002177/0.4171, allocations: 1.017 MB / 0.5338 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.421e-05/0.4172, allocations: 5.031 kB / 0.5338 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003212/0.4176, allocations: 37.17 kB / 0.5338 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000339/0.4179, allocations: 98.28 kB / 0.5339 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002205/0.4182, allocations: 71.38 kB / 0.534 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001894/0.4184, allocations: 108.9 kB / 0.5341 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001048/0.4185, allocations: 14.84 kB / 0.5341 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001082/0.4186, allocations: 40.3 kB / 0.5341 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.872e-05/0.4187, allocations: 37.41 kB / 0.5341 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.732e-05/0.4187, allocations: 8.125 kB / 0.5342 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001126/0.4188, allocations: 40.86 kB / 0.5342 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.292e-05/0.4189, allocations: 21.36 kB / 0.5342 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.295e-05/0.419, allocations: 34.66 kB / 0.5342 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002254/0.4192, allocations: 108.8 kB / 0.5344 GB, free: 11.04 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.4192, allocations: 3.984 kB / 0.5344 GB, free: 11.04 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.4192, allocations: 0 / 0.5344 GB, free: 11.04 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.45e-06/0.4192, allocations: 0 / 0.5344 GB, free: 11.04 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.0005694/0.4198, allocations: 408.3 kB / 0.5347 GB, free: 10.62 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.4199, allocations: 13.62 kB / 0.5348 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.875e-05/0.4199, allocations: 10.34 kB / 0.5348 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003157/0.4203, allocations: 214.4 kB / 0.535 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.169e-05/0.4203, allocations: 1.75 kB / 0.535 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.205e-05/0.4203, allocations: 9.5 kB / 0.535 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001522/0.4205, allocations: 54.05 kB / 0.535 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.4205, allocations: 5.359 kB / 0.535 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.4205, allocations: 0 / 0.535 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.4205, allocations: 1.375 kB / 0.535 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.061e-05/0.4206, allocations: 21.61 kB / 0.5351 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000353/0.421, allocations: 289.4 kB / 0.5353 GB, free: 9.996 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001695/0.4211, allocations: 57.88 kB / 0.5354 GB, free: 9.953 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.87e-05/0.4212, allocations: 22.47 kB / 0.5354 GB, free: 9.938 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.049e-05/0.4212, allocations: 0 / 0.5354 GB, free: 9.938 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001494/0.4214, allocations: 70.05 kB / 0.5355 GB, free: 9.871 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 3.256e-06/0.4214, allocations: 0 / 0.5355 GB, free: 9.871 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005883/0.422, allocations: 176.8 kB / 0.5357 GB, free: 9.766 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.638e-05/0.4221, allocations: 52.44 kB / 0.5357 GB, free: 9.703 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002085/0.4223, allocations: 173.4 kB / 0.5359 GB, free: 9.562 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.966e-05/0.4223, allocations: 31.3 kB / 0.5359 GB, free: 9.527 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.739e-05/0.4224, allocations: 104 kB / 0.536 GB, free: 9.426 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.528e-05/0.4224, allocations: 19.28 kB / 0.536 GB, free: 9.41 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.428e-05/0.4225, allocations: 24.95 kB / 0.536 GB, free: 9.387 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001205/0.4226, allocations: 325.3 kB / 0.5363 GB, free: 9.062 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.345e-05/0.4227, allocations: 18.56 kB / 0.5364 GB, free: 9.055 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.095e-05/0.4227, allocations: 35.83 kB / 0.5364 GB, free: 9.027 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001244/0.4229, allocations: 59.36 kB / 0.5365 GB, free: 8.988 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.4229, allocations: 0 / 0.5365 GB, free: 8.988 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002089/0.4231, allocations: 111 kB / 0.5366 GB, free: 8.914 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.4231, allocations: 5.844 kB / 0.5366 GB, free: 8.914 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.4231, allocations: 0 / 0.5366 GB, free: 8.914 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.4232, allocations: 1.188 kB / 0.5366 GB, free: 8.914 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.745e-05/0.4233, allocations: 17.22 kB / 0.5366 GB, free: 8.91 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.4233, allocations: 1.219 kB / 0.5366 GB, free: 8.91 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.658e-05/0.4233, allocations: 10.17 kB / 0.5366 GB, free: 8.902 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.715e-06/0.4233, allocations: 6.188 kB / 0.5366 GB, free: 8.898 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.0001018/0.4234, allocations: 124.8 kB / 0.5367 GB, free: 8.773 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.478e-05/0.4235, allocations: 13.62 kB / 0.5367 GB, free: 8.766 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.143e-05/0.4235, allocations: 17.55 kB / 0.5368 GB, free: 8.754 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.4235, allocations: 1.125 kB / 0.5368 GB, free: 8.754 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.4235, allocations: 0 / 0.5368 GB, free: 8.754 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.4235, allocations: 3.938 kB / 0.5368 GB, free: 8.75 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004537/0.424, allocations: 396.9 kB / 0.5371 GB, free: 8.363 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.424, allocations: 1.156 kB / 0.5371 GB, free: 8.363 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.409e-05/0.4241, allocations: 10.77 kB / 0.5371 GB, free: 8.359 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.4241, allocations: 1.156 kB / 0.5371 GB, free: 8.359 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.17e-05/0.4241, allocations: 6.188 kB / 0.5372 GB, free: 8.355 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.4241, allocations: 1.438 kB / 0.5372 GB, free: 8.355 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.4241, allocations: 0 / 0.5372 GB, free: 8.355 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00024/0.4243, allocations: 212.5 kB / 0.5374 GB, free: 8.172 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.41e-05/0.4244, allocations: 83.3 kB / 0.5374 GB, free: 8.074 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.369e-05/0.4244, allocations: 6.281 kB / 0.5374 GB, free: 8.07 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.035e-05/0.4245, allocations: 9.234 kB / 0.5375 GB, free: 8.062 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.424e-05/0.4245, allocations: 3.562 kB / 0.5375 GB, free: 8.062 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.629e-05/0.4246, allocations: 3.656 kB / 0.5375 GB, free: 8.062 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001143/0.4247, allocations: 133.6 kB / 0.5376 GB, free: 7.961 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4247, allocations: 0 / 0.5376 GB, free: 7.961 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002601/0.425, allocations: 21.09 kB / 0.5376 GB, free: 7.957 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.00104/0.426, allocations: 470 kB / 0.5381 GB, free: 7.715 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001987/0.4262, allocations: 58.47 kB / 0.5381 GB, free: 7.691 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.4262, allocations: 4.062 kB / 0.5381 GB, free: 7.688 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.474e-05/0.4263, allocations: 30.2 kB / 0.5381 GB, free: 7.676 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003346/0.4267, allocations: 31.23 kB / 0.5382 GB, free: 7.66 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004623/0.4271, allocations: 200.7 kB / 0.5384 GB, free: 7.492 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002781/0.4274, allocations: 0.7038 MB / 0.5391 GB, free: 6.781 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.374e-05/0.4275, allocations: 14.25 kB / 0.5391 GB, free: 6.773 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.091e-05/0.4275, allocations: 15.97 kB / 0.5391 GB, free: 6.766 MB / 398.1 MB Notification: Performance of SimCode: time 2.61e-07/0.4275, allocations: 0 / 0.5391 GB, free: 6.766 MB / 398.1 MB Notification: Performance of Templates: time 0.005349/0.4329, allocations: 1.755 MB / 0.5408 GB, free: 5.867 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test3/Test3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches