Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test50,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test50",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test50,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test50",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001394/0.001394, allocations: 114.4 kB / 17.78 MB, free: 5.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001693/0.001693, allocations: 187.8 kB / 18.71 MB, free: 4.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.328/1.328, allocations: 222.9 MB / 242.4 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2083/0.2083, allocations: 44.17 MB / 336.7 MB, free: 2.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001301, allocations: 67.89 kB / 470.1 MB, free: 13.59 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3486/0.3499, allocations: 60.81 MB / 0.5185 GB, free: 3.312 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.002671/0.3526, allocations: 1.717 MB / 0.5202 GB, free: 2.117 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001752/0.3544, allocations: 1.48 MB / 0.5216 GB, free: 1.07 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.414e-05/0.3545, allocations: 1.344 kB / 0.5216 GB, free: 1.07 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002632/0.3548, allocations: 40.67 kB / 0.5217 GB, free: 1.047 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000199/0.355, allocations: 58.45 kB / 0.5217 GB, free: 1.012 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002654/0.3553, allocations: 109.8 kB / 0.5218 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001558/0.3554, allocations: 110 kB / 0.5219 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.517e-05/0.3555, allocations: 8.078 kB / 0.5219 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.502e-05/0.3556, allocations: 43.22 kB / 0.522 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001304/0.3557, allocations: 49.58 kB / 0.522 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.886e-05/0.3558, allocations: 4.531 kB / 0.522 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001168/0.3559, allocations: 63.36 kB / 0.5221 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.591e-05/0.3559, allocations: 20.95 kB / 0.5221 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.823e-05/0.356, allocations: 34.42 kB / 0.5221 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002296/0.3562, allocations: 133.4 kB / 0.5223 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.3562, allocations: 1.062 kB / 0.5223 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.3562, allocations: 0 / 0.5223 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.252e-06/0.3563, allocations: 0 / 0.5223 GB, free: 0.7461 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004794/0.3567, allocations: 416.9 kB / 0.5227 GB, free: 344 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.29e-05/0.3568, allocations: 9.625 kB / 0.5227 GB, free: 344 kB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.102e-05/0.3568, allocations: 38.64 kB / 0.5227 GB, free: 300 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.933e-05/0.3569, allocations: 8.031 kB / 0.5227 GB, free: 296 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002569/0.3571, allocations: 214.5 kB / 0.5229 GB, free: 72 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.014e-05/0.3572, allocations: 1.312 kB / 0.5229 GB, free: 72 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.329e-05/0.3572, allocations: 7.969 kB / 0.5229 GB, free: 68 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001733/0.3574, allocations: 79.27 kB / 0.523 GB, free: 4 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.3574, allocations: 0 / 0.523 GB, free: 4 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.144e-05/0.3574, allocations: 1.281 kB / 0.523 GB, free: 4 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.3574, allocations: 0.6094 kB / 0.523 GB, free: 4 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.699e-05/0.3575, allocations: 25.86 kB / 0.523 GB, free: 0 / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000384/0.3579, allocations: 299 kB / 0.5233 GB, free: 15.7 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001998/0.3581, allocations: 76.48 kB / 0.5234 GB, free: 15.65 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.518e-05/0.3582, allocations: 22.64 kB / 0.5234 GB, free: 15.64 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.311e-05/0.3583, allocations: 1.5 kB / 0.5234 GB, free: 15.64 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000165/0.3584, allocations: 77.77 kB / 0.5235 GB, free: 15.58 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.482e-06/0.3584, allocations: 0 / 0.5235 GB, free: 15.58 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006121/0.3591, allocations: 200.8 kB / 0.5237 GB, free: 15.48 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.831e-05/0.3591, allocations: 82.67 kB / 0.5238 GB, free: 15.38 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001591/0.3593, allocations: 155.2 kB / 0.5239 GB, free: 15.27 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.3593, allocations: 30.83 kB / 0.5239 GB, free: 15.23 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.433e-05/0.3594, allocations: 98.25 kB / 0.524 GB, free: 15.14 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.608e-05/0.3594, allocations: 30.73 kB / 0.5241 GB, free: 15.11 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.653e-05/0.3595, allocations: 27.12 kB / 0.5241 GB, free: 15.09 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001004/0.3596, allocations: 322 kB / 0.5244 GB, free: 14.77 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.151e-05/0.3596, allocations: 23.88 kB / 0.5244 GB, free: 14.77 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.977e-05/0.3597, allocations: 44.12 kB / 0.5245 GB, free: 14.73 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001381/0.3599, allocations: 80.58 kB / 0.5245 GB, free: 14.68 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.3599, allocations: 0 / 0.5245 GB, free: 14.68 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002068/0.3601, allocations: 108.5 kB / 0.5246 GB, free: 14.62 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.3601, allocations: 5.531 kB / 0.5247 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-06/0.3601, allocations: 6.062 kB / 0.5247 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.123e-05/0.3602, allocations: 0 / 0.5247 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.449e-05/0.3603, allocations: 21.47 kB / 0.5247 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.3603, allocations: 2.25 kB / 0.5247 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.632e-05/0.3603, allocations: 2.281 kB / 0.5247 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.869e-06/0.3603, allocations: 10.84 kB / 0.5247 GB, free: 14.61 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 (11): * Single equations (assignments): 11 * 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 9.372e-05/0.3604, allocations: 128.2 kB / 0.5248 GB, free: 14.49 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.674e-05/0.3605, allocations: 13.44 kB / 0.5248 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.415e-05/0.3605, allocations: 18.94 kB / 0.5248 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.3605, allocations: 1.906 kB / 0.5248 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.3605, allocations: 3.938 kB / 0.5248 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.566e-06/0.3605, allocations: 0.7031 kB / 0.5249 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004661/0.361, allocations: 423.1 kB / 0.5253 GB, free: 14.09 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.361, allocations: 0 / 0.5253 GB, free: 14.09 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.687e-05/0.3611, allocations: 12.23 kB / 0.5253 GB, free: 14.09 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.3611, allocations: 0 / 0.5253 GB, free: 14.09 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.251e-05/0.3611, allocations: 7.016 kB / 0.5253 GB, free: 14.09 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.3611, allocations: 2.969 kB / 0.5253 GB, free: 14.09 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3611, allocations: 0 / 0.5253 GB, free: 14.09 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002443/0.3614, allocations: 220.4 kB / 0.5255 GB, free: 13.91 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.784e-05/0.3614, allocations: 85.66 kB / 0.5256 GB, free: 13.82 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.528e-05/0.3614, allocations: 4.703 kB / 0.5256 GB, free: 13.81 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.33e-05/0.3615, allocations: 4.203 kB / 0.5256 GB, free: 13.81 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.316e-05/0.3615, allocations: 6.578 kB / 0.5256 GB, free: 13.81 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.466e-05/0.3616, allocations: 3.984 kB / 0.5256 GB, free: 13.81 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.532e-05/0.3617, allocations: 126.1 kB / 0.5257 GB, free: 13.72 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3617, allocations: 0 / 0.5257 GB, free: 13.72 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002737/0.362, allocations: 32.39 kB / 0.5257 GB, free: 13.71 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 (9): * Single equations (assignments): 7 * 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.001518/0.3635, allocations: 1.142 MB / 0.5269 GB, free: 12.88 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001976/0.3637, allocations: 67.95 kB / 0.5269 GB, free: 12.86 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.3637, allocations: 0 / 0.5269 GB, free: 12.86 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.921e-05/0.3638, allocations: 36.7 kB / 0.527 GB, free: 12.85 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003522/0.3642, allocations: 37.81 kB / 0.527 GB, free: 12.83 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001763/0.3659, allocations: 1.617 MB / 0.5286 GB, free: 11.46 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002771/0.3662, allocations: 0.7059 MB / 0.5293 GB, free: 10.76 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.068e-05/0.3663, allocations: 25.75 kB / 0.5293 GB, free: 10.75 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.403e-05/0.3664, allocations: 35.27 kB / 0.5293 GB, free: 10.73 MB / 398.1 MB Notification: Performance of SimCode: time 2.8e-07/0.3664, allocations: 0 / 0.5293 GB, free: 10.73 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02141/0.3878, allocations: 3.762 MB / 0.533 GB, free: 8.969 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.762/8.15, allocations: 12.84 kB / 0.533 GB, free: 8.957 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test50_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test50.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches