Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.0008627/0.0008627, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.003213/0.003213, allocations: 164.2 kB / 24.7 MB, free: 8.895 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.8733/0.8733, allocations: 177.1 MB / 205 MB, free: 5.754 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.266/0.266, allocations: 34.26 MB / 295.7 MB, free: 0.7266 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.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_4.1.0_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_4.1.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.377e-06/3.377e-06, allocations: 4 kB / 443.4 MB, free: 1.188 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.085e-05/3.423e-05, allocations: 2.281 kB / 443.4 MB, free: 1.184 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.1957/0.1957, allocations: 2.999 MB / 446.4 MB, free: 43.04 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009466/0.1967, allocations: 0.8066 MB / 447.2 MB, free: 42.7 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001576/0.1968, allocations: 13.66 kB / 447.2 MB, free: 42.7 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001395/0.197, allocations: 75.64 kB / 447.3 MB, free: 42.65 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001844/0.1972, allocations: 183.2 kB / 447.5 MB, free: 42.53 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001693/0.1973, allocations: 113.6 kB / 447.6 MB, free: 42.52 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002807/0.1976, allocations: 0.6161 MB / 448.2 MB, free: 42.21 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001885/0.1978, allocations: 117.9 kB / 448.3 MB, free: 42.16 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002135/0.198, allocations: 351.2 kB / 448.7 MB, free: 42.02 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000139/0.1982, allocations: 173.2 kB / 448.8 MB, free: 41.97 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.661e-05/0.1982, allocations: 43.38 kB / 448.9 MB, free: 41.97 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.829e-05/0.1982, allocations: 47.19 kB / 448.9 MB, free: 41.96 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.783e-05/0.1983, allocations: 103.1 kB / 449 MB, free: 41.89 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 9.042e-05/0.1984, allocations: 187.2 kB / 449.2 MB, free: 41.82 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003046/0.1987, allocations: 0.5674 MB / 449.8 MB, free: 41.61 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.1987, allocations: 0 / 449.8 MB, free: 41.61 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1987, allocations: 0 / 449.8 MB, free: 41.61 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.134e-06/0.1987, allocations: 0 / 449.8 MB, free: 41.61 MB / 410.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.000604/0.1993, allocations: 0.698 MB / 450.5 MB, free: 41.1 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.507e-05/0.1993, allocations: 8.438 kB / 450.5 MB, free: 41.1 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.126e-05/0.1994, allocations: 57.3 kB / 450.5 MB, free: 41.07 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002927/0.1997, allocations: 250.1 kB / 450.8 MB, free: 40.87 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.468e-05/0.1997, allocations: 37.31 kB / 450.8 MB, free: 40.86 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.958e-05/0.1998, allocations: 60.95 kB / 450.9 MB, free: 40.83 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003691/0.2001, allocations: 436.9 kB / 451.3 MB, free: 40.63 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.207e-05/0.2001, allocations: 14.39 kB / 451.3 MB, free: 40.62 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.485e-05/0.2002, allocations: 23.59 kB / 451.4 MB, free: 40.61 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.558e-06/0.2002, allocations: 17.81 kB / 451.4 MB, free: 40.6 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003075/0.2005, allocations: 305.9 kB / 451.7 MB, free: 40.51 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008688/0.2014, allocations: 0.9339 MB / 452.6 MB, free: 39.92 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004435/0.2018, allocations: 386 kB / 453 MB, free: 39.76 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001592/0.202, allocations: 195.3 kB / 453.2 MB, free: 39.68 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.931e-05/0.202, allocations: 6.375 kB / 453.2 MB, free: 39.68 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.532e-05/0.202, allocations: 43.78 kB / 453.2 MB, free: 39.63 MB / 410.7 MB Notification: Performance of pre-optimization done (n=62): time 2.254e-06/0.202, allocations: 224 / 453.2 MB, free: 39.63 MB / 410.7 MB Notification: Performance of matching and sorting (n=74): time 0.001653/0.2037, allocations: 1.854 MB / 455.1 MB, free: 38.53 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.692e-05/0.2037, allocations: 90.55 kB / 455.2 MB, free: 38.43 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001231/0.2038, allocations: 234.8 kB / 455.4 MB, free: 38.28 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.583e-05/0.2038, allocations: 40.36 kB / 455.4 MB, free: 38.24 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.417e-05/0.2039, allocations: 216.4 kB / 455.6 MB, free: 38.05 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.609e-05/0.204, allocations: 269 kB / 455.9 MB, free: 37.84 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.899e-05/0.204, allocations: 125 kB / 456 MB, free: 37.77 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.511e-05/0.2041, allocations: 352 kB / 456.4 MB, free: 37.44 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001463/0.2042, allocations: 156.5 kB / 456.5 MB, free: 37.39 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001823/0.2044, allocations: 279.4 kB / 456.8 MB, free: 37.22 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003538/0.2048, allocations: 465.6 kB / 457.3 MB, free: 36.94 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.2048, allocations: 12.25 kB / 457.3 MB, free: 36.93 MB / 410.7 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0004349/0.2052, allocations: 0.5672 MB / 457.8 MB, free: 36.69 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.2052, allocations: 6.781 kB / 457.8 MB, free: 36.69 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/0.2052, allocations: 3.281 kB / 457.8 MB, free: 36.69 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/0.2053, allocations: 6.219 kB / 457.8 MB, free: 36.69 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002905/0.2055, allocations: 180.5 kB / 458 MB, free: 36.67 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/0.2056, allocations: 10.25 kB / 458 MB, free: 36.67 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001379/0.2057, allocations: 24.7 kB / 458.1 MB, free: 36.66 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.811e-05/0.2057, allocations: 26.31 kB / 458.1 MB, free: 36.65 MB / 410.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 0.0001054/0.2058, allocations: 185.3 kB / 458.3 MB, free: 36.48 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.056e-05/0.2059, allocations: 46.41 kB / 458.3 MB, free: 36.46 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.059e-05/0.2059, allocations: 57.17 kB / 458.4 MB, free: 36.41 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.279e-06/0.2059, allocations: 11.34 kB / 458.4 MB, free: 36.41 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.088e-05/0.2059, allocations: 0 / 458.4 MB, free: 36.41 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.2059, allocations: 3.469 kB / 458.4 MB, free: 36.41 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009695/0.2069, allocations: 1.286 MB / 459.7 MB, free: 35.57 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.2069, allocations: 6.938 kB / 459.7 MB, free: 35.56 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000318/0.2072, allocations: 161.2 kB / 459.8 MB, free: 35.55 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.091e-06/0.2072, allocations: 6.406 kB / 459.8 MB, free: 35.55 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.857e-05/0.2072, allocations: 14.31 kB / 459.8 MB, free: 35.54 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.708e-06/0.2072, allocations: 10.06 kB / 459.9 MB, free: 35.54 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.2073, allocations: 7.25 kB / 459.9 MB, free: 35.54 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005752/0.2078, allocations: 0.9097 MB / 460.8 MB, free: 34.98 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.507e-05/0.2079, allocations: 40.12 kB / 460.8 MB, free: 34.96 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.945e-05/0.2079, allocations: 18.38 kB / 460.8 MB, free: 34.95 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001354/0.208, allocations: 17.31 kB / 460.8 MB, free: 34.95 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.758e-05/0.2081, allocations: 58.14 kB / 460.9 MB, free: 34.93 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.712e-05/0.2081, allocations: 25.98 kB / 460.9 MB, free: 34.93 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.551e-05/0.2081, allocations: 164.4 kB / 461.1 MB, free: 34.82 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2081, allocations: 4 kB / 461.1 MB, free: 34.82 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003047/0.2085, allocations: 144.4 kB / 461.2 MB, free: 34.8 MB / 410.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.0001079/0.2086, allocations: 128.7 kB / 461.4 MB, free: 34.68 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003876/0.2089, allocations: 433.8 kB / 461.8 MB, free: 34.55 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.2089, allocations: 3.188 kB / 461.8 MB, free: 34.55 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001564/0.2091, allocations: 222.9 kB / 462 MB, free: 34.48 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004978/0.2096, allocations: 125.7 kB / 462.1 MB, free: 34.44 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001167/0.2108, allocations: 1.414 MB / 463.5 MB, free: 33.46 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001242/0.2109, allocations: 245.7 kB / 463.8 MB, free: 33.36 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.887e-05/0.211, allocations: 44.31 kB / 463.8 MB, free: 33.36 MB / 410.7 MB Notification: Performance of SimCode: time 7.11e-07/0.211, allocations: 0 / 463.8 MB, free: 33.36 MB / 410.7 MB Notification: Performance of Templates: time 0.005632/0.2166, allocations: 6.262 MB / 470.1 MB, free: 32.63 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.sim & ./ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/InitializationConversion/SpringDamper/SpringDamper.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.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.528224532492459]