Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001712/0.001712, allocations: 105.4 kB / 19.8 MB, free: 2.516 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002064/0.002064, allocations: 213.4 kB / 23 MB, free: 5.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.604/1.604, allocations: 230.2 MB / 256.2 MB, free: 8.543 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2569/0.2569, allocations: 46.92 MB / 359.4 MB, free: 4.855 MB / 286.1 MB " [Timeout remaining time 179] 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.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16") translateModel(ModelicaTest.Tables.CombiTimeTable.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002355/0.002355, allocations: 83.86 kB / 0.4947 GB, free: 8.359 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4108/0.4131, allocations: 65.99 MB / 0.5592 GB, free: 5.004 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test16): time 0.003991/0.4171, allocations: 1.739 MB / 0.5609 GB, free: 3.254 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002146/0.4193, allocations: 1.045 MB / 0.5619 GB, free: 2.203 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.07e-05/0.4193, allocations: 4 kB / 0.5619 GB, free: 2.199 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003632/0.4197, allocations: 39.77 kB / 0.5619 GB, free: 2.16 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003734/0.4201, allocations: 99.55 kB / 0.562 GB, free: 2.062 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002249/0.4203, allocations: 83.59 kB / 0.5621 GB, free: 1.98 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002206/0.4205, allocations: 99.75 kB / 0.5622 GB, free: 1.883 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001181/0.4206, allocations: 4 kB / 0.5622 GB, free: 1.879 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001177/0.4208, allocations: 51.77 kB / 0.5623 GB, free: 1.828 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.793e-05/0.4209, allocations: 27.8 kB / 0.5623 GB, free: 1.801 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.907e-05/0.4209, allocations: 4 kB / 0.5623 GB, free: 1.797 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000114/0.421, allocations: 43.97 kB / 0.5623 GB, free: 1.754 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.569e-05/0.4211, allocations: 27.86 kB / 0.5624 GB, free: 1.727 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.106e-05/0.4211, allocations: 31.75 kB / 0.5624 GB, free: 1.695 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002752/0.4214, allocations: 117.9 kB / 0.5625 GB, free: 1.586 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.4214, allocations: 4 kB / 0.5625 GB, free: 1.582 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.4214, allocations: 0 / 0.5625 GB, free: 1.582 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.875e-06/0.4214, allocations: 0 / 0.5625 GB, free: 1.582 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.0007595/0.4222, allocations: 421.5 kB / 0.5629 GB, free: 1.125 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/0.4222, allocations: 8.031 kB / 0.5629 GB, free: 1.117 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.249e-05/0.4223, allocations: 20.78 kB / 0.5629 GB, free: 1.098 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003727/0.4226, allocations: 216.1 kB / 0.5631 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.092e-05/0.4227, allocations: 384 / 0.5631 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.118e-05/0.4227, allocations: 12.31 kB / 0.5631 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001802/0.4229, allocations: 57.98 kB / 0.5632 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.856e-05/0.4229, allocations: 3.984 kB / 0.5632 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.557e-05/0.4229, allocations: 3.984 kB / 0.5632 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.116e-06/0.4229, allocations: 4 kB / 0.5632 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.938e-05/0.423, allocations: 12 kB / 0.5632 GB, free: 0.75 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000492/0.4235, allocations: 284.9 kB / 0.5635 GB, free: 432 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001922/0.4237, allocations: 62.62 kB / 0.5636 GB, free: 360 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.7e-05/0.4237, allocations: 20.84 kB / 0.5636 GB, free: 336 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.941e-05/0.4238, allocations: 0 / 0.5636 GB, free: 336 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001706/0.4239, allocations: 67.39 kB / 0.5636 GB, free: 256 kB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.172e-06/0.4239, allocations: 0 / 0.5636 GB, free: 256 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.000624/0.4246, allocations: 177.3 kB / 0.5638 GB, free: 72 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.486e-05/0.4246, allocations: 55.39 kB / 0.5639 GB, free: 4 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002256/0.4248, allocations: 183.3 kB / 0.564 GB, free: 15.81 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.595e-05/0.4249, allocations: 25.7 kB / 0.5641 GB, free: 15.78 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.167e-05/0.425, allocations: 104 kB / 0.5642 GB, free: 15.68 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.855e-05/0.425, allocations: 23.84 kB / 0.5642 GB, free: 15.65 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.059e-05/0.4251, allocations: 25.72 kB / 0.5642 GB, free: 15.62 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001636/0.4252, allocations: 326.8 kB / 0.5645 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.276e-05/0.4253, allocations: 23.98 kB / 0.5645 GB, free: 15.27 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.506e-05/0.4254, allocations: 37.7 kB / 0.5646 GB, free: 15.23 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001189/0.4255, allocations: 57.7 kB / 0.5646 GB, free: 15.16 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.4255, allocations: 0 / 0.5646 GB, free: 15.16 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002032/0.4257, allocations: 105.6 kB / 0.5647 GB, free: 15.05 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.4257, allocations: 4 kB / 0.5647 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.4257, allocations: 4.109 kB / 0.5647 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.4257, allocations: 0 / 0.5647 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.864e-05/0.4258, allocations: 23.92 kB / 0.5648 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.714e-06/0.4258, allocations: 3.984 kB / 0.5648 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.191e-05/0.4259, allocations: 384 / 0.5648 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.055e-05/0.4259, allocations: 4 kB / 0.5648 GB, free: 15.02 MB / 414.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.0001222/0.426, allocations: 129.8 kB / 0.5649 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.595e-05/0.426, allocations: 12.14 kB / 0.5649 GB, free: 14.87 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002858/0.4263, allocations: 127 kB / 0.565 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.4263, allocations: 3.938 kB / 0.565 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.4263, allocations: 7.875 kB / 0.565 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.4263, allocations: 0 / 0.565 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004965/0.4268, allocations: 387.3 kB / 0.5654 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.4268, allocations: 0 / 0.5654 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.77e-05/0.4269, allocations: 19.92 kB / 0.5654 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.4269, allocations: 0 / 0.5654 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.648e-06/0.4269, allocations: 4.031 kB / 0.5654 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.4269, allocations: 7.938 kB / 0.5654 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.4269, allocations: 0 / 0.5654 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002637/0.4271, allocations: 196.3 kB / 0.5656 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.348e-05/0.4272, allocations: 89.02 kB / 0.5657 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.263e-05/0.4272, allocations: 0 / 0.5657 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.303e-05/0.4273, allocations: 11.92 kB / 0.5657 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.4e-05/0.4273, allocations: 7.938 kB / 0.5657 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.628e-05/0.4274, allocations: 8 kB / 0.5657 GB, free: 13.91 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001431/0.4275, allocations: 140.9 kB / 0.5659 GB, free: 13.77 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4275, allocations: 0 / 0.5659 GB, free: 13.77 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002593/0.4278, allocations: 23.94 kB / 0.5659 GB, free: 13.75 MB / 414.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.001794/0.4296, allocations: 459.5 kB / 0.5663 GB, free: 13.45 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002245/0.4298, allocations: 55.91 kB / 0.5664 GB, free: 13.4 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.4298, allocations: 0 / 0.5664 GB, free: 13.4 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.054e-05/0.4299, allocations: 27.98 kB / 0.5664 GB, free: 13.37 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003725/0.4302, allocations: 27.91 kB / 0.5664 GB, free: 13.34 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005632/0.4308, allocations: 243.1 kB / 0.5667 GB, free: 13.07 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000402/0.4312, allocations: 0.7119 MB / 0.5674 GB, free: 12.33 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.96e-05/0.4313, allocations: 12.88 kB / 0.5674 GB, free: 12.32 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.057e-05/0.4313, allocations: 15.44 kB / 0.5674 GB, free: 12.31 MB / 414.1 MB Notification: Performance of SimCode: time 4.41e-07/0.4313, allocations: 4 kB / 0.5674 GB, free: 12.3 MB / 414.1 MB Notification: Performance of Templates: time 0.005334/0.4366, allocations: 1.755 MB / 0.5691 GB, free: 10.57 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test16/Test16.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.455733822658658]