Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001695/0.001695, allocations: 112 kB / 20.48 MB, free: 1.27 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001977/0.001977, allocations: 209 kB / 23.77 MB, free: 4.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.514/1.514, allocations: 230.5 MB / 257.4 MB, free: 7.727 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2361/0.2361, allocations: 46.94 MB / 360.9 MB, free: 3.895 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Rotational.TestSpeed,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_TestSpeed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.TestSpeed,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_TestSpeed",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002274/0.002274, allocations: 79.88 kB / 0.4962 GB, free: 7.52 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3148/0.317, allocations: 66.08 MB / 0.5607 GB, free: 4.027 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestSpeed): time 0.00413/0.3212, allocations: 2.478 MB / 0.5631 GB, free: 1.539 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001443/0.3226, allocations: 0.7011 MB / 0.5638 GB, free: 0.832 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001711/0.3228, allocations: 11.94 kB / 0.5638 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00018/0.323, allocations: 43.52 kB / 0.5639 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001917/0.3232, allocations: 87.2 kB / 0.564 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003365/0.3235, allocations: 103.8 kB / 0.5641 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004079/0.3239, allocations: 334.6 kB / 0.5644 GB, free: 268 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001985/0.3241, allocations: 63.88 kB / 0.5644 GB, free: 196 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000267/0.3244, allocations: 139.5 kB / 0.5646 GB, free: 56 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001997/0.3246, allocations: 115.5 kB / 0.5647 GB, free: 15.94 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.33e-05/0.3246, allocations: 23.94 kB / 0.5647 GB, free: 15.91 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.165e-05/0.3247, allocations: 28 kB / 0.5647 GB, free: 15.89 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.27e-05/0.3248, allocations: 59.77 kB / 0.5648 GB, free: 15.83 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001299/0.3249, allocations: 119.4 kB / 0.5649 GB, free: 15.71 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004083/0.3253, allocations: 314.6 kB / 0.5652 GB, free: 15.4 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.3253, allocations: 0 / 0.5652 GB, free: 15.4 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3253, allocations: 0 / 0.5652 GB, free: 15.4 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.003e-05/0.3253, allocations: 4 kB / 0.5652 GB, free: 15.4 MB / 414.1 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.0009831/0.3263, allocations: 0.5206 MB / 0.5657 GB, free: 14.85 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.483e-05/0.3263, allocations: 12.03 kB / 0.5657 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.032e-05/0.3264, allocations: 58.72 kB / 0.5658 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002437/0.3267, allocations: 48.73 kB / 0.5658 GB, free: 14.72 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004172/0.3271, allocations: 217.9 kB / 0.566 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.693e-05/0.3271, allocations: 20.88 kB / 0.5661 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.529e-05/0.3272, allocations: 32.33 kB / 0.5661 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005073/0.3277, allocations: 281.2 kB / 0.5664 GB, free: 14.13 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.145e-05/0.3277, allocations: 3.953 kB / 0.5664 GB, free: 14.13 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.25e-05/0.3277, allocations: 12 kB / 0.5664 GB, free: 14.12 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.089e-05/0.3277, allocations: 12 kB / 0.5664 GB, free: 14.11 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004546/0.3282, allocations: 183.7 kB / 0.5666 GB, free: 13.93 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001709/0.3299, allocations: 1.192 MB / 0.5677 GB, free: 12.64 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004423/0.3303, allocations: 242.4 kB / 0.568 GB, free: 12.37 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000201/0.3305, allocations: 91.39 kB / 0.5681 GB, free: 12.27 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.021e-05/0.3305, allocations: 4 kB / 0.5681 GB, free: 12.27 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.542e-05/0.3306, allocations: 42.5 kB / 0.5681 GB, free: 12.21 MB / 414.1 MB Notification: Performance of pre-optimization done (n=26): time 1.743e-06/0.3306, allocations: 0 / 0.5681 GB, free: 12.21 MB / 414.1 MB Notification: Performance of matching and sorting (n=32): time 0.002894/0.3335, allocations: 1.202 MB / 0.5693 GB, free: 10.9 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001242/0.3336, allocations: 136.5 kB / 0.5694 GB, free: 10.74 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000314/0.3339, allocations: 233 kB / 0.5696 GB, free: 10.5 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.512e-05/0.3339, allocations: 29.7 kB / 0.5696 GB, free: 10.46 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001702/0.3341, allocations: 180.5 kB / 0.5698 GB, free: 10.28 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00012/0.3342, allocations: 123.1 kB / 0.5699 GB, free: 10.16 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001391/0.3344, allocations: 70.09 kB / 0.57 GB, free: 10.09 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002048/0.3346, allocations: 346.7 kB / 0.5703 GB, free: 9.738 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000275/0.3349, allocations: 100.8 kB / 0.5704 GB, free: 9.641 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003942/0.3352, allocations: 241.4 kB / 0.5707 GB, free: 9.348 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007337/0.336, allocations: 369.2 kB / 0.571 GB, free: 8.926 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.336, allocations: 4 kB / 0.571 GB, free: 8.922 MB / 414.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0008534/0.3368, allocations: 397.2 kB / 0.5714 GB, free: 8.527 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.103e-05/0.3369, allocations: 14.03 kB / 0.5714 GB, free: 8.516 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.565e-05/0.3369, allocations: 4 kB / 0.5714 GB, free: 8.512 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.902e-05/0.3369, allocations: 8 kB / 0.5714 GB, free: 8.504 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004153/0.3373, allocations: 100.1 kB / 0.5715 GB, free: 8.406 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.678e-05/0.3374, allocations: 11.94 kB / 0.5715 GB, free: 8.395 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002167/0.3376, allocations: 31.97 kB / 0.5716 GB, free: 8.363 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.846e-05/0.3376, allocations: 16 kB / 0.5716 GB, free: 8.348 MB / 414.1 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 0.0001745/0.3378, allocations: 163 kB / 0.5717 GB, free: 8.18 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001027/0.3379, allocations: 27.81 kB / 0.5718 GB, free: 8.152 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.906e-05/0.338, allocations: 33.94 kB / 0.5718 GB, free: 8.117 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.905e-06/0.338, allocations: 7.984 kB / 0.5718 GB, free: 8.109 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.884e-06/0.338, allocations: 0 / 0.5718 GB, free: 8.109 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.284e-06/0.338, allocations: 4 kB / 0.5718 GB, free: 8.105 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001611/0.3396, allocations: 0.9263 MB / 0.5727 GB, free: 7.121 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.3396, allocations: 0 / 0.5727 GB, free: 7.121 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003844/0.34, allocations: 75.89 kB / 0.5728 GB, free: 7.047 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.28e-06/0.34, allocations: 0 / 0.5728 GB, free: 7.047 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.595e-05/0.34, allocations: 19.92 kB / 0.5728 GB, free: 7.027 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.013e-06/0.34, allocations: 4 kB / 0.5728 GB, free: 7.023 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.34, allocations: 0 / 0.5728 GB, free: 7.023 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001215/0.3412, allocations: 0.7334 MB / 0.5735 GB, free: 6.266 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.987e-05/0.3413, allocations: 27.75 kB / 0.5735 GB, free: 6.238 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.467e-05/0.3414, allocations: 12 kB / 0.5736 GB, free: 6.227 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002848/0.3416, allocations: 19.98 kB / 0.5736 GB, free: 6.207 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001214/0.3418, allocations: 31.89 kB / 0.5736 GB, free: 6.176 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.352e-05/0.3418, allocations: 15.98 kB / 0.5736 GB, free: 6.16 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.00017/0.342, allocations: 164.4 kB / 0.5738 GB, free: 5.996 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.342, allocations: 0 / 0.5738 GB, free: 5.996 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005088/0.3425, allocations: 68 kB / 0.5738 GB, free: 5.93 MB / 414.1 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.001397/0.3439, allocations: 1.27 MB / 0.5751 GB, free: 4.625 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000711/0.3446, allocations: 260.7 kB / 0.5753 GB, free: 4.371 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.651e-06/0.3446, allocations: 4 kB / 0.5753 GB, free: 4.367 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002852/0.3449, allocations: 124.3 kB / 0.5755 GB, free: 4.246 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006688/0.3455, allocations: 47.03 kB / 0.5755 GB, free: 4.203 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004998/0.3505, allocations: 3.514 MB / 0.5789 GB, free: 476 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001956/0.3507, allocations: 172 kB / 0.5791 GB, free: 288 kB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001397/0.3509, allocations: 34.95 kB / 0.5791 GB, free: 252 kB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001598/0.351, allocations: 95.39 kB / 0.5792 GB, free: 156 kB / 414.1 MB Notification: Performance of SimCode: time 1.152e-06/0.351, allocations: 0 / 0.5792 GB, free: 156 kB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03523/0.3863, allocations: 6.095 MB / 0.5852 GB, free: 10.18 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.2/11.58, allocations: 3.938 kB / 0.5852 GB, free: 10.18 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_Rotational_TestSpeed.fmu > ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/TestSpeed/TestSpeed.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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_trunk_ModelicaTest.Rotational.TestSpeed_res.csv. Warning: Get data of variable speed4.s from file ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.77086892677471]