Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.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.0008215/0.0008215, allocations: 88.28 kB / 21.43 MB, free: 3.133 MB / 18.57 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.003572/0.003572, allocations: 158 kB / 24.7 MB, free: 9.418 MB / 18.57 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 0.8541/0.8541, allocations: 177 MB / 204.9 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] 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.2336/0.2336, allocations: 34.24 MB / 295.6 MB, free: 0.6719 MB / 266.7 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.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_trunk_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_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.984e-06/1.984e-06, allocations: 0 / 443.4 MB, free: 1.078 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.45e-05/2.648e-05, allocations: 9.031 kB / 443.4 MB, free: 1.07 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.1977/0.1977, allocations: 2.999 MB / 446.4 MB, free: 42.88 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001174/0.1989, allocations: 0.8062 MB / 447.2 MB, free: 42.55 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002149/0.1991, allocations: 16.06 kB / 447.2 MB, free: 42.54 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001774/0.1993, allocations: 72.19 kB / 447.3 MB, free: 42.5 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002307/0.1995, allocations: 185.3 kB / 447.5 MB, free: 42.38 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002117/0.1997, allocations: 108.5 kB / 447.6 MB, free: 42.36 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000319/0.2, allocations: 0.6225 MB / 448.2 MB, free: 42.05 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000193/0.2002, allocations: 114.1 kB / 448.3 MB, free: 42 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002297/0.2005, allocations: 354.5 kB / 448.7 MB, free: 41.87 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001449/0.2006, allocations: 170.5 kB / 448.8 MB, free: 41.81 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.898e-05/0.2006, allocations: 45.19 kB / 448.9 MB, free: 41.81 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.532e-05/0.2007, allocations: 42.78 kB / 448.9 MB, free: 41.81 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.783e-05/0.2007, allocations: 106.4 kB / 449 MB, free: 41.74 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 9.536e-05/0.2008, allocations: 187.5 kB / 449.2 MB, free: 41.66 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000322/0.2011, allocations: 0.5661 MB / 449.8 MB, free: 41.45 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.2012, allocations: 0 / 449.8 MB, free: 41.45 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.2012, allocations: 0 / 449.8 MB, free: 41.45 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.454e-06/0.2012, allocations: 4 kB / 449.8 MB, free: 41.45 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.0006314/0.2018, allocations: 0.6887 MB / 450.5 MB, free: 40.95 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.2018, allocations: 8.656 kB / 450.5 MB, free: 40.95 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.605e-05/0.2019, allocations: 57.7 kB / 450.5 MB, free: 40.93 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003116/0.2022, allocations: 255.9 kB / 450.8 MB, free: 40.71 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.373e-05/0.2022, allocations: 37 kB / 450.8 MB, free: 40.7 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.383e-05/0.2023, allocations: 55.75 kB / 450.9 MB, free: 40.68 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003902/0.2027, allocations: 435.4 kB / 451.3 MB, free: 40.48 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.427e-05/0.2027, allocations: 14.7 kB / 451.3 MB, free: 40.47 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.279e-05/0.2027, allocations: 19.34 kB / 451.3 MB, free: 40.46 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.408e-06/0.2027, allocations: 15.41 kB / 451.3 MB, free: 40.45 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002863/0.203, allocations: 308.8 kB / 451.6 MB, free: 40.36 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000859/0.2039, allocations: 0.9442 MB / 452.6 MB, free: 39.77 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004439/0.2043, allocations: 387 kB / 453 MB, free: 39.6 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001564/0.2045, allocations: 192.1 kB / 453.2 MB, free: 39.52 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.852e-05/0.2045, allocations: 11.47 kB / 453.2 MB, free: 39.52 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.501e-05/0.2045, allocations: 37.88 kB / 453.2 MB, free: 39.48 MB / 410.7 MB Notification: Performance of pre-optimization done (n=62): time 2.084e-06/0.2045, allocations: 0 / 453.2 MB, free: 39.48 MB / 410.7 MB Notification: Performance of matching and sorting (n=74): time 0.001576/0.2061, allocations: 1.853 MB / 455.1 MB, free: 38.38 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.118e-05/0.2061, allocations: 86.17 kB / 455.1 MB, free: 38.28 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001219/0.2062, allocations: 236.8 kB / 455.4 MB, free: 38.14 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.533e-05/0.2063, allocations: 36.73 kB / 455.4 MB, free: 38.1 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.515e-05/0.2063, allocations: 223.7 kB / 455.6 MB, free: 37.91 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.6e-05/0.2064, allocations: 269 kB / 455.9 MB, free: 37.69 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.277e-05/0.2065, allocations: 120.6 kB / 456 MB, free: 37.62 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.596e-05/0.2065, allocations: 359.6 kB / 456.4 MB, free: 37.29 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001495/0.2067, allocations: 156.9 kB / 456.5 MB, free: 37.24 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001856/0.2069, allocations: 279.4 kB / 456.8 MB, free: 37.06 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003594/0.2072, allocations: 465.6 kB / 457.2 MB, free: 36.79 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.2072, allocations: 6.781 kB / 457.2 MB, free: 36.78 MB / 410.7 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0004493/0.2077, allocations: 0.5641 MB / 457.8 MB, free: 36.54 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.2077, allocations: 3.875 kB / 457.8 MB, free: 36.54 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.2077, allocations: 7.469 kB / 457.8 MB, free: 36.54 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/0.2077, allocations: 6.25 kB / 457.8 MB, free: 36.54 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002938/0.208, allocations: 185.5 kB / 458 MB, free: 36.52 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.036e-06/0.208, allocations: 7.219 kB / 458 MB, free: 36.51 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001264/0.2082, allocations: 24.84 kB / 458 MB, free: 36.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.105e-05/0.2082, allocations: 24.28 kB / 458.1 MB, free: 36.49 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 9.883e-05/0.2083, allocations: 187.1 kB / 458.2 MB, free: 36.32 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.303e-05/0.2083, allocations: 45.72 kB / 458.3 MB, free: 36.3 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.533e-05/0.2084, allocations: 56.48 kB / 458.3 MB, free: 36.25 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.2084, allocations: 6.281 kB / 458.4 MB, free: 36.25 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.684e-06/0.2084, allocations: 5.625 kB / 458.4 MB, free: 36.25 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.2084, allocations: 7.188 kB / 458.4 MB, free: 36.25 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009496/0.2093, allocations: 1.288 MB / 459.7 MB, free: 35.41 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.2093, allocations: 3.188 kB / 459.7 MB, free: 35.41 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003179/0.2097, allocations: 167.8 kB / 459.8 MB, free: 35.39 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/0.2097, allocations: 3.125 kB / 459.8 MB, free: 35.39 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.916e-05/0.2097, allocations: 22.16 kB / 459.8 MB, free: 35.38 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/0.2097, allocations: 3.281 kB / 459.8 MB, free: 35.38 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.2097, allocations: 6.047 kB / 459.9 MB, free: 35.38 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005757/0.2103, allocations: 0.9133 MB / 460.8 MB, free: 34.82 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.231e-05/0.2103, allocations: 36.08 kB / 460.8 MB, free: 34.8 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.887e-05/0.2103, allocations: 18.47 kB / 460.8 MB, free: 34.79 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001403/0.2105, allocations: 24.27 kB / 460.8 MB, free: 34.78 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.056e-05/0.2105, allocations: 56.28 kB / 460.9 MB, free: 34.77 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.522e-05/0.2105, allocations: 19.62 kB / 460.9 MB, free: 34.76 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.352e-05/0.2106, allocations: 168.5 kB / 461.1 MB, free: 34.66 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2106, allocations: 0 / 461.1 MB, free: 34.66 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002864/0.2109, allocations: 140.2 kB / 461.2 MB, free: 34.64 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 8.749e-05/0.211, allocations: 126.7 kB / 461.3 MB, free: 34.53 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003816/0.2114, allocations: 437.4 kB / 461.8 MB, free: 34.39 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.2114, allocations: 0 / 461.8 MB, free: 34.39 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001863/0.2115, allocations: 219.7 kB / 462 MB, free: 34.32 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004847/0.212, allocations: 140.3 kB / 462.1 MB, free: 34.27 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001176/0.2132, allocations: 1.405 MB / 463.5 MB, free: 33.31 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000119/0.2133, allocations: 240.5 kB / 463.8 MB, free: 33.21 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.998e-05/0.2134, allocations: 50 kB / 463.8 MB, free: 33.2 MB / 410.7 MB Notification: Performance of SimCode: time 4.81e-07/0.2134, allocations: 0 / 463.8 MB, free: 33.2 MB / 410.7 MB Notification: Performance of Templates: time 0.00473/0.2181, allocations: 6.259 MB / 470.1 MB, free: 32.49 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.sim & ./ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.102866698056459]