Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001434/0.001434, allocations: 85.58 kB / 20.68 MB, free: 1.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001513/0.001513, allocations: 157.5 kB / 23.95 MB, free: 4.168 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.527/1.527, allocations: 177 MB / 204.1 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2173/0.2173, allocations: 34.26 MB / 294.8 MB, free: 14.54 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Rotational.TestSpeed") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.004e-06/2.004e-06, allocations: 0 / 442.6 MB, free: 5.344 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.272e-05/3.473e-05, allocations: 4.953 kB / 442.6 MB, free: 5.34 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestSpeed): time 0.006094/0.006128, allocations: 2.49 MB / 445.1 MB, free: 2.836 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001529/0.007657, allocations: 0.6893 MB / 445.8 MB, free: 2.141 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001627/0.00782, allocations: 11.88 kB / 445.8 MB, free: 2.129 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001688/0.007989, allocations: 47.52 kB / 445.9 MB, free: 2.082 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001957/0.008185, allocations: 95.14 kB / 446 MB, free: 1.988 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003184/0.008503, allocations: 107.8 kB / 446.1 MB, free: 1.883 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004057/0.008909, allocations: 342.4 kB / 446.4 MB, free: 1.547 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001659/0.009075, allocations: 58.12 kB / 446.5 MB, free: 1.48 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003252/0.0094, allocations: 195.5 kB / 446.6 MB, free: 1.289 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001749/0.009575, allocations: 103.7 kB / 446.7 MB, free: 1.188 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.411e-05/0.009619, allocations: 20 kB / 446.8 MB, free: 1.168 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.808e-05/0.009697, allocations: 27.94 kB / 446.8 MB, free: 1.141 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.887e-05/0.009756, allocations: 55.77 kB / 446.8 MB, free: 1.086 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001387/0.009894, allocations: 103.7 kB / 446.9 MB, free: 0.9844 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003994/0.01029, allocations: 306.9 kB / 447.2 MB, free: 0.6836 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.0103, allocations: 0 / 447.2 MB, free: 0.6836 MB / 366.1 MB Notification: Performance of FrontEnd: time 6.51e-07/0.0103, allocations: 0 / 447.2 MB, free: 0.6836 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.259e-06/0.0103, allocations: 0 / 447.2 MB, free: 0.6836 MB / 366.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.0009407/0.01124, allocations: 0.5245 MB / 447.8 MB, free: 132 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.01128, allocations: 8.031 kB / 447.8 MB, free: 124 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002604/0.01154, allocations: 60.67 kB / 447.8 MB, free: 64 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.183/0.1945, allocations: 200.5 kB / 448 MB, free: 19.46 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.845e-05/0.1945, allocations: 22.45 kB / 448.1 MB, free: 19.45 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.077e-05/0.1946, allocations: 29.98 kB / 448.1 MB, free: 19.45 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005188/0.1951, allocations: 272.3 kB / 448.4 MB, free: 19.37 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.36e-05/0.1952, allocations: 10.28 kB / 448.4 MB, free: 19.37 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.384e-05/0.1952, allocations: 11.34 kB / 448.4 MB, free: 19.36 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.267e-06/0.1952, allocations: 6.188 kB / 448.4 MB, free: 19.36 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004398/0.1956, allocations: 183 kB / 448.6 MB, free: 19.32 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00136/0.197, allocations: 1.168 MB / 449.7 MB, free: 18.36 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003863/0.1974, allocations: 240.2 kB / 450 MB, free: 18.21 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001946/0.1976, allocations: 92.83 kB / 450 MB, free: 18.16 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.109e-05/0.1976, allocations: 9.625 kB / 450.1 MB, free: 18.16 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.377e-05/0.1976, allocations: 43.2 kB / 450.1 MB, free: 18.11 MB / 366.1 MB Notification: Performance of pre-optimization done (n=26): time 1.723e-06/0.1976, allocations: 0 / 450.1 MB, free: 18.11 MB / 366.1 MB Notification: Performance of matching and sorting (n=32): time 0.002265/0.1999, allocations: 1.199 MB / 451.3 MB, free: 17.29 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.781e-05/0.1999, allocations: 140.8 kB / 451.4 MB, free: 17.12 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001667/0.2001, allocations: 230.6 kB / 451.7 MB, free: 16.98 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.978e-05/0.2001, allocations: 32.17 kB / 451.7 MB, free: 16.95 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.345e-05/0.2002, allocations: 188.8 kB / 451.9 MB, free: 16.79 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.73e-05/0.2002, allocations: 118.7 kB / 452 MB, free: 16.69 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.82e-05/0.2003, allocations: 66.58 kB / 452.1 MB, free: 16.65 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 5.476e-05/0.2004, allocations: 341.3 kB / 452.4 MB, free: 16.32 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002527/0.2006, allocations: 99.52 kB / 452.5 MB, free: 16.3 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002835/0.2009, allocations: 236.8 kB / 452.7 MB, free: 16.11 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005617/0.2015, allocations: 369.2 kB / 453.1 MB, free: 15.86 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/0.2015, allocations: 2.688 kB / 453.1 MB, free: 15.86 MB / 366.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007514/0.2022, allocations: 392.1 kB / 453.5 MB, free: 15.71 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.2023, allocations: 6.875 kB / 453.5 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/0.2023, allocations: 6.25 kB / 453.5 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.274e-05/0.2023, allocations: 7.859 kB / 453.5 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003812/0.2027, allocations: 102.5 kB / 453.6 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.384e-05/0.2027, allocations: 11.83 kB / 453.6 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000217/0.2029, allocations: 40.91 kB / 453.6 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.038e-05/0.2029, allocations: 18.36 kB / 453.7 MB, free: 15.67 MB / 366.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.0001193/0.203, allocations: 149.5 kB / 453.8 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001016/0.2032, allocations: 30.12 kB / 453.8 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.554e-05/0.2032, allocations: 35.94 kB / 453.9 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/0.2032, allocations: 4.688 kB / 453.9 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.2032, allocations: 5.203 kB / 453.9 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/0.2032, allocations: 3.016 kB / 453.9 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001222/0.2045, allocations: 0.8813 MB / 454.8 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.2045, allocations: 1 kB / 454.8 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003626/0.2048, allocations: 76.8 kB / 454.8 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.508e-06/0.2048, allocations: 6.5 kB / 454.8 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.399e-05/0.2048, allocations: 9.75 kB / 454.9 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.378e-06/0.2049, allocations: 4.156 kB / 454.9 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.2049, allocations: 1.125 kB / 454.9 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00092/0.2058, allocations: 0.7354 MB / 455.6 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.853e-05/0.2058, allocations: 29.95 kB / 455.6 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.35e-05/0.2059, allocations: 8.875 kB / 455.6 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002906/0.2061, allocations: 19.69 kB / 455.7 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.179e-05/0.2062, allocations: 24.53 kB / 455.7 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.827e-05/0.2062, allocations: 13.02 kB / 455.7 MB, free: 14.32 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001269/0.2064, allocations: 163.8 kB / 455.8 MB, free: 14.21 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2064, allocations: 0 / 455.8 MB, free: 14.21 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004828/0.2069, allocations: 68.88 kB / 455.9 MB, free: 14.2 MB / 366.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 9.462e-05/0.207, allocations: 104.3 kB / 456 MB, free: 14.11 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000616/0.2076, allocations: 279.2 kB / 456.3 MB, free: 14.03 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.2076, allocations: 1.312 kB / 456.3 MB, free: 14.03 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002714/0.2078, allocations: 130.6 kB / 456.4 MB, free: 13.99 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006326/0.2085, allocations: 38.11 kB / 456.5 MB, free: 13.98 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001055/0.2095, allocations: 0.7357 MB / 457.2 MB, free: 13.46 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001693/0.2097, allocations: 163.4 kB / 457.4 MB, free: 13.37 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001255/0.2098, allocations: 35.5 kB / 457.4 MB, free: 13.36 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.036e-05/0.2099, allocations: 27.27 kB / 457.4 MB, free: 13.36 MB / 366.1 MB Notification: Performance of SimCode: time 3.4e-07/0.2099, allocations: 3.719 kB / 457.4 MB, free: 13.36 MB / 366.1 MB Notification: Performance of Templates: time 0.00645/0.2164, allocations: 2.364 MB / 459.8 MB, free: 13.08 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.sim & ./ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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_trunk_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: 5.043377503752708]