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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001803/0.001803, allocations: 118.9 kB / 17.83 MB, free: 5.242 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002193/0.002193, allocations: 203 kB / 20.79 MB, free: 2.297 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.519/1.519, allocations: 207.6 MB / 231.2 MB, free: 4.098 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3419/0.3419, allocations: 44.23 MB / 327.3 MB, free: 6.684 MB / 254.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Utilities.TestInternal,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Utilities_TestInternal",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Utilities.TestInternal,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Utilities_TestInternal",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00245/0.00245, allocations: 68.47 kB / 462.9 MB, free: 0.9375 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2728/0.2752, allocations: 61 MB / 0.5116 GB, free: 13.09 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestInternal): time 0.001529/0.2768, allocations: 0.4947 MB / 0.5121 GB, free: 12.72 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005833/0.2774, allocations: 250 kB / 0.5123 GB, free: 12.55 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.6e-05/0.2774, allocations: 0 / 0.5123 GB, free: 12.55 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.229e-05/0.2774, allocations: 0 / 0.5123 GB, free: 12.55 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.73e-06/0.2774, allocations: 0 / 0.5123 GB, free: 12.55 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00035/0.2777, allocations: 56.38 kB / 0.5124 GB, free: 12.51 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.771e-05/0.2778, allocations: 13.02 kB / 0.5124 GB, free: 12.5 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.187e-05/0.2778, allocations: 1.094 kB / 0.5124 GB, free: 12.5 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.694e-05/0.2779, allocations: 1.156 kB / 0.5124 GB, free: 12.5 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.425e-05/0.2779, allocations: 1.219 kB / 0.5124 GB, free: 12.5 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.646e-06/0.2779, allocations: 0 / 0.5124 GB, free: 12.5 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001464/0.278, allocations: 68.02 kB / 0.5125 GB, free: 12.46 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.384e-06/0.2781, allocations: 1.219 kB / 0.5125 GB, free: 12.46 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.041e-05/0.2781, allocations: 1.156 kB / 0.5125 GB, free: 12.46 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001309/0.2782, allocations: 57.2 kB / 0.5125 GB, free: 12.43 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.2782, allocations: 0 / 0.5125 GB, free: 12.43 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.2782, allocations: 4 kB / 0.5125 GB, free: 12.43 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.721e-06/0.2782, allocations: 0 / 0.5125 GB, free: 12.43 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.0002828/0.2785, allocations: 356.8 kB / 0.5129 GB, free: 12.03 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.583e-05/0.2785, allocations: 17.11 kB / 0.5129 GB, free: 12.02 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.769e-05/0.2786, allocations: 5.062 kB / 0.5129 GB, free: 12.02 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.602e-05/0.2786, allocations: 31.88 kB / 0.5129 GB, free: 11.98 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.654e-05/0.2786, allocations: 8.875 kB / 0.5129 GB, free: 11.97 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.957e-05/0.2787, allocations: 160.4 kB / 0.5131 GB, free: 11.78 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.131e-05/0.2787, allocations: 1.656 kB / 0.5131 GB, free: 11.78 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.714e-06/0.2787, allocations: 5.594 kB / 0.5131 GB, free: 11.77 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.313e-05/0.2788, allocations: 32.42 kB / 0.5131 GB, free: 11.74 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.206e-06/0.2788, allocations: 0 / 0.5131 GB, free: 11.74 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.713e-06/0.2788, allocations: 0 / 0.5131 GB, free: 11.74 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.2788, allocations: 1.125 kB / 0.5131 GB, free: 11.74 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.988e-05/0.2788, allocations: 5.312 kB / 0.5131 GB, free: 11.73 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001011/0.2789, allocations: 146.8 kB / 0.5133 GB, free: 11.54 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.976e-05/0.279, allocations: 19.73 kB / 0.5133 GB, free: 11.52 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.211e-05/0.279, allocations: 9.984 kB / 0.5133 GB, free: 11.5 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.08e-06/0.279, allocations: 1.281 kB / 0.5133 GB, free: 11.5 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.407e-05/0.279, allocations: 65.45 kB / 0.5134 GB, free: 11.43 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 9.11e-07/0.279, allocations: 0 / 0.5134 GB, free: 11.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.00017/0.2792, allocations: 66.36 kB / 0.5134 GB, free: 11.36 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.899e-05/0.2792, allocations: 78.2 kB / 0.5135 GB, free: 11.26 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.805e-05/0.2792, allocations: 89.86 kB / 0.5136 GB, free: 11.16 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.71e-06/0.2792, allocations: 31.33 kB / 0.5136 GB, free: 11.13 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.838e-06/0.2792, allocations: 80.14 kB / 0.5137 GB, free: 11.05 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.058e-05/0.2793, allocations: 0 / 0.5137 GB, free: 11.05 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.586e-05/0.2793, allocations: 16.34 kB / 0.5137 GB, free: 11.03 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.238e-05/0.2793, allocations: 312.2 kB / 0.514 GB, free: 10.71 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.598e-06/0.2793, allocations: 0 / 0.514 GB, free: 10.71 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.134e-06/0.2793, allocations: 5.391 kB / 0.514 GB, free: 10.71 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.593e-05/0.2794, allocations: 67.02 kB / 0.5141 GB, free: 10.63 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.2794, allocations: 5.156 kB / 0.5141 GB, free: 10.63 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.76e-05/0.2794, allocations: 65.41 kB / 0.5141 GB, free: 10.56 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.655e-05/0.2795, allocations: 35.39 kB / 0.5142 GB, free: 10.52 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.2795, allocations: 5.266 kB / 0.5142 GB, free: 10.52 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.2795, allocations: 0 / 0.5142 GB, free: 10.52 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.71e-07/0.2795, allocations: 0 / 0.5142 GB, free: 10.52 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.2795, allocations: 1.188 kB / 0.5142 GB, free: 10.52 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.578e-05/0.2795, allocations: 3.938 kB / 0.5142 GB, free: 10.52 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.773e-06/0.2795, allocations: 1.156 kB / 0.5142 GB, free: 10.52 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 5.122e-05/0.2796, allocations: 137.6 kB / 0.5143 GB, free: 10.37 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.647e-06/0.2796, allocations: 5.031 kB / 0.5143 GB, free: 10.36 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.046e-05/0.2796, allocations: 3.125 kB / 0.5143 GB, free: 10.36 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.2796, allocations: 0.9375 kB / 0.5143 GB, free: 10.36 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.2796, allocations: 0 / 0.5143 GB, free: 10.36 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.195e-06/0.2796, allocations: 1.062 kB / 0.5143 GB, free: 10.36 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.933e-05/0.2796, allocations: 146.6 kB / 0.5145 GB, free: 10.16 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.2797, allocations: 1.281 kB / 0.5145 GB, free: 10.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.12e-07/0.2797, allocations: 0 / 0.5145 GB, free: 10.16 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.2797, allocations: 7.938 kB / 0.5145 GB, free: 10.16 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.602e-06/0.2797, allocations: 0.9688 kB / 0.5145 GB, free: 10.16 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.2797, allocations: 1.281 kB / 0.5145 GB, free: 10.16 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.2797, allocations: 0 / 0.5145 GB, free: 10.16 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.046e-05/0.2797, allocations: 93.27 kB / 0.5146 GB, free: 10.05 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.627e-05/0.2797, allocations: 82.39 kB / 0.5146 GB, free: 9.953 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.225e-05/0.2798, allocations: 5.062 kB / 0.5147 GB, free: 9.949 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.005e-05/0.2798, allocations: 3.984 kB / 0.5147 GB, free: 9.945 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.077e-05/0.2798, allocations: 5.062 kB / 0.5147 GB, free: 9.941 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.299e-06/0.2798, allocations: 5.172 kB / 0.5147 GB, free: 9.938 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.229e-05/0.2798, allocations: 75.28 kB / 0.5147 GB, free: 9.863 MB / 382.1 MB Notification: Performance of sort global known variables: time 5e-08/0.2798, allocations: 0 / 0.5147 GB, free: 9.863 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002374/0.28, allocations: 19.06 kB / 0.5148 GB, free: 9.859 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.0007452/0.2808, allocations: 0.7977 MB / 0.5155 GB, free: 9.125 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 8.715e-05/0.2809, allocations: 60.38 kB / 0.5156 GB, free: 9.059 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.2809, allocations: 3.938 kB / 0.5156 GB, free: 9.055 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.897e-05/0.2809, allocations: 66.55 kB / 0.5157 GB, free: 8.98 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001493/0.281, allocations: 6.219 kB / 0.5157 GB, free: 8.977 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002875/0.2813, allocations: 122.1 kB / 0.5158 GB, free: 8.832 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.708e-05/0.2814, allocations: 0.6698 MB / 0.5164 GB, free: 8.137 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.601e-06/0.2814, allocations: 0 / 0.5164 GB, free: 8.137 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.12e-05/0.2814, allocations: 8.469 kB / 0.5164 GB, free: 8.129 MB / 382.1 MB Notification: Performance of SimCode: time 3.1e-07/0.2814, allocations: 0 / 0.5164 GB, free: 8.129 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01622/0.2977, allocations: 1.662 MB / 0.5181 GB, free: 7.047 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.355/8.652, allocations: 6.594 kB / 0.5181 GB, free: 7.043 MB / 382.1 MB " [Timeout remaining time 651] (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) [Timeout 52.5] 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.47152181196725]