Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.00167/0.00167, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.002048/0.002048, allocations: 213.2 kB / 23.72 MB, free: 4.531 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.514/1.514, allocations: 230.6 MB / 257.5 MB, free: 7.82 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2255/0.2255, allocations: 46.95 MB / 360.9 MB, free: 4.164 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_1_0_ModelicaTest_Rotational_TestSpeed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.TestSpeed,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Rotational_TestSpeed",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001999/0.001999, allocations: 67.89 kB / 0.4961 GB, free: 7.773 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2986/0.3006, allocations: 66.03 MB / 0.5606 GB, free: 4.25 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestSpeed): time 0.004467/0.305, allocations: 2.481 MB / 0.563 GB, free: 1.758 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001742/0.3068, allocations: 0.6973 MB / 0.5637 GB, free: 1.055 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002218/0.307, allocations: 11.88 kB / 0.5637 GB, free: 1.043 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002265/0.3072, allocations: 43.52 kB / 0.5637 GB, free: 1 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002193/0.3075, allocations: 87.2 kB / 0.5638 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003539/0.3078, allocations: 103.8 kB / 0.5639 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004219/0.3082, allocations: 338.5 kB / 0.5642 GB, free: 492 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001953/0.3084, allocations: 63.89 kB / 0.5643 GB, free: 420 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002504/0.3087, allocations: 139.5 kB / 0.5644 GB, free: 280 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001994/0.3089, allocations: 135.4 kB / 0.5645 GB, free: 144 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.06e-05/0.3089, allocations: 20 kB / 0.5646 GB, free: 124 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.257e-05/0.309, allocations: 28 kB / 0.5646 GB, free: 96 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.495e-05/0.3091, allocations: 55.72 kB / 0.5646 GB, free: 40 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000142/0.3092, allocations: 127.4 kB / 0.5648 GB, free: 15.91 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004223/0.3096, allocations: 310.6 kB / 0.5651 GB, free: 15.61 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.3096, allocations: 0 / 0.5651 GB, free: 15.61 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.654e-06/0.3096, allocations: 4 kB / 0.5651 GB, free: 15.61 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.514e-06/0.3096, allocations: 0 / 0.5651 GB, free: 15.61 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.0009855/0.3106, allocations: 0.5168 MB / 0.5656 GB, free: 15.06 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.821e-05/0.3107, allocations: 16.02 kB / 0.5656 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.728e-05/0.3107, allocations: 58.67 kB / 0.5656 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002394/0.311, allocations: 52.73 kB / 0.5657 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004671/0.3114, allocations: 214 kB / 0.5659 GB, free: 14.69 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.134e-05/0.3115, allocations: 20.81 kB / 0.5659 GB, free: 14.67 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.484e-05/0.3115, allocations: 40.31 kB / 0.566 GB, free: 14.63 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005015/0.312, allocations: 281.2 kB / 0.5662 GB, free: 14.33 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.143e-05/0.3121, allocations: 7.953 kB / 0.5662 GB, free: 14.32 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.619e-05/0.3121, allocations: 12 kB / 0.5662 GB, free: 14.31 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.096e-05/0.3121, allocations: 8 kB / 0.5663 GB, free: 14.3 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004071/0.3125, allocations: 175.8 kB / 0.5664 GB, free: 14.13 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001697/0.3142, allocations: 1.199 MB / 0.5676 GB, free: 12.84 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004134/0.3146, allocations: 238.5 kB / 0.5678 GB, free: 12.57 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002037/0.3148, allocations: 95.39 kB / 0.5679 GB, free: 12.47 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.198e-05/0.3148, allocations: 4 kB / 0.5679 GB, free: 12.46 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.093e-05/0.3149, allocations: 38.56 kB / 0.568 GB, free: 12.42 MB / 414.1 MB Notification: Performance of pre-optimization done (n=26): time 1.734e-06/0.3149, allocations: 0 / 0.568 GB, free: 12.42 MB / 414.1 MB Notification: Performance of matching and sorting (n=32): time 0.002533/0.3174, allocations: 1.206 MB / 0.5691 GB, free: 11.1 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.275e-05/0.3175, allocations: 144.4 kB / 0.5693 GB, free: 10.93 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002401/0.3177, allocations: 229 kB / 0.5695 GB, free: 10.69 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.835e-05/0.3178, allocations: 33.7 kB / 0.5695 GB, free: 10.65 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001335/0.3179, allocations: 180.5 kB / 0.5697 GB, free: 10.47 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001079/0.318, allocations: 122.9 kB / 0.5698 GB, free: 10.35 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001085/0.3181, allocations: 70.28 kB / 0.5699 GB, free: 10.27 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002334/0.3184, allocations: 338.8 kB / 0.5702 GB, free: 9.934 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002478/0.3186, allocations: 108.8 kB / 0.5703 GB, free: 9.828 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003599/0.319, allocations: 237.5 kB / 0.5705 GB, free: 9.539 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006552/0.3196, allocations: 372.8 kB / 0.5709 GB, free: 9.113 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.3196, allocations: 0 / 0.5709 GB, free: 9.113 MB / 414.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0009167/0.3205, allocations: 393.5 kB / 0.5713 GB, free: 8.723 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.094e-05/0.3206, allocations: 8 kB / 0.5713 GB, free: 8.715 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/0.3206, allocations: 4 kB / 0.5713 GB, free: 8.711 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.394e-05/0.3206, allocations: 8 kB / 0.5713 GB, free: 8.703 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003911/0.321, allocations: 99.81 kB / 0.5714 GB, free: 8.605 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.538e-05/0.321, allocations: 11.98 kB / 0.5714 GB, free: 8.594 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002091/0.3212, allocations: 19.98 kB / 0.5714 GB, free: 8.574 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.008e-05/0.3212, allocations: 20 kB / 0.5714 GB, free: 8.555 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.0001698/0.3214, allocations: 161.8 kB / 0.5716 GB, free: 8.387 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001032/0.3215, allocations: 31.8 kB / 0.5716 GB, free: 8.355 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.681e-05/0.3216, allocations: 37.7 kB / 0.5716 GB, free: 8.316 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.181e-06/0.3216, allocations: 4 kB / 0.5716 GB, free: 8.312 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.854e-06/0.3216, allocations: 0 / 0.5716 GB, free: 8.312 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.032e-06/0.3216, allocations: 3.984 kB / 0.5716 GB, free: 8.309 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00151/0.3231, allocations: 0.9264 MB / 0.5726 GB, free: 7.324 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.3231, allocations: 0 / 0.5726 GB, free: 7.324 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003483/0.3235, allocations: 75.88 kB / 0.5726 GB, free: 7.25 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.3235, allocations: 4 kB / 0.5726 GB, free: 7.246 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.352e-05/0.3235, allocations: 11.94 kB / 0.5726 GB, free: 7.234 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.272e-06/0.3235, allocations: 4 kB / 0.5726 GB, free: 7.23 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.3235, allocations: 4.062 kB / 0.5726 GB, free: 7.227 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00102/0.3245, allocations: 0.7419 MB / 0.5734 GB, free: 6.461 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.033e-05/0.3246, allocations: 27.75 kB / 0.5734 GB, free: 6.434 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.316e-05/0.3246, allocations: 16 kB / 0.5734 GB, free: 6.418 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002795/0.3249, allocations: 27.97 kB / 0.5734 GB, free: 6.391 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.665e-05/0.325, allocations: 23.95 kB / 0.5735 GB, free: 6.367 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.472e-05/0.325, allocations: 12 kB / 0.5735 GB, free: 6.355 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001488/0.3252, allocations: 160.5 kB / 0.5736 GB, free: 6.195 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3252, allocations: 0 / 0.5736 GB, free: 6.195 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004936/0.3256, allocations: 68 kB / 0.5737 GB, free: 6.129 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.001297/0.3269, allocations: 1.274 MB / 0.5749 GB, free: 4.82 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006896/0.3276, allocations: 269 kB / 0.5752 GB, free: 4.559 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.3276, allocations: 0 / 0.5752 GB, free: 4.559 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002749/0.3279, allocations: 120.3 kB / 0.5753 GB, free: 4.441 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006563/0.3286, allocations: 40.81 kB / 0.5753 GB, free: 4.402 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004941/0.3335, allocations: 3.518 MB / 0.5788 GB, free: 0.6602 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001809/0.3337, allocations: 168 kB / 0.5789 GB, free: 492 kB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001628/0.3338, allocations: 34.95 kB / 0.579 GB, free: 456 kB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001727/0.334, allocations: 99.39 kB / 0.5791 GB, free: 356 kB / 414.1 MB Notification: Performance of SimCode: time 1.764e-06/0.334, allocations: 0 / 0.5791 GB, free: 356 kB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03532/0.3693, allocations: 6.109 MB / 0.585 GB, free: 10.39 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.93/11.3, allocations: 17.39 kB / 0.5851 GB, free: 10.38 MB / 430.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0_ModelicaTest.Rotational.TestSpeed.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Rotational.TestSpeed.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Rotational.TestSpeed.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Rotational.TestSpeed.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_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_4_1_0_ModelicaTest_Rotational_TestSpeed.fmu > ModelicaTest_4.1.0_ModelicaTest.Rotational.TestSpeed.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.0_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_4.1.0_ModelicaTest.Rotational.TestSpeed_res.csv. Warning: Get data of variable speed4.s from file ModelicaTest_4.1.0_ModelicaTest.Rotational.TestSpeed_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.327774031000445]