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.0006849/0.0006849, allocations: 96.94 kB / 16.02 MB, free: 84 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.001347/0.001347, allocations: 181.7 kB / 16.91 MB, free: 6.914 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.407/1.407, allocations: 205.4 MB / 223.1 MB, free: 5.504 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.35/0.35, allocations: 43.57 MB / 315 MB, free: 8.793 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.0005504/0.0005504, allocations: 16 kB / 384.7 MB, free: 7.539 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1173/0.1179, allocations: 58.85 MB / 443.5 MB, free: 12.58 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestInternal): time 0.0005814/0.1185, allocations: 224.4 kB / 443.7 MB, free: 12.36 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000614/0.1192, allocations: 250.7 kB / 444 MB, free: 12.12 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.447e-06/0.1192, allocations: 4 kB / 444 MB, free: 12.12 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.523e-05/0.1192, allocations: 0 / 444 MB, free: 12.12 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.99e-06/0.1192, allocations: 0 / 444 MB, free: 12.12 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002537/0.1195, allocations: 39.89 kB / 444 MB, free: 12.08 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.386e-05/0.1195, allocations: 4 kB / 444 MB, free: 12.07 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.798e-05/0.1196, allocations: 0 / 444 MB, free: 12.07 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.306e-05/0.1196, allocations: 3.984 kB / 444 MB, free: 12.07 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.384e-05/0.1197, allocations: 0 / 444 MB, free: 12.07 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.402e-05/0.1197, allocations: 0 / 444 MB, free: 12.07 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001371/0.1198, allocations: 67.89 kB / 444.1 MB, free: 12 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.284e-06/0.1198, allocations: 0 / 444.1 MB, free: 12 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.543e-05/0.1199, allocations: 33.64 kB / 444.1 MB, free: 11.96 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001291/0.12, allocations: 55.92 kB / 444.2 MB, free: 11.91 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.12, allocations: 0 / 444.2 MB, free: 11.91 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.255e-06/0.12, allocations: 0 / 444.2 MB, free: 11.91 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.478e-06/0.12, allocations: 0 / 444.2 MB, free: 11.91 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.000318/0.1204, allocations: 357.3 kB / 444.5 MB, free: 11.5 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.1204, allocations: 8.031 kB / 444.6 MB, free: 11.5 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.127e-05/0.1205, allocations: 30.75 kB / 444.6 MB, free: 11.46 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.38e-05/0.1205, allocations: 8.844 kB / 444.6 MB, free: 11.45 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.864e-05/0.1206, allocations: 160.4 kB / 444.7 MB, free: 11.25 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.934e-06/0.1206, allocations: 8.375 kB / 444.8 MB, free: 11.25 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.456e-05/0.1206, allocations: 4.359 kB / 444.8 MB, free: 11.24 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.36e-05/0.1207, allocations: 30.2 kB / 444.8 MB, free: 11.21 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.1207, allocations: 7.938 kB / 444.8 MB, free: 11.2 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.184e-06/0.1207, allocations: 0 / 444.8 MB, free: 11.2 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.1208, allocations: 0 / 444.8 MB, free: 11.2 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.281e-05/0.1208, allocations: 3.938 kB / 444.8 MB, free: 11.2 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001327/0.1209, allocations: 145.7 kB / 444.9 MB, free: 11 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.297e-05/0.121, allocations: 26.59 kB / 445 MB, free: 10.97 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.933e-05/0.121, allocations: 4.859 kB / 445 MB, free: 10.96 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.566e-06/0.121, allocations: 0 / 445 MB, free: 10.96 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.795e-05/0.1211, allocations: 60.33 kB / 445 MB, free: 10.89 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 7.41e-07/0.1211, allocations: 0 / 445 MB, free: 10.89 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001731/0.1212, allocations: 71.28 kB / 445.1 MB, free: 10.8 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.427e-05/0.1213, allocations: 81.09 kB / 445.2 MB, free: 10.71 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.678e-05/0.1214, allocations: 97.92 kB / 445.3 MB, free: 10.6 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.346e-05/0.1214, allocations: 25.7 kB / 445.3 MB, free: 10.57 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.615e-05/0.1214, allocations: 80.14 kB / 445.4 MB, free: 10.49 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.141e-05/0.1214, allocations: 0 / 445.4 MB, free: 10.49 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.344e-05/0.1215, allocations: 9.719 kB / 445.4 MB, free: 10.47 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001207/0.1216, allocations: 314.8 kB / 445.7 MB, free: 10.16 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.134e-06/0.1216, allocations: 0 / 445.7 MB, free: 10.16 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.378e-06/0.1216, allocations: 0 / 445.7 MB, free: 10.16 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.633e-05/0.1217, allocations: 68.33 kB / 445.8 MB, free: 10.07 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.1217, allocations: 0 / 445.8 MB, free: 10.07 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.444e-05/0.1218, allocations: 67.33 kB / 445.8 MB, free: 9.996 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.981e-05/0.1218, allocations: 29.7 kB / 445.9 MB, free: 9.961 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.1218, allocations: 3.938 kB / 445.9 MB, free: 9.957 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.136e-05/0.1218, allocations: 0 / 445.9 MB, free: 9.957 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.31e-07/0.1218, allocations: 0 / 445.9 MB, free: 9.957 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.102e-06/0.1218, allocations: 4 kB / 445.9 MB, free: 9.953 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.612e-05/0.1219, allocations: 288 / 445.9 MB, free: 9.953 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.424e-06/0.1219, allocations: 0 / 445.9 MB, free: 9.953 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 9.745e-05/0.122, allocations: 143.6 kB / 446 MB, free: 9.797 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.652e-06/0.122, allocations: 4 kB / 446 MB, free: 9.793 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.261e-05/0.122, allocations: 7.062 kB / 446 MB, free: 9.785 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/0.122, allocations: 3.984 kB / 446 MB, free: 9.781 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.122, allocations: 0 / 446 MB, free: 9.781 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.122, allocations: 3.938 kB / 446 MB, free: 9.777 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.909e-05/0.1221, allocations: 153.6 kB / 446.2 MB, free: 9.578 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.32e-07/0.1221, allocations: 0 / 446.2 MB, free: 9.578 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.41e-07/0.1221, allocations: 0 / 446.2 MB, free: 9.578 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.102e-06/0.1222, allocations: 4 kB / 446.2 MB, free: 9.574 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.474e-06/0.1222, allocations: 3.938 kB / 446.2 MB, free: 9.57 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.21e-07/0.1222, allocations: 0 / 446.2 MB, free: 9.57 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.1222, allocations: 0 / 446.2 MB, free: 9.57 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.964e-05/0.1223, allocations: 94.77 kB / 446.3 MB, free: 9.453 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.683e-05/0.1223, allocations: 77.11 kB / 446.4 MB, free: 9.359 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.306e-05/0.1223, allocations: 3.938 kB / 446.4 MB, free: 9.355 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.187e-05/0.1224, allocations: 8.031 kB / 446.4 MB, free: 9.348 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.656e-05/0.1224, allocations: 4 kB / 446.4 MB, free: 9.344 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.264e-06/0.1224, allocations: 0 / 446.4 MB, free: 9.344 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.906e-05/0.1224, allocations: 75.28 kB / 446.4 MB, free: 9.27 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1224, allocations: 0 / 446.4 MB, free: 9.27 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002434/0.1227, allocations: 27.98 kB / 446.5 MB, free: 9.242 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.0007475/0.1234, allocations: 0.8025 MB / 447.3 MB, free: 8.426 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 7.834e-05/0.1235, allocations: 59.41 kB / 447.3 MB, free: 8.355 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.1235, allocations: 0 / 447.3 MB, free: 8.355 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.052e-05/0.1236, allocations: 55.41 kB / 447.4 MB, free: 8.289 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000117/0.1237, allocations: 4.125 kB / 447.4 MB, free: 8.285 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002729/0.124, allocations: 116.3 kB / 447.5 MB, free: 8.129 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000229/0.1242, allocations: 0.6731 MB / 448.2 MB, free: 7.43 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.252e-06/0.1242, allocations: 4 kB / 448.2 MB, free: 7.426 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.919e-06/0.1243, allocations: 7.438 kB / 448.2 MB, free: 7.422 MB / 382.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1243, allocations: 0 / 448.2 MB, free: 7.422 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04169/0.166, allocations: 1.404 MB / 449.6 MB, free: 6.035 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002401/0.1662, allocations: 231.8 kB / 449.8 MB, free: 5.777 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.062/2.229, allocations: 0 / 449.8 MB, free: 5.777 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