Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.TestBraking.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.001276/0.001276, allocations: 75.7 kB / 20.01 MB, free: 4.508 MB / 18.57 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.0009324/0.0009324, allocations: 169.9 kB / 23.32 MB, free: 1.207 MB / 18.57 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 0.8812/0.8812, allocations: 158.6 MB / 185.1 MB, free: 3.008 MB / 170.7 MB " [Timeout remaining time 179] 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.1394/0.1394, allocations: 32.38 MB / 269.7 MB, free: 14.92 MB / 266.7 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.Rotational.TestBraking,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_TestBraking",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.TestBraking,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_TestBraking",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 407 MB, free: 13.45 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.04e-05/2.196e-05, allocations: 2.281 kB / 407 MB, free: 13.44 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestBraking): time 0.003328/0.00335, allocations: 2.526 MB / 409.6 MB, free: 10.91 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001791/0.005142, allocations: 0.9508 MB / 410.5 MB, free: 9.945 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002408/0.005382, allocations: 11.94 kB / 410.5 MB, free: 9.934 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001891/0.005572, allocations: 43.52 kB / 410.6 MB, free: 9.891 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001888/0.00576, allocations: 115 kB / 410.7 MB, free: 9.777 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005204/0.006281, allocations: 143.5 kB / 410.8 MB, free: 9.637 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003385/0.006619, allocations: 389.9 kB / 411.2 MB, free: 9.254 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001689/0.006788, allocations: 65.38 kB / 411.3 MB, free: 9.188 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001867/0.006975, allocations: 211.5 kB / 411.5 MB, free: 8.98 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001366/0.007111, allocations: 103.7 kB / 411.6 MB, free: 8.879 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.108e-05/0.007142, allocations: 28 kB / 411.6 MB, free: 8.852 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.215e-05/0.007225, allocations: 43.92 kB / 411.6 MB, free: 8.809 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.952e-05/0.007264, allocations: 63.75 kB / 411.7 MB, free: 8.746 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 8.091e-05/0.007345, allocations: 115.7 kB / 411.8 MB, free: 8.633 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003077/0.007653, allocations: 358.9 kB / 412.2 MB, free: 8.281 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.007657, allocations: 3.984 kB / 412.2 MB, free: 8.277 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.007658, allocations: 0 / 412.2 MB, free: 8.277 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.152e-06/0.007664, allocations: 0 / 412.2 MB, free: 8.277 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.0006891/0.008353, allocations: 0.5325 MB / 412.7 MB, free: 7.711 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.463e-05/0.008408, allocations: 8.031 kB / 412.7 MB, free: 7.703 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.839e-05/0.008466, allocations: 70.72 kB / 412.8 MB, free: 7.625 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000156/0.008622, allocations: 48.69 kB / 412.8 MB, free: 7.578 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003206/0.008943, allocations: 209.2 kB / 413 MB, free: 7.348 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.984e-05/0.008963, allocations: 25.03 kB / 413.1 MB, free: 7.324 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.947e-05/0.009022, allocations: 36.33 kB / 413.1 MB, free: 7.289 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003708/0.009393, allocations: 299.3 kB / 413.4 MB, free: 6.977 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.981e-05/0.009413, allocations: 7.922 kB / 413.4 MB, free: 6.969 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.071e-05/0.009434, allocations: 12 kB / 413.4 MB, free: 6.957 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.009442, allocations: 11.94 kB / 413.4 MB, free: 6.945 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002284/0.00967, allocations: 183.8 kB / 413.6 MB, free: 6.766 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001548/0.01122, allocations: 1.219 MB / 414.8 MB, free: 5.457 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002859/0.0115, allocations: 245 kB / 415 MB, free: 5.172 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.982e-05/0.01157, allocations: 72.28 kB / 415.1 MB, free: 5.086 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.79e-05/0.01159, allocations: 4 kB / 415.1 MB, free: 5.082 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.835e-05/0.01162, allocations: 46.94 kB / 415.2 MB, free: 5.027 MB / 346.7 MB Notification: Performance of pre-optimization done (n=22): time 1.943e-06/0.01162, allocations: 0 / 415.2 MB, free: 5.027 MB / 346.7 MB Notification: Performance of matching and sorting (n=22): time 0.0003508/0.01197, allocations: 217.5 kB / 415.4 MB, free: 4.809 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.381e-05/0.01204, allocations: 162.2 kB / 415.5 MB, free: 4.613 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001381/0.01217, allocations: 212 kB / 415.7 MB, free: 4.395 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.439e-05/0.01219, allocations: 33.83 kB / 415.8 MB, free: 4.355 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.057e-05/0.01228, allocations: 200.3 kB / 416 MB, free: 4.156 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.674e-05/0.01233, allocations: 91.22 kB / 416.1 MB, free: 4.066 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.28e-05/0.01239, allocations: 61.66 kB / 416.1 MB, free: 4 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000103/0.01249, allocations: 338.8 kB / 416.5 MB, free: 3.66 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.224e-05/0.01257, allocations: 63.97 kB / 416.5 MB, free: 3.598 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001328/0.01271, allocations: 194 kB / 416.7 MB, free: 3.344 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002613/0.01297, allocations: 301.7 kB / 417 MB, free: 2.984 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.01297, allocations: 4 kB / 417 MB, free: 2.98 MB / 346.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0003152/0.01329, allocations: 313.5 kB / 417.3 MB, free: 2.668 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.0133, allocations: 6.688 kB / 417.3 MB, free: 2.664 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/0.01332, allocations: 12 kB / 417.3 MB, free: 2.652 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.895e-05/0.01333, allocations: 4 kB / 417.3 MB, free: 2.648 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001593/0.01349, allocations: 91.83 kB / 417.4 MB, free: 2.559 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.307e-05/0.01351, allocations: 11.94 kB / 417.4 MB, free: 2.547 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.635e-05/0.0136, allocations: 35.73 kB / 417.5 MB, free: 2.512 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.85e-05/0.01362, allocations: 16 kB / 417.5 MB, free: 2.496 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 44 * 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 0.0001314/0.01375, allocations: 149.8 kB / 417.6 MB, free: 2.34 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.74e-05/0.01383, allocations: 27.8 kB / 417.7 MB, free: 2.312 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001647/0.014, allocations: 91.27 kB / 417.7 MB, free: 2.223 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.014, allocations: 8 kB / 417.8 MB, free: 2.215 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/0.01401, allocations: 7.938 kB / 417.8 MB, free: 2.207 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.01401, allocations: 0 / 417.8 MB, free: 2.207 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003991/0.01441, allocations: 268.5 kB / 418 MB, free: 1.902 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.01442, allocations: 3.938 kB / 418 MB, free: 1.898 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001795/0.0146, allocations: 63.97 kB / 418.1 MB, free: 1.836 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.778e-06/0.0146, allocations: 4 kB / 418.1 MB, free: 1.832 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.877e-05/0.01462, allocations: 11.98 kB / 418.1 MB, free: 1.82 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.01462, allocations: 3.938 kB / 418.1 MB, free: 1.816 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.01462, allocations: 4 kB / 418.1 MB, free: 1.812 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004138/0.01504, allocations: 0.6225 MB / 418.7 MB, free: 1.172 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.703e-05/0.01506, allocations: 31.73 kB / 418.8 MB, free: 1.141 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.384e-05/0.01509, allocations: 8 kB / 418.8 MB, free: 1.133 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001331/0.01522, allocations: 7.938 kB / 418.8 MB, free: 1.125 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.229e-05/0.01525, allocations: 19.97 kB / 418.8 MB, free: 1.105 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.224e-06/0.01526, allocations: 4 kB / 418.8 MB, free: 1.102 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.401e-05/0.01535, allocations: 153.6 kB / 419 MB, free: 0.9531 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01535, allocations: 0 / 419 MB, free: 0.9531 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003557/0.01571, allocations: 87.78 kB / 419 MB, free: 0.8672 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 11 (inertia1.w,linearSpeedDependentTorque.phi,inertia2.w,quadraticSpeedDependentTorque.phi,inertia3.w,constantTorque.phi,inertia4.w,signTorque.phi,eddyCurrentTorque.phi,inertia5.w,heatCapacitor.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 23 * 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 Backend phase and start with SimCode phase: time 0.0005536/0.01626, allocations: 1.173 MB / 420.2 MB, free: 15.67 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002449/0.01651, allocations: 179.5 kB / 420.4 MB, free: 15.49 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.01651, allocations: 4 kB / 420.4 MB, free: 15.49 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.995e-05/0.01658, allocations: 72.16 kB / 420.5 MB, free: 15.42 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005061/0.01709, allocations: 67.19 kB / 420.5 MB, free: 15.35 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002952/0.02004, allocations: 3.301 MB / 423.8 MB, free: 11.82 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001494/0.02019, allocations: 165.1 kB / 424 MB, free: 11.64 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001041/0.02029, allocations: 34.95 kB / 424 MB, free: 11.61 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.786e-05/0.02039, allocations: 84.47 kB / 424.1 MB, free: 11.52 MB / 362.7 MB Notification: Performance of SimCode: time 6.01e-07/0.02039, allocations: 0 / 424.1 MB, free: 11.52 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02068/0.04107, allocations: 6.206 MB / 430.3 MB, free: 5.324 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.867/6.908, allocations: 23.27 kB / 430.3 MB, free: 5.305 MB / 362.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.TestBraking.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.TestBraking.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.TestBraking.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.TestBraking.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Rotational.TestBraking_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00039984 ModelicaTest_3_2_3_ModelicaTest_Rotational_TestBraking.fmu > ModelicaTest_3.2.3_ModelicaTest.Rotational.TestBraking.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.TestBraking_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/TestBraking/TestBraking.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Rotational.TestBraking.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable inertia1.phi in file ModelicaTest_3.2.3_ModelicaTest.Rotational.TestBraking_res.csv. Warning: Get data of variable inertia1.phi from file ModelicaTest_3.2.3_ModelicaTest.Rotational.TestBraking_res.csv failed! Error: Could not read variable inertia2.phi in file ModelicaTest_3.2.3_ModelicaTest.Rotational.TestBraking_res.csv. Warning: Get data of variable inertia2.phi from file ModelicaTest_3.2.3_ModelicaTest.Rotational.TestBraking_res.csv failed! Error: Could not read variable inertia3.phi in file ModelicaTest_3.2.3_ModelicaTest.Rotational.TestBraking_res.csv. Warning: Get data of variable inertia3.phi from file ModelicaTest_3.2.3_ModelicaTest.Rotational.TestBraking_res.csv failed! Error: Could not read variable inertia3.w in file ModelicaTest_3.2.3_ModelicaTest.Rotational.TestBraking_res.csv. Warning: Get data of variable inertia3.w from file ModelicaTest_3.2.3_ModelicaTest.Rotational.TestBraking_res.csv failed! Error: Could not read variable inertia4.phi in file ModelicaTest_3.2.3_ModelicaTest.Rotational.TestBraking_res.csv. Warning: Get data of variable inertia4.phi from file ModelicaTest_3.2.3_ModelicaTest.Rotational.TestBraking_res.csv failed! Error: Could not read variable inertia4.w in file ModelicaTest_3.2.3_ModelicaTest.Rotational.TestBraking_res.csv. Warning: Get data of variable inertia4.w from file ModelicaTest_3.2.3_ModelicaTest.Rotational.TestBraking_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.21683515701443]