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.00117/0.00117, allocations: 80.53 kB / 19.92 MB, free: 4.629 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.001403/0.001403, allocations: 177.2 kB / 23.21 MB, free: 1.344 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.8305/0.8305, allocations: 158.6 MB / 185 MB, free: 3.039 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.1259/0.1259, 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.292e-06/1.292e-06, allocations: 0 / 406.8 MB, free: 13.55 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.277e-05/1.407e-05, allocations: 9.656 kB / 406.8 MB, free: 13.55 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestSpeed): time 0.003093/0.003107, allocations: 2.452 MB / 409.3 MB, free: 11.08 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001211/0.004318, allocations: 0.6745 MB / 410 MB, free: 10.4 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001566/0.004474, allocations: 7.938 kB / 410 MB, free: 10.39 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000162/0.004636, allocations: 43.47 kB / 410 MB, free: 10.35 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001786/0.004815, allocations: 95.14 kB / 410.1 MB, free: 10.25 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002532/0.005068, allocations: 87.86 kB / 410.2 MB, free: 10.17 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003393/0.005407, allocations: 338.4 kB / 410.5 MB, free: 9.836 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001819/0.005589, allocations: 62.11 kB / 410.6 MB, free: 9.77 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002261/0.005815, allocations: 187.6 kB / 410.8 MB, free: 9.586 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001437/0.005959, allocations: 99.69 kB / 410.9 MB, free: 9.488 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 4.774e-05/0.006007, allocations: 20 kB / 410.9 MB, free: 9.469 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.672e-05/0.006044, allocations: 24 kB / 410.9 MB, free: 9.445 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.822e-05/0.006092, allocations: 59.7 kB / 411 MB, free: 9.387 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 9.644e-05/0.006188, allocations: 99.73 kB / 411.1 MB, free: 9.289 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000345/0.006533, allocations: 302.9 kB / 411.3 MB, free: 8.992 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.006535, allocations: 0 / 411.3 MB, free: 8.992 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.006537, allocations: 3.938 kB / 411.4 MB, free: 8.988 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.132e-06/0.006543, allocations: 0 / 411.4 MB, free: 8.988 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.0009702/0.007513, allocations: 0.5091 MB / 411.9 MB, free: 8.449 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/0.007555, allocations: 16.02 kB / 411.9 MB, free: 8.434 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.143e-05/0.007616, allocations: 58.73 kB / 411.9 MB, free: 8.367 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.431e-05/0.00767, allocations: 36.7 kB / 412 MB, free: 8.332 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003004/0.007971, allocations: 205 kB / 412.2 MB, free: 8.105 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.36e-05/0.007994, allocations: 20.86 kB / 412.2 MB, free: 8.086 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.678e-05/0.008041, allocations: 28.38 kB / 412.2 MB, free: 8.059 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004314/0.008472, allocations: 273.7 kB / 412.5 MB, free: 7.766 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.321e-05/0.008496, allocations: 12.12 kB / 412.5 MB, free: 7.754 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.482e-05/0.00852, allocations: 20.12 kB / 412.5 MB, free: 7.734 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/0.008528, allocations: 4 kB / 412.5 MB, free: 7.73 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003559/0.008884, allocations: 191.7 kB / 412.7 MB, free: 7.543 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001371/0.01025, allocations: 1.185 MB / 413.9 MB, free: 6.262 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003541/0.01061, allocations: 234.4 kB / 414.1 MB, free: 5.996 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001596/0.01077, allocations: 95.52 kB / 414.2 MB, free: 5.891 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.278e-05/0.01079, allocations: 7.938 kB / 414.2 MB, free: 5.883 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.582e-05/0.01082, allocations: 38.56 kB / 414.3 MB, free: 5.836 MB / 346.7 MB Notification: Performance of pre-optimization done (n=26): time 1.864e-06/0.01082, allocations: 0 / 414.3 MB, free: 5.836 MB / 346.7 MB Notification: Performance of matching and sorting (n=32): time 0.001744/0.01256, allocations: 1.21 MB / 415.5 MB, free: 4.512 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.019e-05/0.01261, allocations: 136.5 kB / 415.6 MB, free: 4.348 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001397/0.01275, allocations: 229.8 kB / 415.8 MB, free: 4.117 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.699e-05/0.01277, allocations: 33.7 kB / 415.9 MB, free: 4.078 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.119e-05/0.01285, allocations: 172.5 kB / 416 MB, free: 3.906 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.595e-05/0.01291, allocations: 123 kB / 416.1 MB, free: 3.785 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.217e-05/0.01297, allocations: 70.16 kB / 416.2 MB, free: 3.711 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.215e-05/0.01305, allocations: 342.8 kB / 416.6 MB, free: 3.367 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002709/0.01332, allocations: 101 kB / 416.6 MB, free: 3.27 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001827/0.01351, allocations: 246 kB / 416.9 MB, free: 2.969 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003465/0.01385, allocations: 369.3 kB / 417.3 MB, free: 2.547 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.564e-06/0.01385, allocations: 8 kB / 417.3 MB, free: 2.539 MB / 346.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0004127/0.01427, allocations: 389.3 kB / 417.6 MB, free: 2.152 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.01428, allocations: 14.59 kB / 417.7 MB, free: 2.141 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.01429, allocations: 4 kB / 417.7 MB, free: 2.137 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.0143, allocations: 8 kB / 417.7 MB, free: 2.129 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001883/0.01449, allocations: 99.88 kB / 417.8 MB, free: 2.031 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.483e-06/0.0145, allocations: 7.938 kB / 417.8 MB, free: 2.023 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001023/0.0146, allocations: 35.91 kB / 417.8 MB, free: 1.988 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.412e-05/0.01461, allocations: 12 kB / 417.8 MB, free: 1.977 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 9.191e-05/0.0147, allocations: 157.8 kB / 418 MB, free: 1.812 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.161e-05/0.01476, allocations: 31.75 kB / 418 MB, free: 1.781 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.688e-05/0.01479, allocations: 33.77 kB / 418 MB, free: 1.754 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.0148, allocations: 4 kB / 418 MB, free: 1.75 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.0148, allocations: 0 / 418 MB, free: 1.75 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.01481, allocations: 4.234 kB / 418 MB, free: 1.746 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008241/0.01563, allocations: 0.9263 MB / 419 MB, free: 0.7617 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.01563, allocations: 0 / 419 MB, free: 0.7617 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001774/0.01581, allocations: 75.89 kB / 419 MB, free: 0.6875 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.047e-06/0.01581, allocations: 3.984 kB / 419 MB, free: 0.6836 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.481e-05/0.01583, allocations: 11.98 kB / 419.1 MB, free: 0.6719 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.849e-06/0.01583, allocations: 7.938 kB / 419.1 MB, free: 0.6641 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.01584, allocations: 3.938 kB / 419.1 MB, free: 0.6602 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005941/0.01643, allocations: 0.729 MB / 419.8 MB, free: 15.91 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.482e-05/0.01645, allocations: 24.06 kB / 419.8 MB, free: 15.88 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.312e-05/0.01648, allocations: 8.062 kB / 419.8 MB, free: 15.88 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001446/0.01662, allocations: 23.98 kB / 419.9 MB, free: 15.85 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.774e-05/0.01668, allocations: 35.89 kB / 419.9 MB, free: 15.82 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.284e-05/0.01669, allocations: 11.98 kB / 419.9 MB, free: 15.8 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.37e-05/0.01678, allocations: 153.2 kB / 420.1 MB, free: 15.66 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.01678, allocations: 0 / 420.1 MB, free: 15.66 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003031/0.01708, allocations: 71.94 kB / 420.1 MB, free: 15.59 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.0007508/0.01783, allocations: 1.274 MB / 421.4 MB, free: 14.27 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003544/0.01818, allocations: 260.4 kB / 421.6 MB, free: 14.02 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.01819, allocations: 0 / 421.6 MB, free: 14.02 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001541/0.01834, allocations: 136.2 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.0004069/0.01875, allocations: 36.48 kB / 421.8 MB, free: 13.85 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002798/0.02155, 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 0.0001062/0.02165, allocations: 164 kB / 425.3 MB, free: 10.1 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.105e-05/0.02173, allocations: 30.97 kB / 425.3 MB, free: 10.07 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000105/0.02184, allocations: 100.5 kB / 425.4 MB, free: 9.969 MB / 362.7 MB Notification: Performance of SimCode: time 6.21e-07/0.02184, allocations: 0 / 425.4 MB, free: 9.969 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01962/0.04146, allocations: 6.092 MB / 431.5 MB, free: 3.895 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.083/7.124, allocations: 11.92 kB / 431.5 MB, free: 3.883 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: 9.131848694756627]