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.001849/0.001849, allocations: 82.38 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.002166/0.002166, allocations: 157.7 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.487/1.487, allocations: 177 MB / 204.1 MB, free: 9.176 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.2261/0.2261, allocations: 34.25 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.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.473e-06/1.473e-06, allocations: 0 / 442.6 MB, free: 5.336 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.53e-05/2.677e-05, allocations: 4.672 kB / 442.6 MB, free: 5.332 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.004511/0.004538, allocations: 3.01 MB / 445.6 MB, free: 2.305 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00163/0.006168, allocations: 0.8177 MB / 446.5 MB, free: 1.48 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001597/0.006328, allocations: 11.88 kB / 446.5 MB, free: 1.469 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000188/0.006516, allocations: 75.23 kB / 446.6 MB, free: 1.395 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003815/0.006897, allocations: 186.4 kB / 446.7 MB, free: 1.211 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002334/0.007131, allocations: 111.8 kB / 446.8 MB, free: 1.102 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006233/0.007754, allocations: 0.6101 MB / 447.5 MB, free: 500 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002241/0.007978, allocations: 117.8 kB / 447.6 MB, free: 376 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004034/0.008382, allocations: 351.2 kB / 447.9 MB, free: 24 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2212/0.2296, allocations: 171.8 kB / 448.1 MB, free: 15.68 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001654/0.2297, allocations: 43 kB / 448.1 MB, free: 15.68 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001706/0.2299, allocations: 44.72 kB / 448.2 MB, free: 15.68 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001027/0.23, allocations: 101.1 kB / 448.3 MB, free: 15.68 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000327/0.2303, allocations: 190.4 kB / 448.4 MB, free: 15.68 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009518/0.2313, allocations: 0.5674 MB / 449 MB, free: 15.65 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.2313, allocations: 0 / 449 MB, free: 15.65 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.2313, allocations: 0 / 449 MB, free: 15.65 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.014e-05/0.2313, allocations: 1.719 kB / 449 MB, free: 15.65 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: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.001475/0.2328, allocations: 0.6913 MB / 449.7 MB, free: 15.22 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.194e-05/0.2328, allocations: 9.406 kB / 449.7 MB, free: 15.22 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001564/0.233, allocations: 60.3 kB / 449.8 MB, free: 15.2 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006499/0.2336, allocations: 251.4 kB / 450 MB, free: 15.04 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.515e-05/0.2337, allocations: 35.03 kB / 450.1 MB, free: 15.04 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001216/0.2338, allocations: 63.08 kB / 450.1 MB, free: 15.03 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001002/0.2348, allocations: 435.1 kB / 450.5 MB, free: 14.96 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.736e-05/0.2349, allocations: 12.2 kB / 450.6 MB, free: 14.96 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.563e-05/0.2349, allocations: 19.34 kB / 450.6 MB, free: 14.96 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.721e-05/0.2349, allocations: 15.12 kB / 450.6 MB, free: 14.96 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007294/0.2357, allocations: 310.4 kB / 450.9 MB, free: 14.95 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001984/0.2376, allocations: 0.9301 MB / 451.8 MB, free: 14.61 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009392/0.2386, allocations: 389.8 kB / 452.2 MB, free: 14.43 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004331/0.239, allocations: 191.8 kB / 452.4 MB, free: 14.36 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.569e-05/0.2391, allocations: 6.312 kB / 452.4 MB, free: 14.36 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.325e-05/0.2391, allocations: 43.25 kB / 452.4 MB, free: 14.31 MB / 366.1 MB Notification: Performance of pre-optimization done (n=62): time 3.617e-06/0.2391, allocations: 0 / 452.4 MB, free: 14.31 MB / 366.1 MB Notification: Performance of matching and sorting (n=74): time 0.00412/0.2432, allocations: 1.848 MB / 454.3 MB, free: 13.24 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.963e-05/0.2433, allocations: 89.59 kB / 454.4 MB, free: 13.14 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003214/0.2436, allocations: 240.4 kB / 454.6 MB, free: 12.99 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.737e-05/0.2436, allocations: 35.7 kB / 454.6 MB, free: 12.95 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001397/0.2438, allocations: 214.3 kB / 454.9 MB, free: 12.78 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002027/0.244, allocations: 275.3 kB / 455.1 MB, free: 12.56 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000214/0.2442, allocations: 126.1 kB / 455.2 MB, free: 12.49 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001092/0.2443, allocations: 354.3 kB / 455.6 MB, free: 12.16 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003965/0.2447, allocations: 156.7 kB / 455.7 MB, free: 12.11 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004594/0.2451, allocations: 275.2 kB / 456 MB, free: 11.94 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008561/0.246, allocations: 474.7 kB / 456.5 MB, free: 11.67 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.246, allocations: 0 / 456.5 MB, free: 11.67 MB / 366.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001222/0.2472, allocations: 0.5743 MB / 457.1 MB, free: 11.43 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.766e-05/0.2472, allocations: 7.984 kB / 457.1 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.298e-05/0.2473, allocations: 3.344 kB / 457.1 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.744e-05/0.2473, allocations: 5.438 kB / 457.1 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009257/0.2482, allocations: 181.3 kB / 457.2 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.881e-05/0.2482, allocations: 10.08 kB / 457.3 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004159/0.2486, allocations: 24.14 kB / 457.3 MB, free: 11.41 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.22e-05/0.2487, allocations: 26.81 kB / 457.3 MB, free: 11.41 MB / 366.1 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.0002259/0.2489, allocations: 182.8 kB / 457.5 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000133/0.2491, allocations: 54.17 kB / 457.5 MB, free: 11.22 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001198/0.2492, allocations: 54.89 kB / 457.6 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.969e-06/0.2492, allocations: 6.125 kB / 457.6 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.647e-05/0.2492, allocations: 3.312 kB / 457.6 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.601e-05/0.2492, allocations: 4.781 kB / 457.6 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002538/0.2518, allocations: 1.287 MB / 458.9 MB, free: 10.38 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.695e-06/0.2518, allocations: 3.281 kB / 458.9 MB, free: 10.38 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001019/0.2528, allocations: 157.7 kB / 459 MB, free: 10.37 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.22e-05/0.2528, allocations: 8.266 kB / 459.1 MB, free: 10.37 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.16e-05/0.2529, allocations: 16.5 kB / 459.1 MB, free: 10.36 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.101e-05/0.2529, allocations: 5.984 kB / 459.1 MB, free: 10.36 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.524e-06/0.2529, allocations: 11.28 kB / 459.1 MB, free: 10.36 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001473/0.2543, allocations: 0.9055 MB / 460 MB, free: 9.809 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.41e-05/0.2544, allocations: 40.86 kB / 460 MB, free: 9.785 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.374e-05/0.2545, allocations: 15.8 kB / 460 MB, free: 9.777 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000457/0.255, allocations: 21.28 kB / 460.1 MB, free: 9.766 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001219/0.2551, allocations: 53.89 kB / 460.1 MB, free: 9.758 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.86e-05/0.2551, allocations: 20.66 kB / 460.1 MB, free: 9.754 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002092/0.2554, allocations: 166 kB / 460.3 MB, free: 9.652 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.2554, allocations: 4 kB / 460.3 MB, free: 9.648 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009331/0.2563, allocations: 143.6 kB / 460.4 MB, free: 9.629 MB / 366.1 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.000163/0.2565, allocations: 123.3 kB / 460.6 MB, free: 9.523 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001124/0.2576, allocations: 441.8 kB / 461 MB, free: 9.41 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.2576, allocations: 0 / 461 MB, free: 9.41 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004843/0.2581, allocations: 224.8 kB / 461.2 MB, free: 9.355 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00132/0.2594, allocations: 130.3 kB / 461.3 MB, free: 9.312 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00283/0.2622, allocations: 1.379 MB / 462.7 MB, free: 8.371 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003511/0.2626, allocations: 248 kB / 463 MB, free: 8.273 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003066/0.2629, allocations: 58.36 kB / 463 MB, free: 8.262 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001385/0.263, allocations: 42.72 kB / 463.1 MB, free: 8.25 MB / 366.1 MB Notification: Performance of SimCode: time 5.21e-07/0.263, allocations: 0 / 463.1 MB, free: 8.25 MB / 366.1 MB Notification: Performance of Templates: time 0.01327/0.2763, allocations: 5.323 MB / 468.4 MB, free: 7.543 MB / 366.1 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.15335001423955]