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.001546/0.001546, allocations: 115.9 kB / 20.43 MB, free: 1.449 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.001738/0.001738, allocations: 213.4 kB / 23.74 MB, free: 4.656 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.512/1.512, allocations: 230.6 MB / 257.5 MB, free: 8.02 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.2364/0.2364, allocations: 46.93 MB / 360.9 MB, free: 4.273 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.002316/0.002316, allocations: 67.89 kB / 0.4961 GB, free: 7.926 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3416/0.3439, allocations: 66.04 MB / 0.5606 GB, free: 4.359 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestSpeed): time 0.004555/0.3485, allocations: 2.644 MB / 0.5632 GB, free: 1.703 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001965/0.3504, allocations: 0.7439 MB / 0.5639 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002279/0.3507, allocations: 7.938 kB / 0.564 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00022/0.3509, allocations: 47.52 kB / 0.564 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002268/0.3511, allocations: 91.2 kB / 0.5641 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003897/0.3515, allocations: 99.8 kB / 0.5642 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004673/0.352, allocations: 334.5 kB / 0.5645 GB, free: 392 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002253/0.3522, allocations: 63.89 kB / 0.5646 GB, free: 320 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002987/0.3525, allocations: 139.5 kB / 0.5647 GB, free: 180 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002198/0.3527, allocations: 131.3 kB / 0.5648 GB, free: 48 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.008e-05/0.3527, allocations: 24 kB / 0.5648 GB, free: 24 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001167/0.3529, allocations: 32.03 kB / 0.5649 GB, free: 15.99 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.925e-05/0.3529, allocations: 55.73 kB / 0.5649 GB, free: 15.94 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001586/0.3531, allocations: 151.2 kB / 0.5651 GB, free: 15.79 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004861/0.3536, allocations: 306.6 kB / 0.5654 GB, free: 15.49 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.3536, allocations: 0 / 0.5654 GB, free: 15.49 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.587e-06/0.3536, allocations: 3.984 kB / 0.5654 GB, free: 15.48 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.556e-06/0.3536, allocations: 0 / 0.5654 GB, free: 15.48 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.0009697/0.3545, allocations: 0.5284 MB / 0.5659 GB, free: 14.93 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/0.3546, allocations: 8.031 kB / 0.5659 GB, free: 14.92 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.12e-05/0.3547, allocations: 58.72 kB / 0.5659 GB, free: 14.85 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002445/0.3549, allocations: 48.73 kB / 0.566 GB, free: 14.8 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000434/0.3553, allocations: 218 kB / 0.5662 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.448e-05/0.3554, allocations: 16.88 kB / 0.5662 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.007e-05/0.3554, allocations: 36.33 kB / 0.5663 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005114/0.3559, allocations: 277.2 kB / 0.5665 GB, free: 14.22 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.805e-05/0.356, allocations: 11.94 kB / 0.5665 GB, free: 14.21 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.585e-05/0.356, allocations: 8 kB / 0.5665 GB, free: 14.2 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.304e-05/0.356, allocations: 12 kB / 0.5665 GB, free: 14.19 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004367/0.3564, allocations: 187.7 kB / 0.5667 GB, free: 14 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002065/0.3585, allocations: 1.238 MB / 0.5679 GB, free: 12.68 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004505/0.359, allocations: 234.5 kB / 0.5682 GB, free: 12.41 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002071/0.3592, allocations: 95.39 kB / 0.5682 GB, free: 12.3 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.082e-05/0.3592, allocations: 7.984 kB / 0.5683 GB, free: 12.3 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.93e-05/0.3592, allocations: 42.5 kB / 0.5683 GB, free: 12.25 MB / 414.1 MB Notification: Performance of pre-optimization done (n=26): time 1.523e-06/0.3592, allocations: 0 / 0.5683 GB, free: 12.25 MB / 414.1 MB Notification: Performance of matching and sorting (n=32): time 0.002591/0.3618, allocations: 1.201 MB / 0.5695 GB, free: 10.93 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.544e-05/0.3619, allocations: 132.5 kB / 0.5696 GB, free: 10.77 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00026/0.3622, allocations: 237 kB / 0.5698 GB, free: 10.52 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.092e-05/0.3622, allocations: 33.7 kB / 0.5699 GB, free: 10.48 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001346/0.3623, allocations: 172.6 kB / 0.57 GB, free: 10.31 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001123/0.3625, allocations: 126.9 kB / 0.5701 GB, free: 10.19 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.886e-05/0.3626, allocations: 70.12 kB / 0.5702 GB, free: 10.11 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001568/0.3627, allocations: 338.8 kB / 0.5705 GB, free: 9.773 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00026/0.363, allocations: 100.8 kB / 0.5706 GB, free: 9.676 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003749/0.3634, allocations: 241.4 kB / 0.5709 GB, free: 9.383 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006413/0.364, allocations: 370.3 kB / 0.5712 GB, free: 8.961 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/0.364, allocations: 4 kB / 0.5712 GB, free: 8.957 MB / 414.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007808/0.3648, allocations: 396.9 kB / 0.5716 GB, free: 8.562 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.585e-05/0.3648, allocations: 7.984 kB / 0.5716 GB, free: 8.555 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.307e-05/0.3648, allocations: 8 kB / 0.5716 GB, free: 8.547 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.07e-05/0.3648, allocations: 4 kB / 0.5716 GB, free: 8.543 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003867/0.3652, allocations: 104.1 kB / 0.5717 GB, free: 8.441 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.602e-05/0.3652, allocations: 11.94 kB / 0.5717 GB, free: 8.43 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002455/0.3655, allocations: 36.23 kB / 0.5718 GB, free: 8.395 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.793e-05/0.3655, allocations: 12 kB / 0.5718 GB, free: 8.383 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.0001766/0.3657, allocations: 157.7 kB / 0.5719 GB, free: 8.219 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001075/0.3658, allocations: 31.81 kB / 0.5719 GB, free: 8.188 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.065e-05/0.3659, allocations: 29.7 kB / 0.572 GB, free: 8.156 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.3659, allocations: 4 kB / 0.572 GB, free: 8.152 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.008e-05/0.3659, allocations: 4 kB / 0.572 GB, free: 8.148 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.3659, allocations: 0 / 0.572 GB, free: 8.148 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001605/0.3675, allocations: 0.9574 MB / 0.5729 GB, free: 7.133 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.001e-06/0.3675, allocations: 4 kB / 0.5729 GB, free: 7.129 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003581/0.3679, allocations: 71.89 kB / 0.573 GB, free: 7.059 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.101e-06/0.3679, allocations: 4 kB / 0.573 GB, free: 7.055 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.643e-05/0.3679, allocations: 16.16 kB / 0.573 GB, free: 7.039 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.3679, allocations: 0 / 0.573 GB, free: 7.039 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.3679, allocations: 4 kB / 0.573 GB, free: 7.035 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001049/0.369, allocations: 0.7342 MB / 0.5737 GB, free: 6.277 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.853e-05/0.369, allocations: 31.8 kB / 0.5738 GB, free: 6.246 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.722e-05/0.3691, allocations: 12 kB / 0.5738 GB, free: 6.234 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003073/0.3694, allocations: 19.98 kB / 0.5738 GB, free: 6.215 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.154e-05/0.3695, allocations: 32.11 kB / 0.5738 GB, free: 6.184 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.189e-05/0.3695, allocations: 15.98 kB / 0.5738 GB, free: 6.168 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001693/0.3696, allocations: 156.5 kB / 0.574 GB, free: 6.012 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3696, allocations: 7.938 kB / 0.574 GB, free: 6.004 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005365/0.3702, allocations: 72 kB / 0.5741 GB, free: 5.934 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.001414/0.3716, allocations: 1.27 MB / 0.5753 GB, free: 4.629 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006879/0.3723, allocations: 264 kB / 0.5756 GB, free: 4.371 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.57e-06/0.3723, allocations: 4 kB / 0.5756 GB, free: 4.367 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003084/0.3726, allocations: 132.8 kB / 0.5757 GB, free: 4.238 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007214/0.3733, allocations: 41.31 kB / 0.5757 GB, free: 4.199 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005231/0.3785, allocations: 3.506 MB / 0.5791 GB, free: 480 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004776/0.379, allocations: 0.7719 MB / 0.5799 GB, free: 15.67 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001541/0.3792, allocations: 38.89 kB / 0.5799 GB, free: 15.63 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000172/0.3794, allocations: 95.41 kB / 0.58 GB, free: 15.54 MB / 430.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3794, allocations: 0 / 0.58 GB, free: 15.54 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03912/0.4185, allocations: 5.748 MB / 0.5856 GB, free: 9.938 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.59/12, allocations: 0 / 0.5856 GB, free: 9.938 MB / 430.1 MB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Rotational.TestSpeed_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Rotational_TestSpeed_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219824 --timeout=50 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.042507629841566]