Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001152/0.001152, allocations: 117.8 kB / 17.79 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001335/0.001335, allocations: 199.8 kB / 18.73 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.452/1.452, allocations: 227.4 MB / 246.9 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.2294/0.2294, allocations: 46.1 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001572/0.001572, allocations: 76.09 kB / 480.9 MB, free: 4.488 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4148/0.4164, allocations: 62.44 MB / 0.5306 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.003513/0.42, allocations: 1.729 MB / 0.5323 GB, free: 12.05 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001662/0.4217, allocations: 1.018 MB / 0.5333 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.814e-05/0.4218, allocations: 9.312 kB / 0.5333 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002939/0.4221, allocations: 33.47 kB / 0.5333 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002977/0.4224, allocations: 93.66 kB / 0.5334 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001848/0.4226, allocations: 82.86 kB / 0.5335 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001742/0.4228, allocations: 98.38 kB / 0.5336 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001047/0.4229, allocations: 6.875 kB / 0.5336 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.14e-05/0.423, allocations: 46.89 kB / 0.5336 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.832e-05/0.4231, allocations: 38.8 kB / 0.5337 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.69e-05/0.4231, allocations: 4.125 kB / 0.5337 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001064/0.4232, allocations: 47.42 kB / 0.5337 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.611e-05/0.4233, allocations: 25.34 kB / 0.5337 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.049e-05/0.4233, allocations: 32.05 kB / 0.5338 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001921/0.4235, allocations: 105.8 kB / 0.5339 GB, free: 10.86 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.4235, allocations: 0 / 0.5339 GB, free: 10.86 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.414e-06/0.4235, allocations: 1.25 kB / 0.5339 GB, free: 10.86 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.869e-06/0.4235, allocations: 0 / 0.5339 GB, free: 10.86 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.0005668/0.4241, allocations: 409.9 kB / 0.5343 GB, free: 10.44 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.4242, allocations: 13.94 kB / 0.5343 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.998e-05/0.4242, allocations: 31.97 kB / 0.5343 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.943e-05/0.4242, allocations: 13.8 kB / 0.5343 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002791/0.4245, allocations: 211.5 kB / 0.5345 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.513e-05/0.4246, allocations: 5.109 kB / 0.5345 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.921e-05/0.4246, allocations: 6.156 kB / 0.5345 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001507/0.4247, allocations: 54.27 kB / 0.5346 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.4248, allocations: 0 / 0.5346 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.558e-06/0.4248, allocations: 1.094 kB / 0.5346 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.099e-06/0.4248, allocations: 5.156 kB / 0.5346 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.98e-05/0.4249, allocations: 21.33 kB / 0.5346 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000366/0.4252, allocations: 294.6 kB / 0.5349 GB, free: 9.77 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001672/0.4254, allocations: 49.03 kB / 0.5349 GB, free: 9.734 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.725e-05/0.4255, allocations: 21.88 kB / 0.535 GB, free: 9.719 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.422e-05/0.4255, allocations: 9.297 kB / 0.535 GB, free: 9.711 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001538/0.4257, allocations: 68.45 kB / 0.535 GB, free: 9.645 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.262e-06/0.4257, allocations: 0 / 0.535 GB, free: 9.645 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005549/0.4262, allocations: 174.6 kB / 0.5352 GB, free: 9.543 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.854e-05/0.4263, allocations: 55.34 kB / 0.5353 GB, free: 9.477 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001728/0.4265, allocations: 173.8 kB / 0.5354 GB, free: 9.336 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.346e-05/0.4265, allocations: 29.7 kB / 0.5354 GB, free: 9.301 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.932e-05/0.4266, allocations: 100.6 kB / 0.5355 GB, free: 9.203 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.514e-05/0.4266, allocations: 28.38 kB / 0.5356 GB, free: 9.18 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.079e-05/0.4267, allocations: 19.38 kB / 0.5356 GB, free: 9.16 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001383/0.4268, allocations: 326.2 kB / 0.5359 GB, free: 8.836 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.054e-05/0.4269, allocations: 23.45 kB / 0.5359 GB, free: 8.824 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.686e-05/0.427, allocations: 35.02 kB / 0.536 GB, free: 8.797 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001215/0.4271, allocations: 63.75 kB / 0.536 GB, free: 8.754 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.4271, allocations: 0 / 0.536 GB, free: 8.754 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001839/0.4273, allocations: 95.61 kB / 0.5361 GB, free: 8.695 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.4273, allocations: 4.75 kB / 0.5361 GB, free: 8.695 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/0.4273, allocations: 5.156 kB / 0.5361 GB, free: 8.691 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.4273, allocations: 1.375 kB / 0.5361 GB, free: 8.691 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.915e-05/0.4274, allocations: 20.08 kB / 0.5361 GB, free: 8.684 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.353e-06/0.4275, allocations: 1.219 kB / 0.5361 GB, free: 8.684 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.908e-05/0.4275, allocations: 14.12 kB / 0.5362 GB, free: 8.672 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.835e-06/0.4275, allocations: 2.312 kB / 0.5362 GB, free: 8.672 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.0001148/0.4276, allocations: 122.6 kB / 0.5363 GB, free: 8.551 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.59e-05/0.4277, allocations: 13.69 kB / 0.5363 GB, free: 8.543 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.652e-05/0.4277, allocations: 20.83 kB / 0.5363 GB, free: 8.527 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.4277, allocations: 1.375 kB / 0.5363 GB, free: 8.527 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.4277, allocations: 0 / 0.5363 GB, free: 8.527 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.4278, allocations: 3.938 kB / 0.5363 GB, free: 8.523 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000424/0.4282, allocations: 389.2 kB / 0.5367 GB, free: 8.145 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.4282, allocations: 0 / 0.5367 GB, free: 8.145 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.125e-05/0.4282, allocations: 12.61 kB / 0.5367 GB, free: 8.141 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.649e-06/0.4282, allocations: 5.312 kB / 0.5367 GB, free: 8.137 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.327e-05/0.4283, allocations: 9.375 kB / 0.5367 GB, free: 8.129 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.171e-05/0.4283, allocations: 5.312 kB / 0.5367 GB, free: 8.125 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.4283, allocations: 0 / 0.5367 GB, free: 8.125 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002143/0.4285, allocations: 196.3 kB / 0.5369 GB, free: 7.957 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.497e-05/0.4286, allocations: 87.77 kB / 0.537 GB, free: 7.855 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.561e-05/0.4286, allocations: 9.297 kB / 0.537 GB, free: 7.848 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.618e-05/0.4287, allocations: 2.75 kB / 0.537 GB, free: 7.848 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.965e-05/0.4287, allocations: 2.75 kB / 0.537 GB, free: 7.848 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.739e-05/0.4287, allocations: 8.109 kB / 0.537 GB, free: 7.844 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001048/0.4288, allocations: 128.4 kB / 0.5371 GB, free: 7.746 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.443e-06/0.4289, allocations: 4 kB / 0.5371 GB, free: 7.742 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002594/0.4291, allocations: 33.12 kB / 0.5372 GB, free: 7.727 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.001641/0.4308, allocations: 1.09 MB / 0.5382 GB, free: 6.875 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002452/0.431, allocations: 58.3 kB / 0.5383 GB, free: 6.852 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.431, allocations: 0 / 0.5383 GB, free: 6.852 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.675e-05/0.4311, allocations: 30.55 kB / 0.5383 GB, free: 6.84 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003757/0.4315, allocations: 34.17 kB / 0.5383 GB, free: 6.824 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001842/0.4334, allocations: 1.599 MB / 0.5399 GB, free: 5.398 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003045/0.4337, allocations: 0.7038 MB / 0.5406 GB, free: 4.688 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.755e-05/0.4338, allocations: 22.92 kB / 0.5406 GB, free: 4.672 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.404e-05/0.4338, allocations: 34.77 kB / 0.5406 GB, free: 4.645 MB / 398.1 MB Notification: Performance of SimCode: time 2.21e-07/0.4338, allocations: 0 / 0.5406 GB, free: 4.645 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02426/0.4581, allocations: 3.364 MB / 0.5439 GB, free: 2.816 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.533/7.991, allocations: 14.3 kB / 0.5439 GB, free: 2.805 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test2_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test2.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches