Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Rotational.TestSpeed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001048/0.001048, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001557/0.002605, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001547/0.001547, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.005261/0.006808, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9076/0.9076, allocations: 173.4 MB / 186 MB, free: 7.527 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1578/1.065, allocations: 52.48 MB / 238.5 MB, free: 7.621 MB / 234.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1369/0.1369, allocations: 32.8 MB / 272 MB, free: 6.293 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03376/0.1707, allocations: 12.53 MB / 284.5 MB, free: 9.711 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_ModelicaTest.Rotational.TestSpeed") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.232e-06/1.232e-06, allocations: 0 / 285.8 MB, free: 8.434 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.255e-05/1.379e-05, allocations: 5.266 kB / 285.8 MB, free: 8.43 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestSpeed): time 0.006082/0.006096, allocations: 2.656 MB / 288.5 MB, free: 5.762 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008983/0.006994, allocations: 0.6659 MB / 289.1 MB, free: 5.09 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001106/0.007105, allocations: 7.938 kB / 289.2 MB, free: 5.082 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 9.411e-05/0.007199, allocations: 39.53 kB / 289.2 MB, free: 5.043 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001469/0.007346, allocations: 95.06 kB / 289.3 MB, free: 4.949 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001549/0.007501, allocations: 91.88 kB / 289.4 MB, free: 4.859 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000313/0.007814, allocations: 346.4 kB / 289.7 MB, free: 4.52 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001365/0.00795, allocations: 56.11 kB / 289.8 MB, free: 4.465 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002482/0.008198, allocations: 220.1 kB / 290 MB, free: 4.25 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001377/0.008336, allocations: 95.69 kB / 290.1 MB, free: 4.156 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.083e-05/0.008377, allocations: 24 kB / 290.1 MB, free: 4.133 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.565e-05/0.008413, allocations: 20 kB / 290.1 MB, free: 4.113 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.121e-05/0.008454, allocations: 43.81 kB / 290.2 MB, free: 4.07 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003087/0.01154, allocations: 83.81 kB / 290.2 MB, free: 3.988 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000252/0.01179, allocations: 195.2 kB / 290.4 MB, free: 3.797 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.878e-06/0.0118, allocations: 0 / 290.4 MB, free: 3.797 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.0118, allocations: 0 / 290.4 MB, free: 3.797 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.218e-06/0.01181, allocations: 0 / 290.4 MB, free: 3.797 MB / 282.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.0006563/0.01247, allocations: 0.5464 MB / 291 MB, free: 3.227 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.215e-05/0.0125, allocations: 8.031 kB / 291 MB, free: 3.219 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.31e-05/0.01256, allocations: 44.91 kB / 291 MB, free: 3.176 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002432/0.01281, allocations: 197 kB / 291.2 MB, free: 2.957 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.833e-05/0.01283, allocations: 16.88 kB / 291.2 MB, free: 2.941 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.265e-05/0.01287, allocations: 28.38 kB / 291.3 MB, free: 2.914 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002701/0.01314, allocations: 234.3 kB / 291.5 MB, free: 2.656 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.76e-05/0.01316, allocations: 12.06 kB / 291.5 MB, free: 2.645 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.743e-05/0.01317, allocations: 12.38 kB / 291.5 MB, free: 2.633 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.18e-05/0.01319, allocations: 15.94 kB / 291.5 MB, free: 2.617 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001186/0.0133, allocations: 71.39 kB / 291.6 MB, free: 2.551 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009091/0.01421, allocations: 1.018 MB / 292.6 MB, free: 1.465 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001923/0.01441, allocations: 166.4 kB / 292.8 MB, free: 1.266 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003072/0.01748, allocations: 51.56 kB / 292.8 MB, free: 1.203 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.395e-05/0.0175, allocations: 11.98 kB / 292.8 MB, free: 1.191 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.478e-05/0.01753, allocations: 34.5 kB / 292.9 MB, free: 1.148 MB / 282.7 MB Notification: Performance of pre-optimization done (n=26): time 1.363e-06/0.01753, allocations: 4 kB / 292.9 MB, free: 1.145 MB / 282.7 MB Notification: Performance of matching and sorting (n=32): time 0.0009107/0.01844, allocations: 0.8238 MB / 293.7 MB, free: 212 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.682e-05/0.01848, allocations: 140.5 kB / 293.8 MB, free: 40 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001269/0.01861, allocations: 220.9 kB / 294.1 MB, free: 15.81 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.57e-05/0.01863, allocations: 29.7 kB / 294.1 MB, free: 15.78 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.704e-05/0.01869, allocations: 172.5 kB / 294.3 MB, free: 15.6 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.495e-05/0.01875, allocations: 126.9 kB / 294.4 MB, free: 15.48 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.224e-05/0.01881, allocations: 74.11 kB / 294.5 MB, free: 15.4 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.023e-05/0.01889, allocations: 334.8 kB / 294.8 MB, free: 15.06 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.993e-05/0.01893, allocations: 36.97 kB / 294.8 MB, free: 15.02 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.708e-05/0.01903, allocations: 174 kB / 295 MB, free: 14.8 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001752/0.0192, allocations: 250 kB / 295.2 MB, free: 14.49 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.01921, allocations: 4 kB / 295.2 MB, free: 14.49 MB / 298.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0002207/0.01943, allocations: 233.2 kB / 295.5 MB, free: 14.25 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.01944, allocations: 8.406 kB / 295.5 MB, free: 14.25 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.01945, allocations: 8 kB / 295.5 MB, free: 14.24 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.01946, allocations: 8 kB / 295.5 MB, free: 14.23 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001953/0.01966, allocations: 111.8 kB / 295.6 MB, free: 14.12 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.01966, allocations: 7.938 kB / 295.6 MB, free: 14.11 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.302e-05/0.01975, allocations: 19.98 kB / 295.6 MB, free: 14.09 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.387e-05/0.01976, allocations: 16 kB / 295.6 MB, free: 14.08 MB / 298.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 8.987e-05/0.01985, allocations: 137.7 kB / 295.8 MB, free: 13.93 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.716e-05/0.01991, allocations: 27.97 kB / 295.8 MB, free: 13.91 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.318e-05/0.01995, allocations: 33.77 kB / 295.8 MB, free: 13.88 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.01995, allocations: 12 kB / 295.8 MB, free: 13.87 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.01996, allocations: 3.938 kB / 295.9 MB, free: 13.86 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.01996, allocations: 0 / 295.9 MB, free: 13.86 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005871/0.02055, allocations: 0.6539 MB / 296.5 MB, free: 13.18 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.02055, allocations: 4 kB / 296.5 MB, free: 13.17 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001799/0.02073, allocations: 83.88 kB / 296.6 MB, free: 13.09 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.362e-05/0.02076, allocations: 23.81 kB / 296.6 MB, free: 13.07 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.02076, allocations: 8.062 kB / 296.6 MB, free: 13.06 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.304e-05/0.02077, allocations: 8 kB / 296.6 MB, free: 13.05 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.669e-06/0.02078, allocations: 7.938 kB / 296.6 MB, free: 13.04 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.02078, allocations: 0 / 296.6 MB, free: 13.04 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003132/0.02109, allocations: 0.5269 MB / 297.2 MB, free: 12.49 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.265e-05/0.02112, allocations: 8 kB / 297.2 MB, free: 12.48 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001226/0.02124, allocations: 15.98 kB / 297.2 MB, free: 12.47 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.71e-05/0.02129, allocations: 31.89 kB / 297.2 MB, free: 12.44 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.664e-06/0.0213, allocations: 4 kB / 297.2 MB, free: 12.43 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.132e-05/0.02135, allocations: 74.78 kB / 297.3 MB, free: 12.36 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02135, allocations: 0 / 297.3 MB, free: 12.36 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002629/0.02162, allocations: 68 kB / 297.4 MB, free: 12.29 MB / 298.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.607e-05/0.02169, allocations: 88.28 kB / 297.4 MB, free: 12.19 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001706/0.02186, allocations: 158.5 kB / 297.6 MB, free: 12.04 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 9.639e-06/0.02187, allocations: 4.281 kB / 297.6 MB, free: 12.03 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 8.715e-05/0.02196, allocations: 104.6 kB / 297.7 MB, free: 11.93 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004252/0.02239, allocations: 286.6 kB / 298 MB, free: 11.6 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002382/0.02477, allocations: 0.6192 MB / 298.6 MB, free: 10.94 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.673e-05/0.02484, allocations: 96.91 kB / 298.7 MB, free: 10.82 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 8.152e-05/0.02493, allocations: 30.97 kB / 298.7 MB, free: 10.79 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001087/0.02503, allocations: 95.36 kB / 298.8 MB, free: 10.7 MB / 298.7 MB Notification: Performance of SimCode: time 9.72e-07/0.02504, allocations: 3.938 kB / 298.8 MB, free: 10.7 MB / 298.7 MB Notification: Performance of Templates: time 0.004116/0.02915, allocations: 2.38 MB / 301.2 MB, free: 8.363 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.TestSpeed.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.TestSpeed.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.TestSpeed.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.TestSpeed.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.TestSpeed.sim & ./ModelicaTest_4.0.0_ModelicaTest.Rotational.TestSpeed -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Rotational.TestSpeed.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.TestSpeed_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/TestSpeed/TestSpeed.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.825318820774555]