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.001917/0.001917, allocations: 84.34 kB / 20.95 MB, free: 3.453 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.00239/0.00239, allocations: 169.3 kB / 24.27 MB, free: 144 kB / 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 1.582/1.582, allocations: 177.1 MB / 204.6 MB, free: 5.598 MB / 186.7 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.3462/0.3462, allocations: 34.26 MB / 295.3 MB, free: 0.6719 MB / 266.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 2.705e-06/2.705e-06, allocations: 0 / 377.3 MB, free: 2.992 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.25e-05/3.521e-05, allocations: 2.312 kB / 377.3 MB, free: 2.988 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestSpeed): time 0.005834/0.005869, allocations: 2.486 MB / 379.7 MB, free: 496 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00205/0.007919, allocations: 0.6934 MB / 380.4 MB, free: 15.78 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002156/0.008135, allocations: 11.88 kB / 380.4 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002322/0.008367, allocations: 43.58 kB / 380.5 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003501/0.008717, allocations: 95.14 kB / 380.6 MB, free: 15.63 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004823/0.009199, allocations: 107.8 kB / 380.7 MB, free: 15.53 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000657/0.009856, allocations: 342.3 kB / 381 MB, free: 15.19 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002152/0.01007, allocations: 62.06 kB / 381.1 MB, free: 15.12 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000445/0.01052, allocations: 195.6 kB / 381.3 MB, free: 14.93 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002527/0.01077, allocations: 95.69 kB / 381.4 MB, free: 14.84 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 6.773e-05/0.01084, allocations: 20 kB / 381.4 MB, free: 14.82 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001233/0.01096, allocations: 35.94 kB / 381.4 MB, free: 14.79 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 9.797e-05/0.01106, allocations: 59.75 kB / 381.5 MB, free: 14.73 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002/0.01126, allocations: 95.75 kB / 381.6 MB, free: 14.63 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006812/0.01194, allocations: 310.9 kB / 381.9 MB, free: 14.33 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.01194, allocations: 4 kB / 381.9 MB, free: 14.32 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.01195, allocations: 0 / 381.9 MB, free: 14.32 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.444e-06/0.01195, allocations: 0 / 381.9 MB, free: 14.32 MB / 362.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.001531/0.01348, allocations: 0.5168 MB / 382.4 MB, free: 13.78 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.698e-05/0.01354, allocations: 8.031 kB / 382.4 MB, free: 13.77 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004852/0.01403, allocations: 76.67 kB / 382.5 MB, free: 13.7 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006439/0.01467, allocations: 217.2 kB / 382.7 MB, free: 13.46 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.734e-05/0.01471, allocations: 16.88 kB / 382.7 MB, free: 13.44 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.319e-05/0.0148, allocations: 36.33 kB / 382.7 MB, free: 13.41 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007628/0.01556, allocations: 277.7 kB / 383 MB, free: 13.11 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.382e-05/0.01559, allocations: 4.125 kB / 383 MB, free: 13.11 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.047e-05/0.01563, allocations: 12.38 kB / 383 MB, free: 13.09 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.584e-05/0.01564, allocations: 11.94 kB / 383 MB, free: 13.08 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006436/0.01629, allocations: 179.8 kB / 383.2 MB, free: 12.91 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002679/0.01897, allocations: 1.166 MB / 384.4 MB, free: 11.66 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007105/0.01968, allocations: 238.3 kB / 384.6 MB, free: 11.39 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003295/0.02001, allocations: 99.38 kB / 384.7 MB, free: 11.28 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.061e-05/0.02005, allocations: 16.06 kB / 384.7 MB, free: 11.27 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.843e-05/0.02013, allocations: 42.5 kB / 384.8 MB, free: 11.22 MB / 362.7 MB Notification: Performance of pre-optimization done (n=26): time 2.294e-06/0.02014, allocations: 0 / 384.8 MB, free: 11.22 MB / 362.7 MB Notification: Performance of matching and sorting (n=32): time 0.003977/0.02411, allocations: 1.208 MB / 386 MB, free: 9.895 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001288/0.02424, allocations: 132.5 kB / 386.1 MB, free: 9.734 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004027/0.02465, allocations: 229.8 kB / 386.3 MB, free: 9.5 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.152e-05/0.02469, allocations: 29.7 kB / 386.4 MB, free: 9.465 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002058/0.02489, allocations: 188.5 kB / 386.5 MB, free: 9.277 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001568/0.02505, allocations: 119 kB / 386.7 MB, free: 9.16 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000172/0.02522, allocations: 66.19 kB / 386.7 MB, free: 9.09 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002696/0.02549, allocations: 342.8 kB / 387.1 MB, free: 8.746 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003994/0.02589, allocations: 100.9 kB / 387.2 MB, free: 8.648 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007055/0.0266, allocations: 234.1 kB / 387.4 MB, free: 8.355 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001031/0.02763, allocations: 370 kB / 387.7 MB, free: 7.934 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.02763, allocations: 3.938 kB / 387.8 MB, free: 7.93 MB / 362.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001328/0.02896, allocations: 417.6 kB / 388.2 MB, free: 7.516 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.716e-05/0.02898, allocations: 8 kB / 388.2 MB, free: 7.508 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.445e-05/0.029, allocations: 4 kB / 388.2 MB, free: 7.504 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.46e-05/0.02903, allocations: 7.938 kB / 388.2 MB, free: 7.496 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00062/0.02965, allocations: 104.2 kB / 388.3 MB, free: 7.395 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.484e-05/0.02968, allocations: 15.94 kB / 388.3 MB, free: 7.379 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003559/0.03003, allocations: 27.92 kB / 388.3 MB, free: 7.352 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.777e-05/0.03008, allocations: 20 kB / 388.3 MB, free: 7.332 MB / 362.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 0.0002526/0.03034, allocations: 145.8 kB / 388.5 MB, free: 7.18 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002076/0.03054, allocations: 43.81 kB / 388.5 MB, free: 7.137 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.979e-05/0.03064, allocations: 33.77 kB / 388.6 MB, free: 7.109 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-05/0.03066, allocations: 7.938 kB / 388.6 MB, free: 7.102 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-05/0.03067, allocations: 4 kB / 388.6 MB, free: 7.098 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.03067, allocations: 0 / 388.6 MB, free: 7.098 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002383/0.03306, allocations: 0.8838 MB / 389.5 MB, free: 6.168 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.03306, allocations: 0 / 389.5 MB, free: 6.168 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005939/0.03365, allocations: 87.94 kB / 389.5 MB, free: 6.082 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.42e-06/0.03366, allocations: 0 / 389.5 MB, free: 6.082 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.901e-05/0.03369, allocations: 8 kB / 389.6 MB, free: 6.074 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.043e-06/0.03369, allocations: 4 kB / 389.6 MB, free: 6.07 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.0337, allocations: 0 / 389.6 MB, free: 6.07 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001667/0.03536, allocations: 0.7413 MB / 390.3 MB, free: 5.305 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.872e-05/0.03542, allocations: 23.81 kB / 390.3 MB, free: 5.281 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.212e-05/0.03549, allocations: 12.05 kB / 390.3 MB, free: 5.27 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005067/0.03599, allocations: 19.98 kB / 390.4 MB, free: 5.25 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001269/0.03612, allocations: 31.83 kB / 390.4 MB, free: 5.219 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.163e-05/0.03615, allocations: 12 kB / 390.4 MB, free: 5.207 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.00024/0.03639, allocations: 157.2 kB / 390.5 MB, free: 5.055 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.03639, allocations: 0 / 390.5 MB, free: 5.055 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009072/0.0373, allocations: 68 kB / 390.6 MB, free: 4.988 MB / 362.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 0.0001893/0.03749, allocations: 111.1 kB / 390.7 MB, free: 4.867 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001251/0.03874, allocations: 264.7 kB / 391 MB, free: 4.609 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.165e-06/0.03874, allocations: 128 / 391 MB, free: 4.609 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004667/0.03921, allocations: 131.9 kB / 391.1 MB, free: 4.48 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001138/0.04034, allocations: 60.53 kB / 391.2 MB, free: 4.422 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001806/0.04215, allocations: 0.744 MB / 391.9 MB, free: 3.633 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000248/0.0424, allocations: 164.1 kB / 392.1 MB, free: 3.449 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001763/0.04257, allocations: 30.97 kB / 392.1 MB, free: 3.422 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001198/0.04269, allocations: 28.5 kB / 392.1 MB, free: 3.395 MB / 362.7 MB Notification: Performance of SimCode: time 8.42e-07/0.0427, allocations: 0 / 392.1 MB, free: 3.395 MB / 362.7 MB Notification: Performance of Templates: time 0.01054/0.05323, allocations: 2.397 MB / 394.5 MB, free: 1.035 MB / 362.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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Rotational.TestSpeed.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/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: 4.995314743951894]