Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Utilities.TestInternal,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Utilities_TestInternal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Utilities.TestInternal,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Utilities_TestInternal",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.001104/0.001104, allocations: 96.14 kB / 15.87 MB, free: 16 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001273/0.001273, allocations: 206.4 kB / 16.79 MB, free: 6.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.279/1.279, allocations: 205.1 MB / 222.6 MB, free: 4.785 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2972/0.2972, allocations: 43.5 MB / 313.5 MB, free: 8.52 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001605/0.001605, allocations: 74.56 kB / 382.1 MB, free: 8.641 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1132/0.1148, allocations: 57.78 MB / 439.9 MB, free: 14.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestInternal): time 0.0016/0.1164, allocations: 0.5425 MB / 440.5 MB, free: 14.22 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005869/0.117, allocations: 258.6 kB / 440.7 MB, free: 13.97 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.158e-05/0.117, allocations: 0 / 440.7 MB, free: 13.97 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.509e-05/0.1171, allocations: 0 / 440.7 MB, free: 13.97 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.964e-06/0.1171, allocations: 0 / 440.7 MB, free: 13.97 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002622/0.1173, allocations: 39.91 kB / 440.7 MB, free: 13.93 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 3.594e-05/0.1174, allocations: 11.98 kB / 440.8 MB, free: 13.92 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.805e-05/0.1174, allocations: 0 / 440.8 MB, free: 13.92 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.703e-05/0.1175, allocations: 3.984 kB / 440.8 MB, free: 13.91 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.226e-05/0.1175, allocations: 4 kB / 440.8 MB, free: 13.91 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.027e-06/0.1175, allocations: 3.938 kB / 440.8 MB, free: 13.91 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001154/0.1176, allocations: 55.95 kB / 440.8 MB, free: 13.85 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.981e-06/0.1176, allocations: 0 / 440.8 MB, free: 13.85 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.188e-05/0.1177, allocations: 7.938 kB / 440.8 MB, free: 13.84 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001156/0.1178, allocations: 55.92 kB / 440.9 MB, free: 13.79 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.1178, allocations: 0 / 440.9 MB, free: 13.79 MB / 382.1 MB Notification: Performance of FrontEnd: time 8.62e-07/0.1178, allocations: 0 / 440.9 MB, free: 13.79 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.556e-06/0.1178, allocations: 4 kB / 440.9 MB, free: 13.79 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003063/0.1181, allocations: 357.3 kB / 441.2 MB, free: 13.38 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.1182, allocations: 8.031 kB / 441.2 MB, free: 13.37 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.053e-05/0.1182, allocations: 34.75 kB / 441.3 MB, free: 13.33 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.371e-05/0.1182, allocations: 4.844 kB / 441.3 MB, free: 13.32 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.388e-05/0.1183, allocations: 160.4 kB / 441.4 MB, free: 13.13 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.778e-06/0.1183, allocations: 4.312 kB / 441.4 MB, free: 13.12 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.065e-06/0.1183, allocations: 4.375 kB / 441.4 MB, free: 13.12 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.735e-05/0.1184, allocations: 34.25 kB / 441.5 MB, free: 13.08 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.663e-06/0.1184, allocations: 3.938 kB / 441.5 MB, free: 13.08 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.662e-06/0.1185, allocations: 0 / 441.5 MB, free: 13.08 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.653e-06/0.1185, allocations: 4 kB / 441.5 MB, free: 13.07 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.601e-05/0.1185, allocations: 3.938 kB / 441.5 MB, free: 13.07 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001246/0.1186, allocations: 141.7 kB / 441.6 MB, free: 12.88 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.835e-05/0.1187, allocations: 22.61 kB / 441.7 MB, free: 12.85 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.581e-05/0.1187, allocations: 12.84 kB / 441.7 MB, free: 12.84 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.242e-06/0.1187, allocations: 11.92 kB / 441.7 MB, free: 12.82 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.924e-05/0.1188, allocations: 56.27 kB / 441.7 MB, free: 12.75 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.1188, allocations: 0 / 441.7 MB, free: 12.75 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001653/0.1189, allocations: 67.34 kB / 441.8 MB, free: 12.68 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.671e-05/0.119, allocations: 81.11 kB / 441.9 MB, free: 12.58 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.134e-05/0.119, allocations: 97.84 kB / 442 MB, free: 12.47 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.344e-05/0.1191, allocations: 25.7 kB / 442 MB, free: 12.44 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.906e-05/0.1191, allocations: 80.27 kB / 442.1 MB, free: 12.36 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.651e-05/0.1191, allocations: 4 kB / 442.1 MB, free: 12.36 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.575e-05/0.1191, allocations: 13.72 kB / 442.1 MB, free: 12.34 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001355/0.1193, allocations: 310.8 kB / 442.4 MB, free: 12.02 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.247e-06/0.1193, allocations: 0 / 442.4 MB, free: 12.02 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.05e-06/0.1193, allocations: 0 / 442.4 MB, free: 12.02 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.805e-05/0.1194, allocations: 64.27 kB / 442.5 MB, free: 11.95 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.1194, allocations: 0 / 442.5 MB, free: 11.95 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.286e-05/0.1194, allocations: 71.39 kB / 442.5 MB, free: 11.86 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.027e-05/0.1195, allocations: 29.7 kB / 442.6 MB, free: 11.83 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.1195, allocations: 3.938 kB / 442.6 MB, free: 11.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.1195, allocations: 0 / 442.6 MB, free: 11.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.91e-07/0.1195, allocations: 4 kB / 442.6 MB, free: 11.82 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.02e-06/0.1195, allocations: 0 / 442.6 MB, free: 11.82 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.771e-05/0.1196, allocations: 288 / 442.6 MB, free: 11.82 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.304e-06/0.1196, allocations: 0 / 442.6 MB, free: 11.82 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 7.974e-05/0.1197, allocations: 143.5 kB / 442.7 MB, free: 11.66 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.054e-06/0.1197, allocations: 4.031 kB / 442.7 MB, free: 11.66 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.316e-05/0.1197, allocations: 11.06 kB / 442.7 MB, free: 11.65 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.92e-07/0.1197, allocations: 3.938 kB / 442.7 MB, free: 11.64 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.1197, allocations: 0 / 442.7 MB, free: 11.64 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.804e-06/0.1197, allocations: 0 / 442.7 MB, free: 11.64 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001028/0.1198, allocations: 149.6 kB / 442.9 MB, free: 11.45 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.1198, allocations: 3.984 kB / 442.9 MB, free: 11.45 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.41e-07/0.1198, allocations: 0 / 442.9 MB, free: 11.45 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.72e-07/0.1198, allocations: 0 / 442.9 MB, free: 11.45 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.886e-06/0.1198, allocations: 3.938 kB / 442.9 MB, free: 11.44 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.12e-07/0.1198, allocations: 0 / 442.9 MB, free: 11.44 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.1199, allocations: 4 kB / 442.9 MB, free: 11.44 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.76e-05/0.12, allocations: 94.77 kB / 443 MB, free: 11.32 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.089e-05/0.12, allocations: 77.11 kB / 443.1 MB, free: 11.23 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.456e-05/0.12, allocations: 7.938 kB / 443.1 MB, free: 11.22 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.126e-06/0.12, allocations: 0 / 443.1 MB, free: 11.22 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.291e-05/0.12, allocations: 0 / 443.1 MB, free: 11.22 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.355e-06/0.12, allocations: 0 / 443.1 MB, free: 11.22 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.543e-05/0.1201, allocations: 83.25 kB / 443.1 MB, free: 11.14 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1201, allocations: 0 / 443.1 MB, free: 11.14 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002429/0.1203, allocations: 27.98 kB / 443.2 MB, free: 11.11 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 Backend phase and start with SimCode phase: time 0.0007384/0.1211, allocations: 0.802 MB / 444 MB, free: 10.3 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 8.618e-05/0.1212, allocations: 59.41 kB / 444 MB, free: 10.23 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.1212, allocations: 0 / 444 MB, free: 10.23 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.98e-05/0.1212, allocations: 55.41 kB / 444.1 MB, free: 10.16 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001197/0.1214, allocations: 0 / 444.1 MB, free: 10.16 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000276/0.1216, allocations: 124.5 kB / 444.2 MB, free: 9.996 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002514/0.1219, allocations: 0.6731 MB / 444.9 MB, free: 9.297 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.551e-06/0.1219, allocations: 0 / 444.9 MB, free: 9.297 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.026e-05/0.1219, allocations: 7.438 kB / 444.9 MB, free: 9.289 MB / 382.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1219, allocations: 0 / 444.9 MB, free: 9.289 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3221/0.444, allocations: 1.487 MB / 446.4 MB, free: 7.793 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002461/0.4443, allocations: 221.4 kB / 446.6 MB, free: 7.543 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.577/2.021, allocations: 3.938 kB / 446.6 MB, free: 7.539 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Utilities_TestInternal_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Utilities_TestInternal.fmu > ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Utilities/TestInternal/TestInternal.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches