Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestInternal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Utilities.TestInternal,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Utilities_TestInternal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Utilities.TestInternal,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Utilities_TestInternal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001032/0.001032, allocations: 175.1 kB / 16.72 MB, free: 5.055 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.212/1.212, allocations: 205.4 MB / 222.9 MB, free: 9.023 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007396/0.0007397, allocations: 86.34 kB / 271.2 MB, free: 8.246 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2841/0.2841, allocations: 43.55 MB / 363.1 MB, free: 51.92 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003322/0.0003323, allocations: 12 kB / 432.1 MB, free: 5.508 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09574/0.09609, allocations: 58.85 MB / 490.9 MB, free: 10.57 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestInternal): time 0.000617/0.09676, allocations: 216.5 kB / 491.1 MB, free: 10.36 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.000558/0.09734, allocations: 233 kB / 491.4 MB, free: 10.13 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.742e-05/0.09738, allocations: 0 / 491.4 MB, free: 10.13 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.18e-05/0.0974, allocations: 0 / 491.4 MB, free: 10.13 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 6.502e-06/0.09741, allocations: 0 / 491.4 MB, free: 10.13 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002885/0.09771, allocations: 39.89 kB / 491.4 MB, free: 10.09 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 3.841e-05/0.09776, allocations: 4 kB / 491.4 MB, free: 10.09 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.872e-05/0.09782, allocations: 4 kB / 491.4 MB, free: 10.09 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.951e-05/0.09785, allocations: 7.922 kB / 491.4 MB, free: 10.08 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.694e-05/0.09788, allocations: 0 / 491.4 MB, free: 10.08 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 8.406e-06/0.09789, allocations: 0 / 491.4 MB, free: 10.08 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001436/0.09804, allocations: 59.95 kB / 491.5 MB, free: 10.02 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.214e-06/0.09806, allocations: 0 / 491.5 MB, free: 10.02 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.918e-05/0.09809, allocations: 29.64 kB / 491.5 MB, free: 9.984 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 9.283e-05/0.09819, allocations: 39.89 kB / 491.5 MB, free: 9.945 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.0982, allocations: 0 / 491.5 MB, free: 9.945 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.09821, allocations: 0 / 491.5 MB, free: 9.945 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.621e-06/0.09822, allocations: 4 kB / 491.5 MB, free: 9.941 MB / 378.7 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.0003002/0.09853, allocations: 353.3 kB / 491.9 MB, free: 9.539 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/0.09857, allocations: 8.031 kB / 491.9 MB, free: 9.531 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.342e-05/0.09861, allocations: 30.75 kB / 491.9 MB, free: 9.492 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.467e-05/0.09864, allocations: 4.844 kB / 491.9 MB, free: 9.488 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.892e-05/0.09874, allocations: 168.4 kB / 492.1 MB, free: 9.285 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.198e-05/0.09876, allocations: 384 / 492.1 MB, free: 9.285 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.087e-06/0.09877, allocations: 4.375 kB / 492.1 MB, free: 9.281 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.007e-05/0.09886, allocations: 26.27 kB / 492.1 MB, free: 9.25 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.09888, allocations: 7.938 kB / 492.1 MB, free: 9.242 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.344e-06/0.09889, allocations: 0 / 492.1 MB, free: 9.242 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.0989, allocations: 4 kB / 492.1 MB, free: 9.238 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.039e-05/0.09893, allocations: 3.938 kB / 492.1 MB, free: 9.234 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001348/0.09907, allocations: 149.7 kB / 492.3 MB, free: 9.039 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.735e-05/0.09911, allocations: 19.78 kB / 492.3 MB, free: 9.012 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.299e-05/0.09913, allocations: 4.859 kB / 492.3 MB, free: 9.004 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.364e-06/0.09914, allocations: 0 / 492.3 MB, free: 9.004 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.092e-05/0.09919, allocations: 60.27 kB / 492.4 MB, free: 8.93 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 9.72e-07/0.0992, allocations: 0 / 492.4 MB, free: 8.93 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001896/0.09939, allocations: 75.33 kB / 492.4 MB, free: 8.844 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.15e-05/0.09944, allocations: 81.11 kB / 492.5 MB, free: 8.746 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.472e-05/0.09949, allocations: 89.86 kB / 492.6 MB, free: 8.648 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.687e-05/0.09951, allocations: 25.7 kB / 492.6 MB, free: 8.617 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.548e-05/0.09954, allocations: 88.06 kB / 492.7 MB, free: 8.527 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.726e-05/0.09956, allocations: 4.125 kB / 492.7 MB, free: 8.523 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.365e-06/0.09957, allocations: 0 / 492.7 MB, free: 8.523 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.496e-05/0.09967, allocations: 310.8 kB / 493 MB, free: 8.211 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.684e-06/0.09968, allocations: 0 / 493 MB, free: 8.211 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.703e-06/0.0997, allocations: 8 kB / 493 MB, free: 8.203 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.864e-05/0.09975, allocations: 64.25 kB / 493.1 MB, free: 8.125 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.09976, allocations: 0 / 493.1 MB, free: 8.125 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.914e-05/0.09983, allocations: 59.34 kB / 493.2 MB, free: 8.055 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.621e-05/0.09988, allocations: 37.8 kB / 493.2 MB, free: 8.012 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.0999, allocations: 7.875 kB / 493.2 MB, free: 8.004 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.09992, allocations: 0 / 493.2 MB, free: 8.004 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.001e-06/0.09992, allocations: 0 / 493.2 MB, free: 8.004 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.09993, allocations: 0 / 493.2 MB, free: 8.004 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.913e-05/0.09996, allocations: 0 / 493.2 MB, free: 8.004 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.819e-06/0.09997, allocations: 7.984 kB / 493.2 MB, free: 7.996 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.902e-05/0.1001, allocations: 135.5 kB / 493.3 MB, free: 7.848 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.472e-06/0.1001, allocations: 0 / 493.3 MB, free: 7.848 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.005e-05/0.1001, allocations: 11.06 kB / 493.4 MB, free: 7.836 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.1001, allocations: 4 kB / 493.4 MB, free: 7.832 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.1001, allocations: 0 / 493.4 MB, free: 7.832 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.723e-06/0.1001, allocations: 0 / 493.4 MB, free: 7.832 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.647e-05/0.1002, allocations: 145.7 kB / 493.5 MB, free: 7.641 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.1002, allocations: 0 / 493.5 MB, free: 7.641 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.81e-07/0.1002, allocations: 0 / 493.5 MB, free: 7.641 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.1002, allocations: 0 / 493.5 MB, free: 7.641 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.596e-06/0.1002, allocations: 11.94 kB / 493.5 MB, free: 7.629 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-06/0.1002, allocations: 0 / 493.5 MB, free: 7.629 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.1002, allocations: 0 / 493.5 MB, free: 7.629 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.837e-05/0.1003, allocations: 98.77 kB / 493.6 MB, free: 7.508 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.249e-05/0.1004, allocations: 77.11 kB / 493.7 MB, free: 7.414 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.261e-05/0.1004, allocations: 3.938 kB / 493.7 MB, free: 7.41 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.716e-06/0.1004, allocations: 0 / 493.7 MB, free: 7.41 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.072e-05/0.1004, allocations: 0 / 493.7 MB, free: 7.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.06e-06/0.1004, allocations: 4 kB / 493.7 MB, free: 7.406 MB / 378.7 MB Notification: Performance of sorting global known variables: time 2.436e-05/0.1005, allocations: 75.28 kB / 493.8 MB, free: 7.332 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1005, allocations: 7.969 kB / 493.8 MB, free: 7.324 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002171/0.1007, allocations: 27.98 kB / 493.8 MB, free: 7.297 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007087/0.1014, allocations: 0.8054 MB / 494.6 MB, free: 6.492 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 8.38e-05/0.1015, allocations: 55.41 kB / 494.7 MB, free: 6.426 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.1015, allocations: 0 / 494.7 MB, free: 6.426 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.83e-05/0.1015, allocations: 55.41 kB / 494.7 MB, free: 6.359 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001172/0.1017, allocations: 4 kB / 494.7 MB, free: 6.355 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002716/0.1019, allocations: 150 kB / 494.9 MB, free: 6.16 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002012/0.1022, allocations: 0.6732 MB / 495.5 MB, free: 5.461 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.309e-05/0.1022, allocations: 11.44 kB / 495.5 MB, free: 5.453 MB / 378.7 MB Notification: Performance of SimCode: time 4.51e-07/0.1022, allocations: 0 / 495.5 MB, free: 5.453 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.543/2.646, allocations: 1.082 MB / 496.6 MB, free: 4.371 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestInternal.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestInternal.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestInternal.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestInternal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestInternal_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Utilities_TestInternal_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Utilities_TestInternal.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestInternal.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest.Utilities.TestInternal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches