Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.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.0008873/0.0008873, allocations: 96.27 kB / 20.96 MB, free: 3.477 MB / 18.57 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.001073/0.001073, allocations: 152.9 kB / 24.26 MB, free: 180 kB / 18.57 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 0.936/0.936, allocations: 177 MB / 204.5 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 179] 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.2572/0.2572, allocations: 34.25 MB / 295.2 MB, free: 0.668 MB / 266.7 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.Test80,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test80",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test80,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test80",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.023e-06/2.023e-06, allocations: 0 / 376.8 MB, free: 3.34 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.486e-05/2.688e-05, allocations: 2.312 kB / 376.8 MB, free: 3.336 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.003471/0.003498, allocations: 1.786 MB / 378.6 MB, free: 1.535 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001838/0.005335, allocations: 1.757 MB / 380.3 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001006/0.005436, allocations: 4 kB / 380.3 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003066/0.005742, allocations: 55.62 kB / 380.4 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004045/0.006147, allocations: 147.2 kB / 380.5 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002306/0.006377, allocations: 107.6 kB / 380.6 MB, free: 15.46 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002223/0.0066, allocations: 207.2 kB / 380.8 MB, free: 15.26 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.575e-05/0.006645, allocations: 9.812 kB / 380.9 MB, free: 15.25 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001248/0.00677, allocations: 107.7 kB / 381 MB, free: 15.14 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001247/0.006895, allocations: 63.8 kB / 381 MB, free: 15.08 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.496e-05/0.00692, allocations: 12 kB / 381 MB, free: 15.07 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001601/0.00708, allocations: 107.8 kB / 381.1 MB, free: 14.96 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.872e-05/0.007149, allocations: 47.83 kB / 381.2 MB, free: 14.91 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.081e-05/0.007199, allocations: 39.84 kB / 381.2 MB, free: 14.88 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002967/0.007496, allocations: 231.2 kB / 381.5 MB, free: 14.65 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.007499, allocations: 0 / 381.5 MB, free: 14.65 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.007501, allocations: 0 / 381.5 MB, free: 14.65 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.54e-06/0.007506, allocations: 3.938 kB / 381.5 MB, free: 14.64 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005311/0.008038, allocations: 424.9 kB / 381.9 MB, free: 14.2 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.008078, allocations: 12.03 kB / 381.9 MB, free: 14.19 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.334e-05/0.008111, allocations: 38.73 kB / 381.9 MB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.119e-05/0.008172, allocations: 24.8 kB / 381.9 MB, free: 14.12 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002929/0.008465, allocations: 193.4 kB / 382.1 MB, free: 13.9 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.404e-05/0.008479, allocations: 4.375 kB / 382.1 MB, free: 13.9 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.306e-05/0.008492, allocations: 4.359 kB / 382.1 MB, free: 13.89 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002014/0.008694, allocations: 157 kB / 382.3 MB, free: 13.71 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.308e-06/0.008703, allocations: 192 / 382.3 MB, free: 13.71 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.677e-05/0.00872, allocations: 8.125 kB / 382.3 MB, free: 13.7 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.008725, allocations: 0 / 382.3 MB, free: 13.7 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.38e-05/0.008799, allocations: 39.91 kB / 382.3 MB, free: 13.66 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002069/0.009006, allocations: 173.7 kB / 382.5 MB, free: 13.45 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001878/0.009194, allocations: 105.2 kB / 382.6 MB, free: 13.33 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.043e-05/0.009254, allocations: 41.7 kB / 382.7 MB, free: 13.28 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.68e-05/0.009271, allocations: 7.938 kB / 382.7 MB, free: 13.27 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001634/0.009435, allocations: 113.1 kB / 382.8 MB, free: 13.14 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 1.012e-06/0.009436, allocations: 0 / 382.8 MB, free: 13.14 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003066/0.009742, allocations: 177.4 kB / 382.9 MB, free: 12.96 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.512e-05/0.009797, allocations: 140.5 kB / 383.1 MB, free: 12.8 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001915/0.009989, allocations: 248.1 kB / 383.3 MB, free: 12.54 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.487e-05/0.01, allocations: 29.7 kB / 383.4 MB, free: 12.51 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.987e-05/0.01005, allocations: 116.1 kB / 383.5 MB, free: 12.39 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.267e-05/0.01009, allocations: 27.78 kB / 383.5 MB, free: 12.36 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.346e-05/0.01013, allocations: 41.58 kB / 383.5 MB, free: 12.32 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.417e-05/0.01021, allocations: 326.8 kB / 383.9 MB, free: 11.99 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.415e-05/0.01028, allocations: 27.98 kB / 383.9 MB, free: 11.96 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002333/0.01051, allocations: 124.5 kB / 384 MB, free: 11.81 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001279/0.01064, allocations: 95.38 kB / 384.1 MB, free: 11.7 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.075e-06/0.01064, allocations: 0 / 384.1 MB, free: 11.7 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000236/0.01088, allocations: 150 kB / 384.2 MB, free: 11.55 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.01089, allocations: 4 kB / 384.2 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/0.0109, allocations: 7.938 kB / 384.3 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.01092, allocations: 0 / 384.3 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.282e-05/0.01101, allocations: 31.92 kB / 384.3 MB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.533e-06/0.01102, allocations: 4.125 kB / 384.3 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.123e-05/0.0111, allocations: 11.94 kB / 384.3 MB, free: 11.49 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.295e-06/0.01111, allocations: 4 kB / 384.3 MB, free: 11.49 MB / 362.7 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_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (14): * Single equations (assignments): 14 * 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.0001008/0.01121, allocations: 129.8 kB / 384.4 MB, free: 11.35 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.702e-05/0.01124, allocations: 27.86 kB / 384.5 MB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002446/0.01149, allocations: 170.6 kB / 384.6 MB, free: 11.15 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.01149, allocations: 0 / 384.6 MB, free: 11.15 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.0115, allocations: 4 kB / 384.6 MB, free: 11.15 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.0115, allocations: 0 / 384.6 MB, free: 11.15 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001341/0.01164, allocations: 184.7 kB / 384.8 MB, free: 10.93 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.01164, allocations: 7.969 kB / 384.8 MB, free: 10.92 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.607e-05/0.01167, allocations: 11.94 kB / 384.8 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.01167, allocations: 4 kB / 384.8 MB, free: 10.9 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.247e-06/0.01168, allocations: 3.938 kB / 384.8 MB, free: 10.9 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.01168, allocations: 4 kB / 384.8 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.01168, allocations: 0 / 384.8 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001866/0.01187, allocations: 193.7 kB / 385 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.826e-05/0.0119, allocations: 23.83 kB / 385.1 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.494e-05/0.01192, allocations: 7.938 kB / 385.1 MB, free: 10.65 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.291e-05/0.01196, allocations: 8 kB / 385.1 MB, free: 10.64 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.273e-05/0.01201, allocations: 7.984 kB / 385.1 MB, free: 10.64 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.839e-05/0.01203, allocations: 15.98 kB / 385.1 MB, free: 10.62 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001264/0.01215, allocations: 181.8 kB / 385.3 MB, free: 10.45 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.01215, allocations: 0 / 385.3 MB, free: 10.45 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002225/0.01237, allocations: 55.92 kB / 385.3 MB, free: 10.39 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,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 (12): * Single equations (assignments): 8 * 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.00126/0.01363, allocations: 1.146 MB / 386.5 MB, free: 9.391 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002059/0.01384, allocations: 95.77 kB / 386.6 MB, free: 9.297 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.01384, allocations: 4.125 kB / 386.6 MB, free: 9.293 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.419e-05/0.01391, allocations: 35.98 kB / 386.6 MB, free: 9.258 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002595/0.01417, allocations: 69.39 kB / 386.7 MB, free: 9.199 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001695/0.01586, allocations: 1.923 MB / 388.6 MB, free: 7.168 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.558e-05/0.01595, allocations: 111.6 kB / 388.7 MB, free: 7.043 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.34e-05/0.01604, allocations: 37.95 kB / 388.7 MB, free: 7.004 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.728e-05/0.01613, allocations: 56.47 kB / 388.8 MB, free: 6.949 MB / 362.7 MB Notification: Performance of SimCode: time 6.71e-07/0.01613, allocations: 0 / 388.8 MB, free: 6.949 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02359/0.03972, allocations: 6.454 MB / 395.3 MB, free: 500 kB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.962/7.002, allocations: 14.44 kB / 395.3 MB, free: 496 kB / 362.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000799201 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test80.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test80/Test80.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.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: 9.045371141284704]