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.001056/0.001056, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001493/0.001493, allocations: 167.9 kB / 25.61 MB, free: 8.582 MB / 18.57 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 0.9471/0.9471, allocations: 177.1 MB / 206 MB, free: 4.488 MB / 186.7 MB " [Timeout remaining time 179] 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.1993/0.1993, allocations: 34.26 MB / 296.9 MB, free: 13.91 MB / 282.7 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: translateModel(ModelicaTest.Rotational.TestSpeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|speed1.phi|speed1.w|speed2.phi|speed3.s|speed3.v|speed4.s",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Rotational.TestSpeed") translateModel(ModelicaTest.Rotational.TestSpeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|speed1.phi|speed1.w|speed2.phi|speed3.s|speed3.v|speed4.s",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Rotational.TestSpeed") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 379.3 MB, free: 23.43 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.315e-05/2.467e-05, allocations: 10.19 kB / 379.3 MB, free: 23.42 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestSpeed): time 0.002772/0.002796, allocations: 2.599 MB / 381.9 MB, free: 20.8 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001354/0.004151, allocations: 0.7088 MB / 382.6 MB, free: 20.09 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001809/0.004332, allocations: 11.94 kB / 382.6 MB, free: 20.08 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001685/0.0045, allocations: 47.52 kB / 382.6 MB, free: 20.03 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00017/0.00467, allocations: 91.14 kB / 382.7 MB, free: 19.94 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003181/0.004988, allocations: 99.83 kB / 382.8 MB, free: 19.84 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003153/0.005303, allocations: 354.3 kB / 383.2 MB, free: 19.5 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001565/0.00546, allocations: 62.05 kB / 383.2 MB, free: 19.43 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003047/0.005765, allocations: 199.5 kB / 383.4 MB, free: 19.24 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001521/0.005917, allocations: 99.69 kB / 383.5 MB, free: 19.14 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.745e-05/0.005954, allocations: 20 kB / 383.5 MB, free: 19.12 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.286e-05/0.006027, allocations: 24 kB / 383.6 MB, free: 19.1 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.326e-05/0.00607, allocations: 63.77 kB / 383.6 MB, free: 19.04 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 8.334e-05/0.006154, allocations: 95.73 kB / 383.7 MB, free: 18.94 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002962/0.00645, allocations: 215.2 kB / 383.9 MB, free: 18.73 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.006453, allocations: 0 / 383.9 MB, free: 18.73 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.31e-07/0.006454, allocations: 0 / 383.9 MB, free: 18.73 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.71e-06/0.006459, allocations: 0 / 383.9 MB, free: 18.73 MB / 314.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.0006806/0.00714, allocations: 0.6166 MB / 384.5 MB, free: 18.08 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.007178, allocations: 12.03 kB / 384.6 MB, free: 18.07 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002118/0.00739, allocations: 72.69 kB / 384.6 MB, free: 18 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002216/0.007612, allocations: 220 kB / 384.8 MB, free: 17.75 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.443e-05/0.007636, allocations: 16.88 kB / 384.9 MB, free: 17.73 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.038e-05/0.007687, allocations: 32.36 kB / 384.9 MB, free: 17.7 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002864/0.007973, allocations: 243.3 kB / 385.1 MB, free: 17.43 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.955e-05/0.007993, allocations: 12.14 kB / 385.1 MB, free: 17.42 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.997e-05/0.008013, allocations: 16.36 kB / 385.2 MB, free: 17.41 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.717e-06/0.008021, allocations: 11.94 kB / 385.2 MB, free: 17.39 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001342/0.008156, allocations: 83.78 kB / 385.2 MB, free: 17.31 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001254/0.009409, allocations: 1.378 MB / 386.6 MB, free: 15.85 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002234/0.009633, allocations: 212.2 kB / 386.8 MB, free: 15.59 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.5e-05/0.009688, allocations: 66.86 kB / 386.9 MB, free: 15.51 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.571e-05/0.009713, allocations: 8 kB / 386.9 MB, free: 15.5 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.402e-05/0.009737, allocations: 41.38 kB / 386.9 MB, free: 15.45 MB / 314.7 MB Notification: Performance of pre-optimization done (n=26): time 2.926e-06/0.00974, allocations: 4 kB / 386.9 MB, free: 15.45 MB / 314.7 MB Notification: Performance of matching and sorting (n=32): time 0.0009575/0.0107, allocations: 0.8412 MB / 387.8 MB, free: 14.48 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.548e-05/0.01073, allocations: 144.4 kB / 387.9 MB, free: 14.31 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001098/0.01084, allocations: 280.1 kB / 388.2 MB, free: 14.02 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.126e-05/0.01085, allocations: 33.7 kB / 388.2 MB, free: 13.98 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.357e-05/0.01092, allocations: 227.2 kB / 388.5 MB, free: 13.75 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.503e-05/0.01096, allocations: 119 kB / 388.6 MB, free: 13.64 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.175e-05/0.01102, allocations: 71.81 kB / 388.6 MB, free: 13.56 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.125e-05/0.01108, allocations: 0.5156 MB / 389.2 MB, free: 13.03 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.082e-05/0.01112, allocations: 32.97 kB / 389.2 MB, free: 13 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.93e-05/0.01121, allocations: 230.6 kB / 389.4 MB, free: 12.69 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001598/0.01137, allocations: 305.8 kB / 389.7 MB, free: 12.3 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.01137, allocations: 4 kB / 389.7 MB, free: 12.3 MB / 314.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0002362/0.0116, allocations: 276.9 kB / 390 MB, free: 12.02 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.01162, allocations: 4 kB / 390 MB, free: 12.02 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.01162, allocations: 8 kB / 390 MB, free: 12.01 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.047e-05/0.01163, allocations: 4.406 kB / 390 MB, free: 12.01 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001735/0.01181, allocations: 103.8 kB / 390.1 MB, free: 11.91 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.77e-06/0.01181, allocations: 11.94 kB / 390.1 MB, free: 11.89 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.657e-05/0.0119, allocations: 23.94 kB / 390.1 MB, free: 11.87 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.37e-05/0.01191, allocations: 15.98 kB / 390.2 MB, free: 11.86 MB / 314.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 6.575e-05/0.01198, allocations: 176.5 kB / 390.3 MB, free: 11.67 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.315e-05/0.01204, allocations: 39.81 kB / 390.4 MB, free: 11.63 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.756e-05/0.01208, allocations: 37.77 kB / 390.4 MB, free: 11.59 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.115e-06/0.01208, allocations: 4 kB / 390.4 MB, free: 11.59 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.025e-06/0.01209, allocations: 3.938 kB / 390.4 MB, free: 11.58 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.01209, allocations: 8 kB / 390.4 MB, free: 11.57 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005209/0.01261, allocations: 0.9165 MB / 391.3 MB, free: 10.61 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.01262, allocations: 4 kB / 391.3 MB, free: 10.61 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001501/0.01277, allocations: 67.89 kB / 391.4 MB, free: 10.54 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.01277, allocations: 4 kB / 391.4 MB, free: 10.54 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.31e-05/0.01278, allocations: 15.98 kB / 391.4 MB, free: 10.52 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.01278, allocations: 4 kB / 391.4 MB, free: 10.52 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.01278, allocations: 8 kB / 391.4 MB, free: 10.51 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002703/0.01305, allocations: 0.7387 MB / 392.2 MB, free: 9.742 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.951e-05/0.01307, allocations: 24.03 kB / 392.2 MB, free: 9.719 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.082e-05/0.0131, allocations: 8 kB / 392.2 MB, free: 9.711 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001245/0.01322, allocations: 15.98 kB / 392.2 MB, free: 9.695 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.24e-05/0.01326, allocations: 27.94 kB / 392.3 MB, free: 9.668 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.305e-06/0.01327, allocations: 8 kB / 392.3 MB, free: 9.66 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.399e-05/0.01331, allocations: 197 kB / 392.5 MB, free: 9.473 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01331, allocations: 0 / 392.5 MB, free: 9.473 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002847/0.0136, allocations: 71.94 kB / 392.5 MB, free: 9.402 MB / 314.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 7.634e-05/0.01368, allocations: 103.2 kB / 392.6 MB, free: 9.293 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001731/0.01385, allocations: 165 kB / 392.8 MB, free: 9.129 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.01385, allocations: 4 kB / 392.8 MB, free: 9.125 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 6.468e-05/0.01391, allocations: 76.86 kB / 392.9 MB, free: 9.047 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004042/0.01432, allocations: 55.92 kB / 392.9 MB, free: 9 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007705/0.01509, allocations: 0.7419 MB / 393.7 MB, free: 8.211 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.987e-05/0.01514, allocations: 96.86 kB / 393.8 MB, free: 8.094 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 7.41e-05/0.01521, allocations: 34.95 kB / 393.8 MB, free: 8.059 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.083e-05/0.0153, allocations: 114.2 kB / 393.9 MB, free: 7.945 MB / 314.7 MB Notification: Performance of SimCode: time 7.51e-07/0.01531, allocations: 0 / 393.9 MB, free: 7.945 MB / 314.7 MB Notification: Performance of Templates: time 0.004027/0.01933, allocations: 2.68 MB / 396.6 MB, free: 5.305 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Rotational.TestSpeed.makefile [Timeout 660] (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 & ./ModelicaTest_4.1.0_ModelicaTest.Rotational.TestSpeed -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Rotational.TestSpeed.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Rotational.TestSpeed_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/TestSpeed/TestSpeed.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.386845546308905]