Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.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.001953/0.001953, allocations: 114 kB / 20.43 MB, free: 1.457 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.002347/0.002347, allocations: 214.8 kB / 23.74 MB, free: 4.672 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.469/1.469, allocations: 230.5 MB / 257.4 MB, free: 7.969 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.2371/0.2371, allocations: 46.92 MB / 360.8 MB, free: 4.156 MB / 286.1 MB " [Timeout remaining time 180] 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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test74,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test74",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test74,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test74",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002555/0.002555, allocations: 79.84 kB / 0.4963 GB, free: 7.664 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3535/0.356, allocations: 66.09 MB / 0.5608 GB, free: 4.23 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.003586/0.3596, allocations: 1.932 MB / 0.5627 GB, free: 2.285 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002297/0.3619, allocations: 1.153 MB / 0.5638 GB, free: 1.129 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001321/0.3621, allocations: 7.938 kB / 0.5638 GB, free: 1.121 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005239/0.3626, allocations: 259.3 kB / 0.5641 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005514/0.3631, allocations: 227.2 kB / 0.5643 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003472/0.3635, allocations: 127.6 kB / 0.5644 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004233/0.3639, allocations: 275.2 kB / 0.5647 GB, free: 256 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001218/0.364, allocations: 23.78 kB / 0.5647 GB, free: 232 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000243/0.3643, allocations: 139.4 kB / 0.5648 GB, free: 92 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003154/0.3646, allocations: 207.6 kB / 0.565 GB, free: 15.88 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.048e-05/0.3646, allocations: 8 kB / 0.565 GB, free: 15.88 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001588/0.3648, allocations: 59.86 kB / 0.5651 GB, free: 15.82 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001106/0.3649, allocations: 79.62 kB / 0.5652 GB, free: 15.74 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001024/0.365, allocations: 91.23 kB / 0.5653 GB, free: 15.65 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004091/0.3654, allocations: 254.8 kB / 0.5655 GB, free: 15.4 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.3654, allocations: 0 / 0.5655 GB, free: 15.4 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.3654, allocations: 3.938 kB / 0.5655 GB, free: 15.4 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.015e-06/0.3654, allocations: 0 / 0.5655 GB, free: 15.4 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008638/0.3663, allocations: 0.5273 MB / 0.566 GB, free: 14.84 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.455e-05/0.3663, allocations: 16.02 kB / 0.566 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.288e-05/0.3664, allocations: 34.75 kB / 0.5661 GB, free: 14.78 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.802e-05/0.3664, allocations: 36.75 kB / 0.5661 GB, free: 14.75 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004425/0.3669, allocations: 236.8 kB / 0.5663 GB, free: 14.49 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.574e-05/0.3669, allocations: 384 / 0.5663 GB, free: 14.49 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.887e-05/0.3669, allocations: 12.38 kB / 0.5663 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002768/0.3672, allocations: 115.4 kB / 0.5665 GB, free: 14.35 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.495e-05/0.3672, allocations: 0 / 0.5665 GB, free: 14.35 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.289e-05/0.3672, allocations: 0 / 0.5665 GB, free: 14.35 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.814e-06/0.3672, allocations: 8 kB / 0.5665 GB, free: 14.34 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001469/0.3674, allocations: 55.88 kB / 0.5665 GB, free: 14.29 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006464/0.368, allocations: 443.9 kB / 0.5669 GB, free: 13.81 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003963/0.3684, allocations: 121.2 kB / 0.5671 GB, free: 13.67 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001008/0.3685, allocations: 41.83 kB / 0.5671 GB, free: 13.62 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.889e-05/0.3686, allocations: 4 kB / 0.5671 GB, free: 13.62 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002699/0.3688, allocations: 129.1 kB / 0.5672 GB, free: 13.48 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.463e-06/0.3688, allocations: 4 kB / 0.5672 GB, free: 13.47 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.001434/0.3703, allocations: 0.5081 MB / 0.5677 GB, free: 12.96 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.272e-05/0.3703, allocations: 81.11 kB / 0.5678 GB, free: 12.86 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005835/0.3709, allocations: 0.4899 MB / 0.5683 GB, free: 12.36 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.328e-05/0.3709, allocations: 33.7 kB / 0.5683 GB, free: 12.32 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001452/0.3711, allocations: 172.5 kB / 0.5685 GB, free: 12.14 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.234e-05/0.3712, allocations: 67.44 kB / 0.5685 GB, free: 12.07 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.989e-05/0.3712, allocations: 41.7 kB / 0.5686 GB, free: 12.03 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001936/0.3714, allocations: 350.8 kB / 0.5689 GB, free: 11.68 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001363/0.3716, allocations: 55.97 kB / 0.569 GB, free: 11.62 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001531/0.3717, allocations: 92.66 kB / 0.569 GB, free: 11.52 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002966/0.372, allocations: 171.4 kB / 0.5692 GB, free: 11.34 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.153e-06/0.372, allocations: 0 / 0.5692 GB, free: 11.34 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004358/0.3725, allocations: 233.3 kB / 0.5694 GB, free: 11.11 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.3725, allocations: 4 kB / 0.5694 GB, free: 11.1 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.276e-06/0.3725, allocations: 3.938 kB / 0.5694 GB, free: 11.1 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.915e-05/0.3725, allocations: 4.062 kB / 0.5694 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001535/0.3727, allocations: 47.91 kB / 0.5695 GB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/0.3727, allocations: 4 kB / 0.5695 GB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.667e-05/0.3727, allocations: 8 kB / 0.5695 GB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.654e-05/0.3728, allocations: 9.172 kB / 0.5695 GB, free: 11.03 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0002153/0.373, allocations: 178.2 kB / 0.5697 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.822e-05/0.373, allocations: 39.75 kB / 0.5697 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005534/0.3736, allocations: 272.2 kB / 0.57 GB, free: 10.53 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.3736, allocations: 4 kB / 0.57 GB, free: 10.53 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.147e-06/0.3736, allocations: 7.984 kB / 0.57 GB, free: 10.52 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/0.3736, allocations: 4 kB / 0.57 GB, free: 10.52 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009941/0.3746, allocations: 0.7145 MB / 0.5707 GB, free: 9.738 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.3746, allocations: 4.125 kB / 0.5707 GB, free: 9.734 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.999e-05/0.3747, allocations: 31.92 kB / 0.5707 GB, free: 9.703 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.25e-06/0.3747, allocations: 4 kB / 0.5707 GB, free: 9.699 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.684e-05/0.3747, allocations: 8 kB / 0.5707 GB, free: 9.691 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.719e-06/0.3747, allocations: 3.984 kB / 0.5707 GB, free: 9.688 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.3747, allocations: 4 kB / 0.5707 GB, free: 9.684 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005201/0.3752, allocations: 425.8 kB / 0.5712 GB, free: 9.238 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.664e-05/0.3753, allocations: 27.81 kB / 0.5712 GB, free: 9.211 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.641e-05/0.3753, allocations: 11.98 kB / 0.5712 GB, free: 9.199 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001441/0.3755, allocations: 8 kB / 0.5712 GB, free: 9.191 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.412e-05/0.3755, allocations: 27.84 kB / 0.5712 GB, free: 9.164 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.009e-05/0.3756, allocations: 12 kB / 0.5712 GB, free: 9.152 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003982/0.376, allocations: 383 kB / 0.5716 GB, free: 8.781 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.376, allocations: 0 / 0.5716 GB, free: 8.781 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003692/0.3763, allocations: 47.94 kB / 0.5716 GB, free: 8.734 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002783/0.3791, allocations: 1.349 MB / 0.573 GB, free: 7.535 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003744/0.3795, allocations: 155.7 kB / 0.5731 GB, free: 7.383 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.3795, allocations: 4.125 kB / 0.5731 GB, free: 7.379 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001607/0.3797, allocations: 75.78 kB / 0.5732 GB, free: 7.305 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005741/0.3802, allocations: 64.44 kB / 0.5733 GB, free: 7.246 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003981/0.3842, allocations: 3.003 MB / 0.5762 GB, free: 4.117 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004961/0.3847, allocations: 0.787 MB / 0.577 GB, free: 3.305 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001255/0.3848, allocations: 37.92 kB / 0.577 GB, free: 3.27 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001536/0.385, allocations: 99.41 kB / 0.5771 GB, free: 3.172 MB / 414.1 MB Notification: Performance of SimCode: time 4.81e-07/0.385, allocations: 0 / 0.5771 GB, free: 3.172 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03558/0.4206, allocations: 6.914 MB / 0.5838 GB, free: 12.3 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.47/11.89, allocations: 6.125 kB / 0.5838 GB, free: 12.29 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test74_fmu --startTime=0 --stopTime=15 --stepSize=0.0029988 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test74.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test74/Test74.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.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: 14.945750831160694]