Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed.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.000815/0.000815, allocations: 80.48 kB / 19.92 MB, free: 4.633 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.0008605/0.0008605, allocations: 174.3 kB / 23.21 MB, free: 1.352 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.7938/0.7938, allocations: 158.6 MB / 185 MB, free: 3.055 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.1268/0.1268, allocations: 32.37 MB / 269.6 MB, free: 14.97 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.TestSpeed,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_TestSpeed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.TestSpeed,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_TestSpeed",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.072e-06/1.072e-06, allocations: 0 / 406.8 MB, free: 13.55 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.957e-06/1.003e-05, allocations: 5.656 kB / 406.8 MB, free: 13.54 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestSpeed): time 0.002371/0.002381, allocations: 2.459 MB / 409.3 MB, free: 11.07 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008938/0.003275, allocations: 0.6706 MB / 409.9 MB, free: 10.39 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001187/0.003393, allocations: 11.94 kB / 410 MB, free: 10.38 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001266/0.00352, allocations: 43.52 kB / 410 MB, free: 10.34 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001207/0.003641, allocations: 91.14 kB / 410.1 MB, free: 10.25 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002193/0.00386, allocations: 91.8 kB / 410.2 MB, free: 10.16 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002783/0.004138, allocations: 338.4 kB / 410.5 MB, free: 9.824 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001469/0.004285, allocations: 62.11 kB / 410.6 MB, free: 9.758 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001778/0.004463, allocations: 191.6 kB / 410.8 MB, free: 9.57 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001025/0.004566, allocations: 95.7 kB / 410.9 MB, free: 9.477 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.334e-05/0.004599, allocations: 24 kB / 410.9 MB, free: 9.453 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.435e-05/0.004623, allocations: 20 kB / 410.9 MB, free: 9.434 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.647e-05/0.00466, allocations: 59.75 kB / 411 MB, free: 9.375 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 6.919e-05/0.004729, allocations: 95.75 kB / 411 MB, free: 9.281 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002344/0.004963, allocations: 302.9 kB / 411.3 MB, free: 8.984 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.944e-06/0.004965, allocations: 0 / 411.3 MB, free: 8.984 MB / 346.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.004966, allocations: 3.938 kB / 411.3 MB, free: 8.98 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.797e-06/0.00497, allocations: 4 kB / 411.4 MB, free: 8.977 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0005613/0.005531, allocations: 0.5091 MB / 411.9 MB, free: 8.438 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.529e-05/0.005566, allocations: 12.03 kB / 411.9 MB, free: 8.426 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.228e-05/0.005609, allocations: 58.72 kB / 411.9 MB, free: 8.359 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.936e-05/0.005668, allocations: 40.7 kB / 412 MB, free: 8.32 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002258/0.005894, allocations: 201 kB / 412.2 MB, free: 8.098 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.55e-05/0.005909, allocations: 16.88 kB / 412.2 MB, free: 8.082 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.647e-05/0.005946, allocations: 36.38 kB / 412.2 MB, free: 8.047 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003442/0.00629, allocations: 269.8 kB / 412.5 MB, free: 7.758 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.696e-05/0.006307, allocations: 12.02 kB / 412.5 MB, free: 7.746 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.896e-05/0.006326, allocations: 16.12 kB / 412.5 MB, free: 7.73 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.518e-06/0.006335, allocations: 11.98 kB / 412.5 MB, free: 7.719 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00024/0.006575, allocations: 183.7 kB / 412.7 MB, free: 7.539 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001037/0.007613, allocations: 1.192 MB / 413.9 MB, free: 6.25 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002436/0.007856, allocations: 230.3 kB / 414.1 MB, free: 5.988 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001102/0.007967, allocations: 99.39 kB / 414.2 MB, free: 5.879 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.884e-05/0.007985, allocations: 7.938 kB / 414.2 MB, free: 5.871 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.319e-05/0.008009, allocations: 42.67 kB / 414.3 MB, free: 5.82 MB / 346.7 MB Notification: Performance of pre-optimization done (n=26): time 1.262e-06/0.00801, allocations: 4 kB / 414.3 MB, free: 5.816 MB / 346.7 MB Notification: Performance of matching and sorting (n=32): time 0.001456/0.009466, allocations: 1.195 MB / 415.5 MB, free: 4.508 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.466e-05/0.009511, allocations: 132.5 kB / 415.6 MB, free: 4.348 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000133/0.009644, allocations: 229.8 kB / 415.8 MB, free: 4.117 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.659e-05/0.00966, allocations: 37.7 kB / 415.9 MB, free: 4.074 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.752e-05/0.009738, allocations: 180.5 kB / 416 MB, free: 3.895 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.423e-05/0.009792, allocations: 115 kB / 416.1 MB, free: 3.781 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.018e-05/0.009852, allocations: 74.14 kB / 416.2 MB, free: 3.703 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.652e-05/0.009929, allocations: 334.8 kB / 416.5 MB, free: 3.367 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001417/0.01007, allocations: 100.9 kB / 416.6 MB, free: 3.27 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001819/0.01025, allocations: 246 kB / 416.9 MB, free: 2.969 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003442/0.0106, allocations: 381.3 kB / 417.3 MB, free: 2.535 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.0106, allocations: 0 / 417.3 MB, free: 2.535 MB / 346.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0004146/0.01101, allocations: 392.9 kB / 417.6 MB, free: 2.145 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.01103, allocations: 14.59 kB / 417.7 MB, free: 2.133 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.01103, allocations: 4 kB / 417.7 MB, free: 2.129 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.01104, allocations: 4 kB / 417.7 MB, free: 2.125 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001962/0.01124, allocations: 104.2 kB / 417.8 MB, free: 2.023 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/0.01125, allocations: 15.94 kB / 417.8 MB, free: 2.008 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001002/0.01135, allocations: 27.92 kB / 417.8 MB, free: 1.98 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.629e-05/0.01137, allocations: 16 kB / 417.8 MB, free: 1.965 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (48): * Single equations (assignments): 48 * 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 8.811e-05/0.01145, allocations: 149.8 kB / 418 MB, free: 1.809 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.579e-05/0.01151, allocations: 35.75 kB / 418 MB, free: 1.773 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.389e-05/0.01154, allocations: 29.77 kB / 418 MB, free: 1.75 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.01155, allocations: 8 kB / 418 MB, free: 1.742 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/0.01155, allocations: 0 / 418 MB, free: 1.742 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.01155, allocations: 0 / 418 MB, free: 1.742 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00104/0.01259, allocations: 0.9225 MB / 419 MB, free: 0.7617 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.0126, allocations: 4.094 kB / 419 MB, free: 0.7578 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001762/0.01277, allocations: 83.88 kB / 419 MB, free: 0.6758 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.01278, allocations: 4 kB / 419 MB, free: 0.6719 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.397e-05/0.01279, allocations: 8 kB / 419.1 MB, free: 0.6641 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.01279, allocations: 0 / 419.1 MB, free: 0.6641 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.337e-06/0.01279, allocations: 11.92 kB / 419.1 MB, free: 0.6523 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005608/0.01336, allocations: 0.725 MB / 419.8 MB, free: 15.9 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.207e-05/0.01338, allocations: 28.03 kB / 419.8 MB, free: 15.88 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.339e-05/0.0134, allocations: 8.312 kB / 419.8 MB, free: 15.87 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001442/0.01354, allocations: 19.98 kB / 419.8 MB, free: 15.85 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.231e-05/0.0136, allocations: 39.81 kB / 419.9 MB, free: 15.81 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.698e-06/0.01361, allocations: 8 kB / 419.9 MB, free: 15.8 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.945e-05/0.01369, allocations: 161.2 kB / 420.1 MB, free: 15.64 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01369, allocations: 0 / 420.1 MB, free: 15.64 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003026/0.01399, allocations: 71.94 kB / 420.1 MB, free: 15.57 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (speed4.s,speed3.s,speed3.v,speed1.phi,speed1.w,speed2.phi) * 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 (32): * Single equations (assignments): 32 * 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.0006797/0.01467, allocations: 1.266 MB / 421.4 MB, free: 14.27 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003402/0.01501, allocations: 267.6 kB / 421.7 MB, free: 14.01 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.01501, allocations: 0 / 421.7 MB, free: 14.01 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001466/0.01516, allocations: 124.7 kB / 421.8 MB, free: 13.89 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003934/0.01555, allocations: 45.03 kB / 421.8 MB, free: 13.84 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002413/0.01796, allocations: 3.34 MB / 425.2 MB, free: 10.27 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.861e-05/0.01806, allocations: 167.9 kB / 425.3 MB, free: 10.09 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.856e-05/0.01814, allocations: 34.95 kB / 425.4 MB, free: 10.05 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.636e-05/0.01824, allocations: 92.47 kB / 425.4 MB, free: 9.961 MB / 362.7 MB Notification: Performance of SimCode: time 2.71e-07/0.01824, allocations: 0 / 425.4 MB, free: 9.961 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01602/0.03426, allocations: 6.087 MB / 431.5 MB, free: 3.883 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.913/6.947, allocations: 8.047 kB / 431.5 MB, free: 3.875 MB / 362.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000219824 ModelicaTest_3_2_3_ModelicaTest_Rotational_TestSpeed.fmu > ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/TestSpeed/TestSpeed.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable speed4.s in file ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed_res.csv. Warning: Get data of variable speed4.s from file ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.868276599794626]