Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.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.001304/0.001304, allocations: 80.05 kB / 20.72 MB, free: 3.77 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.001332/0.001332, allocations: 169 kB / 24.14 MB, free: 364 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.106/1.106, allocations: 158.6 MB / 186 MB, free: 2.773 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1573/0.1573, allocations: 32.38 MB / 270.7 MB, free: 14.61 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.InitializationConversion.SpringDamper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w|relativeStates.phi_rel|relativeStates.w_rel|springDamper1.phi_rel|springDamper1.w_rel|springDamper2.phi_rel|springDamper2.w_rel|springDamper3.phi_rel|springDamper3.w_rel",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper") translateModel(ModelicaTest.Rotational.InitializationConversion.SpringDamper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w|relativeStates.phi_rel|relativeStates.w_rel|springDamper1.phi_rel|springDamper1.w_rel|springDamper2.phi_rel|springDamper2.w_rel|springDamper3.phi_rel|springDamper3.w_rel",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.864e-06/1.864e-06, allocations: 0 / 299 MB, free: 2.23 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.66e-05/1.847e-05, allocations: 2.312 kB / 299.1 MB, free: 2.227 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.1959/0.196, allocations: 3.221 MB / 302.3 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001824/0.1978, allocations: 0.8674 MB / 303.1 MB, free: 18.87 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002377/0.198, allocations: 12.81 kB / 303.2 MB, free: 18.86 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002228/0.1982, allocations: 72.53 kB / 303.2 MB, free: 18.82 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003826/0.1986, allocations: 186.9 kB / 303.4 MB, free: 18.7 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003483/0.199, allocations: 111.2 kB / 303.5 MB, free: 18.68 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006336/0.1996, allocations: 0.6218 MB / 304.1 MB, free: 18.4 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000238/0.1998, allocations: 120.1 kB / 304.3 MB, free: 18.34 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004717/0.2003, allocations: 349.2 kB / 304.6 MB, free: 18.2 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002708/0.2006, allocations: 174 kB / 304.8 MB, free: 18.15 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 7.331e-05/0.2007, allocations: 43.22 kB / 304.8 MB, free: 18.15 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.742e-05/0.2007, allocations: 48.59 kB / 304.9 MB, free: 18.15 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.955e-05/0.2008, allocations: 105.5 kB / 305 MB, free: 18.08 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000186/0.201, allocations: 189.3 kB / 305.1 MB, free: 18 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000459/0.2015, allocations: 384.5 kB / 305.5 MB, free: 17.82 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.2015, allocations: 0.7031 kB / 305.5 MB, free: 17.82 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.2015, allocations: 0 / 305.5 MB, free: 17.82 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.763e-06/0.2015, allocations: 0 / 305.5 MB, free: 17.82 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: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.0007893/0.2023, allocations: 0.6744 MB / 306.2 MB, free: 17.35 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.2023, allocations: 9.062 kB / 306.2 MB, free: 17.35 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001271/0.2024, allocations: 73.11 kB / 306.3 MB, free: 17.34 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002989/0.2027, allocations: 231.2 kB / 306.5 MB, free: 17.15 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.167e-05/0.2028, allocations: 37.12 kB / 306.5 MB, free: 17.13 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.619e-05/0.2028, allocations: 58.67 kB / 306.6 MB, free: 17.11 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004238/0.2033, allocations: 330.9 kB / 306.9 MB, free: 16.98 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.551e-05/0.2033, allocations: 9.766 kB / 306.9 MB, free: 16.97 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.319e-05/0.2033, allocations: 23.97 kB / 306.9 MB, free: 16.95 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.476e-05/0.2033, allocations: 16.28 kB / 307 MB, free: 16.95 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002239/0.2035, allocations: 146 kB / 307.1 MB, free: 16.94 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001027/0.2046, allocations: 0.7567 MB / 307.9 MB, free: 16.51 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004212/0.205, allocations: 270.3 kB / 308.1 MB, free: 16.4 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001328/0.2051, allocations: 115.2 kB / 308.2 MB, free: 16.37 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.737e-05/0.2052, allocations: 16.36 kB / 308.3 MB, free: 16.36 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.456e-05/0.2052, allocations: 39.58 kB / 308.3 MB, free: 16.32 MB / 282.7 MB Notification: Performance of pre-optimization done (n=62): time 2.204e-06/0.2052, allocations: 0 / 308.3 MB, free: 16.32 MB / 282.7 MB Notification: Performance of matching and sorting (n=74): time 0.001858/0.207, allocations: 1.425 MB / 309.7 MB, free: 15.62 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.2e-05/0.2071, allocations: 85.84 kB / 309.8 MB, free: 15.52 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000157/0.2072, allocations: 231 kB / 310 MB, free: 15.38 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.827e-05/0.2073, allocations: 37.3 kB / 310.1 MB, free: 15.34 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.284e-05/0.2074, allocations: 196.8 kB / 310.3 MB, free: 15.18 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000135/0.2075, allocations: 286.3 kB / 310.5 MB, free: 14.95 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001129/0.2076, allocations: 121 kB / 310.7 MB, free: 14.88 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.9e-05/0.2077, allocations: 359 kB / 311 MB, free: 14.54 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.167e-05/0.2078, allocations: 66.59 kB / 311.1 MB, free: 14.54 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001636/0.2079, allocations: 191.4 kB / 311.3 MB, free: 14.41 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003054/0.2082, allocations: 320.1 kB / 311.6 MB, free: 14.27 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.2082, allocations: 1.375 kB / 311.6 MB, free: 14.27 MB / 282.7 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0004541/0.2087, allocations: 356.4 kB / 311.9 MB, free: 14.19 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.2087, allocations: 6.969 kB / 311.9 MB, free: 14.19 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.2087, allocations: 2.281 kB / 311.9 MB, free: 14.19 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.038e-05/0.2087, allocations: 7.047 kB / 311.9 MB, free: 14.19 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003949/0.2091, allocations: 174.6 kB / 312.1 MB, free: 14.18 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.27e-05/0.2091, allocations: 11 kB / 312.1 MB, free: 14.17 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001211/0.2093, allocations: 23.86 kB / 312.1 MB, free: 14.16 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.173e-05/0.2093, allocations: 26.12 kB / 312.2 MB, free: 14.15 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (97): * Single equations (assignments): 97 * 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 9.221e-05/0.2094, allocations: 142.5 kB / 312.3 MB, free: 14.01 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.606e-05/0.2095, allocations: 63.72 kB / 312.4 MB, free: 13.99 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.339e-05/0.2095, allocations: 54.53 kB / 312.4 MB, free: 13.95 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.847e-06/0.2095, allocations: 8.312 kB / 312.4 MB, free: 13.95 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.818e-06/0.2095, allocations: 0.8125 kB / 312.4 MB, free: 13.95 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.059e-05/0.2096, allocations: 5.203 kB / 312.4 MB, free: 13.95 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001003/0.2106, allocations: 0.9539 MB / 313.4 MB, free: 13.34 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.232e-06/0.2106, allocations: 4.781 kB / 313.4 MB, free: 13.34 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003805/0.2109, allocations: 157.1 kB / 313.5 MB, free: 13.32 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.256e-06/0.211, allocations: 6.312 kB / 313.6 MB, free: 13.32 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.402e-05/0.211, allocations: 21.23 kB / 313.6 MB, free: 13.31 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.404e-06/0.211, allocations: 7.312 kB / 313.6 MB, free: 13.31 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/0.211, allocations: 11.44 kB / 313.6 MB, free: 13.3 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005509/0.2115, allocations: 0.6501 MB / 314.2 MB, free: 12.93 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.576e-05/0.2116, allocations: 39.33 kB / 314.3 MB, free: 12.91 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.762e-05/0.2116, allocations: 20.41 kB / 314.3 MB, free: 12.9 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001294/0.2118, allocations: 16.53 kB / 314.3 MB, free: 12.89 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.617e-05/0.2118, allocations: 53.98 kB / 314.4 MB, free: 12.88 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.812e-05/0.2118, allocations: 20.17 kB / 314.4 MB, free: 12.87 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.418e-05/0.2119, allocations: 74.73 kB / 314.5 MB, free: 12.84 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2119, allocations: 0 / 314.5 MB, free: 12.84 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003197/0.2122, allocations: 146.9 kB / 314.6 MB, free: 12.82 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 14 (inertia6.phi,inertia6.w,relativeStates.phi_rel,relativeStates.w_rel,inertia4.phi,inertia4.w,inertia5.phi,inertia5.w,springDamper1.phi_rel,springDamper1.w_rel,springDamper2.phi_rel,springDamper2.w_rel,springDamper3.phi_rel,springDamper3.w_rel) * 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 (74): * Single equations (assignments): 74 * 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.0001137/0.2124, allocations: 102.4 kB / 314.7 MB, free: 12.73 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003989/0.2128, allocations: 322.2 kB / 315 MB, free: 12.65 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 8.336e-06/0.2128, allocations: 7.531 kB / 315 MB, free: 12.65 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001775/0.2129, allocations: 173.2 kB / 315.2 MB, free: 12.61 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004531/0.2134, allocations: 125.6 kB / 315.3 MB, free: 12.57 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001273/0.2147, allocations: 1.082 MB / 316.4 MB, free: 11.86 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.868e-05/0.2148, allocations: 129 kB / 316.5 MB, free: 11.79 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001216/0.2149, allocations: 59.39 kB / 316.6 MB, free: 11.78 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001962/0.2151, allocations: 159.4 kB / 316.7 MB, free: 11.73 MB / 282.7 MB Notification: Performance of SimCode: time 1.332e-06/0.2151, allocations: 0 / 316.7 MB, free: 11.73 MB / 282.7 MB Notification: Performance of Templates: time 0.007293/0.2224, allocations: 5.862 MB / 322.6 MB, free: 6.363 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.sim & ./ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/InitializationConversion/SpringDamper/SpringDamper.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.3539787023328245]