Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.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.Test87,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test87",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test87,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test87",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001848/0.001848, allocations: 118.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002138/0.002138, allocations: 198 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.405/1.405, allocations: 227.4 MB / 247 MB, free: 10.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2159/0.2159, allocations: 46.12 MB / 344.3 MB, free: 11.45 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002173/0.002173, allocations: 83.86 kB / 481 MB, free: 4.402 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.285/0.2872, allocations: 62.44 MB / 0.5307 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test87): time 0.003544/0.2908, allocations: 2.289 MB / 0.5329 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002212/0.293, allocations: 1.311 MB / 0.5342 GB, free: 10.55 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000118/0.2931, allocations: 8.125 kB / 0.5342 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003742/0.2935, allocations: 140.8 kB / 0.5344 GB, free: 10.45 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005039/0.294, allocations: 251.8 kB / 0.5346 GB, free: 10.28 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003494/0.2944, allocations: 187.5 kB / 0.5348 GB, free: 10.14 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004901/0.2949, allocations: 464.8 kB / 0.5352 GB, free: 9.867 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001506/0.2951, allocations: 63.52 kB / 0.5353 GB, free: 9.832 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003305/0.2954, allocations: 296.5 kB / 0.5356 GB, free: 9.691 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002053/0.2956, allocations: 166.5 kB / 0.5357 GB, free: 9.586 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.506e-05/0.2957, allocations: 16.69 kB / 0.5357 GB, free: 9.586 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001577/0.2958, allocations: 71.36 kB / 0.5358 GB, free: 9.566 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001639/0.296, allocations: 154.8 kB / 0.5359 GB, free: 9.477 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001923/0.2962, allocations: 204.3 kB / 0.5361 GB, free: 9.316 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005939/0.2968, allocations: 480.7 kB / 0.5366 GB, free: 9.008 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.2968, allocations: 1.406 kB / 0.5366 GB, free: 9.008 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.2968, allocations: 0 / 0.5366 GB, free: 9.008 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.197e-06/0.2968, allocations: 4 kB / 0.5366 GB, free: 9.004 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001303/0.2982, allocations: 0.9182 MB / 0.5375 GB, free: 8.191 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/0.2982, allocations: 9.5 kB / 0.5375 GB, free: 8.191 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.044e-05/0.2983, allocations: 52.11 kB / 0.5376 GB, free: 8.137 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001104/0.2984, allocations: 71.41 kB / 0.5376 GB, free: 8.098 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006477/0.299, allocations: 446.8 kB / 0.5381 GB, free: 7.703 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.353e-05/0.2991, allocations: 19.19 kB / 0.5381 GB, free: 7.691 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.654e-05/0.2991, allocations: 25.03 kB / 0.5381 GB, free: 7.676 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003944/0.2995, allocations: 193.5 kB / 0.5383 GB, free: 7.531 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.725e-05/0.2996, allocations: 0.9375 kB / 0.5383 GB, free: 7.531 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.282e-05/0.2996, allocations: 10.17 kB / 0.5383 GB, free: 7.523 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.662e-06/0.2996, allocations: 3.781 kB / 0.5383 GB, free: 7.523 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000252/0.2999, allocations: 93.59 kB / 0.5384 GB, free: 7.48 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009739/0.3008, allocations: 0.824 MB / 0.5392 GB, free: 6.73 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006359/0.3015, allocations: 248.5 kB / 0.5394 GB, free: 6.555 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000202/0.3017, allocations: 97.73 kB / 0.5395 GB, free: 6.484 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.822e-05/0.3017, allocations: 3.844 kB / 0.5395 GB, free: 6.484 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000367/0.3021, allocations: 207.3 kB / 0.5397 GB, free: 6.32 MB / 398.1 MB Notification: Performance of pre-optimization done (n=28): time 1.563e-06/0.3021, allocations: 0 / 0.5397 GB, free: 6.32 MB / 398.1 MB Notification: Performance of matching and sorting (n=44): time 0.00268/0.3048, allocations: 1.197 MB / 0.5409 GB, free: 5.629 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.992e-05/0.3049, allocations: 146.3 kB / 0.541 GB, free: 5.461 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001129/0.3061, allocations: 0.9642 MB / 0.542 GB, free: 4.992 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.564e-05/0.3061, allocations: 37.98 kB / 0.542 GB, free: 4.953 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002322/0.3063, allocations: 262.2 kB / 0.5423 GB, free: 4.727 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001352/0.3065, allocations: 151.1 kB / 0.5424 GB, free: 4.598 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001209/0.3066, allocations: 83.47 kB / 0.5425 GB, free: 4.539 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001571/0.3068, allocations: 325.4 kB / 0.5428 GB, free: 4.219 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002341/0.307, allocations: 108 kB / 0.5429 GB, free: 4.172 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000294/0.3073, allocations: 187.5 kB / 0.5431 GB, free: 4.039 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005407/0.3079, allocations: 317.5 kB / 0.5434 GB, free: 3.84 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.3079, allocations: 4 kB / 0.5434 GB, free: 3.836 MB / 398.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007534/0.3086, allocations: 445.5 kB / 0.5438 GB, free: 3.617 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.3087, allocations: 9.281 kB / 0.5438 GB, free: 3.613 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.832e-06/0.3087, allocations: 5.438 kB / 0.5438 GB, free: 3.609 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.736e-05/0.3087, allocations: 4.188 kB / 0.5438 GB, free: 3.609 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002691/0.309, allocations: 84.97 kB / 0.5439 GB, free: 3.594 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.2e-05/0.309, allocations: 16.33 kB / 0.5439 GB, free: 3.582 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001541/0.3092, allocations: 15.75 kB / 0.5439 GB, free: 3.574 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.916e-05/0.3092, allocations: 21.08 kB / 0.544 GB, free: 3.566 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.t_new.nextTimeEvent,$whenCondition4,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition3,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new_3.nextTimeEvent,$whenCondition2,t_new_3.nextTimeEventScaled,$PRE.t_new_3.nextTimeEventScaled,t_new_3.nextTimeEvent,$PRE.t_new_4.nextTimeEvent,$whenCondition1,t_new_4.nextTimeEventScaled,$PRE.t_new_4.nextTimeEventScaled,t_new_4.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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.0002721/0.3095, allocations: 253.1 kB / 0.5442 GB, free: 3.391 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001148/0.3096, allocations: 81.83 kB / 0.5443 GB, free: 3.344 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001594/0.3098, allocations: 93.42 kB / 0.5444 GB, free: 3.277 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.061e-06/0.3098, allocations: 4 kB / 0.5444 GB, free: 3.273 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.429e-05/0.3098, allocations: 7.938 kB / 0.5444 GB, free: 3.266 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.887e-06/0.3098, allocations: 3.984 kB / 0.5444 GB, free: 3.262 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001802/0.3116, allocations: 1.334 MB / 0.5457 GB, free: 1.844 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.3116, allocations: 0 / 0.5457 GB, free: 1.844 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001637/0.3118, allocations: 63.91 kB / 0.5457 GB, free: 1.781 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.081e-06/0.3118, allocations: 4 kB / 0.5457 GB, free: 1.777 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.763e-05/0.3119, allocations: 16.23 kB / 0.5458 GB, free: 1.762 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.421e-06/0.3119, allocations: 12 kB / 0.5458 GB, free: 1.75 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.3119, allocations: 3.938 kB / 0.5458 GB, free: 1.746 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009446/0.3128, allocations: 0.7978 MB / 0.5466 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001997/0.313, allocations: 188.5 kB / 0.5467 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.043e-05/0.3131, allocations: 16 kB / 0.5468 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002742/0.3134, allocations: 20.36 kB / 0.5468 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.744e-05/0.3135, allocations: 43.83 kB / 0.5468 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.207e-05/0.3135, allocations: 20 kB / 0.5468 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0008034/0.3143, allocations: 0.7021 MB / 0.5475 GB, free: 15.91 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.3143, allocations: 3.938 kB / 0.5475 GB, free: 15.9 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005288/0.3149, allocations: 91.92 kB / 0.5476 GB, free: 15.81 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled,$whenCondition2,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,$whenCondition3,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition4,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 8 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.003054/0.3179, allocations: 1.762 MB / 0.5493 GB, free: 14.19 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006334/0.3186, allocations: 327.5 kB / 0.5496 GB, free: 13.87 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.3186, allocations: 0 / 0.5496 GB, free: 13.87 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003137/0.3189, allocations: 163.6 kB / 0.5498 GB, free: 13.71 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009554/0.3199, allocations: 128.7 kB / 0.5499 GB, free: 13.59 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006459/0.3264, allocations: 5.128 MB / 0.5549 GB, free: 8.273 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005885/0.327, allocations: 0.9133 MB / 0.5558 GB, free: 7.332 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002102/0.3272, allocations: 88.03 kB / 0.5559 GB, free: 7.242 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002843/0.3275, allocations: 211.3 kB / 0.5561 GB, free: 7.035 MB / 414.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3275, allocations: 0 / 0.5561 GB, free: 7.035 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03455/0.362, allocations: 11.5 MB / 0.5673 GB, free: 11.65 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.508/8.87, allocations: 0.8906 kB / 0.5673 GB, free: 11.65 MB / 430.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87_res.csv --start-time 0 --stop-time 11 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0044 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test87.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test87/Test87.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches