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.001715/0.001715, allocations: 81.91 kB / 21.42 MB, free: 3.07 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.002026/0.002026, allocations: 169.2 kB / 24.82 MB, free: 9.273 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.9737/0.9737, allocations: 177 MB / 205.1 MB, free: 5.488 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.2938/0.2938, allocations: 34.87 MB / 296.6 MB, free: 0.5039 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.843e-06/1.843e-06, allocations: 0 / 379.2 MB, free: 1.871 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.84e-05/3.025e-05, allocations: 3.297 kB / 379.2 MB, free: 1.867 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.004731/0.004762, allocations: 3.253 MB / 382.5 MB, free: 14.59 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001958/0.00672, allocations: 0.8177 MB / 383.3 MB, free: 13.77 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002919/0.007012, allocations: 19.88 kB / 383.3 MB, free: 13.75 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001923/0.007204, allocations: 79.17 kB / 383.4 MB, free: 13.67 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003404/0.007544, allocations: 182.4 kB / 383.6 MB, free: 13.49 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002546/0.007799, allocations: 107.8 kB / 383.7 MB, free: 13.39 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004766/0.008275, allocations: 0.6218 MB / 384.3 MB, free: 12.76 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002053/0.008481, allocations: 113.9 kB / 384.4 MB, free: 12.65 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003313/0.008812, allocations: 351.2 kB / 384.7 MB, free: 12.3 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001897/0.009002, allocations: 179.5 kB / 384.9 MB, free: 12.13 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 4.818e-05/0.00905, allocations: 44 kB / 385 MB, free: 12.09 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.111e-05/0.009101, allocations: 44 kB / 385 MB, free: 12.04 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.976e-05/0.009161, allocations: 99.64 kB / 385.1 MB, free: 11.95 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001275/0.009288, allocations: 187.6 kB / 385.3 MB, free: 11.76 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003376/0.009626, allocations: 390.5 kB / 385.7 MB, free: 11.38 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.009629, allocations: 0 / 385.7 MB, free: 11.38 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.32e-07/0.00963, allocations: 0 / 385.7 MB, free: 11.38 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.407e-05/0.009644, allocations: 4 kB / 385.7 MB, free: 11.38 MB / 362.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.0007977/0.01044, allocations: 0.7919 MB / 386.5 MB, free: 10.55 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.007e-05/0.01049, allocations: 12.02 kB / 386.5 MB, free: 10.54 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001059/0.0106, allocations: 92.61 kB / 386.6 MB, free: 10.45 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008444/0.01144, allocations: 267.3 kB / 386.8 MB, free: 10.15 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.701e-05/0.01147, allocations: 41.38 kB / 386.9 MB, free: 10.11 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.871e-05/0.01153, allocations: 60.27 kB / 386.9 MB, free: 10.05 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003022/0.01183, allocations: 328.7 kB / 387.2 MB, free: 9.715 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.864e-05/0.01185, allocations: 8.141 kB / 387.2 MB, free: 9.707 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.176e-05/0.01187, allocations: 20.38 kB / 387.3 MB, free: 9.688 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.136e-05/0.01188, allocations: 15.94 kB / 387.3 MB, free: 9.672 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001642/0.01205, allocations: 167.5 kB / 387.4 MB, free: 9.512 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009349/0.01298, allocations: 0.9741 MB / 388.4 MB, free: 8.504 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003276/0.01331, allocations: 298.1 kB / 388.7 MB, free: 8.184 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000106/0.01341, allocations: 131 kB / 388.8 MB, free: 8.051 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.444e-05/0.01343, allocations: 8.5 kB / 388.8 MB, free: 8.043 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.339e-05/0.01345, allocations: 45.88 kB / 388.9 MB, free: 7.988 MB / 362.7 MB Notification: Performance of pre-optimization done (n=62): time 2.174e-06/0.01345, allocations: 0 / 388.9 MB, free: 7.988 MB / 362.7 MB Notification: Performance of matching and sorting (n=74): time 0.00141/0.01486, allocations: 1.449 MB / 390.3 MB, free: 6.434 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.73e-05/0.0149, allocations: 89.61 kB / 390.4 MB, free: 6.328 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001335/0.01503, allocations: 280.1 kB / 390.7 MB, free: 6.039 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.009e-05/0.01505, allocations: 41.7 kB / 390.7 MB, free: 5.992 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.964e-05/0.01515, allocations: 260 kB / 391 MB, free: 5.73 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001227/0.01528, allocations: 281.5 kB / 391.3 MB, free: 5.453 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.753e-05/0.01537, allocations: 136.2 kB / 391.4 MB, free: 5.312 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001364/0.01551, allocations: 0.5273 MB / 391.9 MB, free: 4.773 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.7e-05/0.01559, allocations: 73.92 kB / 392 MB, free: 4.703 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001483/0.01574, allocations: 234.7 kB / 392.2 MB, free: 4.422 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002505/0.01599, allocations: 348.4 kB / 392.6 MB, free: 4.027 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.01599, allocations: 0 / 392.6 MB, free: 4.027 MB / 362.7 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0003557/0.01635, allocations: 453.9 kB / 393 MB, free: 3.578 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.01636, allocations: 8 kB / 393 MB, free: 3.57 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/0.01637, allocations: 4 kB / 393 MB, free: 3.566 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.01638, allocations: 4 kB / 393 MB, free: 3.562 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003162/0.0167, allocations: 188 kB / 393.2 MB, free: 3.379 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.638e-06/0.01671, allocations: 8 kB / 393.2 MB, free: 3.371 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001242/0.01683, allocations: 20 kB / 393.2 MB, free: 3.352 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.911e-05/0.01685, allocations: 24 kB / 393.3 MB, free: 3.328 MB / 362.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.0001384/0.01699, allocations: 200.3 kB / 393.5 MB, free: 3.121 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.97e-05/0.01706, allocations: 71.66 kB / 393.5 MB, free: 3.051 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.303e-05/0.01712, allocations: 59.61 kB / 393.6 MB, free: 2.992 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.01713, allocations: 4 kB / 393.6 MB, free: 2.988 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.01713, allocations: 12.06 kB / 393.6 MB, free: 2.977 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.804e-06/0.01714, allocations: 8.016 kB / 393.6 MB, free: 2.969 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009527/0.01809, allocations: 1.214 MB / 394.8 MB, free: 1.656 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.0181, allocations: 8.031 kB / 394.8 MB, free: 1.648 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003125/0.01841, allocations: 159.8 kB / 395 MB, free: 1.492 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.252e-06/0.01842, allocations: 8 kB / 395 MB, free: 1.484 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.002e-05/0.01844, allocations: 19.94 kB / 395 MB, free: 1.465 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.928e-06/0.01844, allocations: 4 kB / 395 MB, free: 1.461 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.796e-06/0.01844, allocations: 4 kB / 395 MB, free: 1.457 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005444/0.01899, allocations: 0.8499 MB / 395.9 MB, free: 0.5469 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.819e-05/0.01903, allocations: 39.7 kB / 395.9 MB, free: 0.5078 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.241e-05/0.01906, allocations: 27.98 kB / 395.9 MB, free: 492 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000129/0.01919, allocations: 16 kB / 396 MB, free: 476 kB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.21e-05/0.01923, allocations: 60.28 kB / 396 MB, free: 416 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.467e-05/0.01924, allocations: 16 kB / 396 MB, free: 400 kB / 362.7 MB Notification: Performance of sorting global known variables: time 7.017e-05/0.01931, allocations: 185.1 kB / 396.2 MB, free: 212 kB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01931, allocations: 4 kB / 396.2 MB, free: 208 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002966/0.01961, allocations: 140 kB / 396.4 MB, free: 68 kB / 362.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.0001168/0.01973, allocations: 119.2 kB / 396.5 MB, free: 15.93 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000285/0.02001, allocations: 329.8 kB / 396.8 MB, free: 15.61 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.02001, allocations: 0 / 396.8 MB, free: 15.61 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001361/0.02015, allocations: 192.9 kB / 397 MB, free: 15.42 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004813/0.02063, allocations: 134 kB / 397.1 MB, free: 15.3 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001554/0.02219, allocations: 1.38 MB / 398.5 MB, free: 13.84 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.868e-05/0.02229, allocations: 135.3 kB / 398.6 MB, free: 13.68 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001384/0.02242, allocations: 52.66 kB / 398.7 MB, free: 13.63 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002099/0.02263, allocations: 194.1 kB / 398.9 MB, free: 13.44 MB / 378.7 MB Notification: Performance of SimCode: time 8.12e-07/0.02263, allocations: 4 kB / 398.9 MB, free: 13.43 MB / 378.7 MB Notification: Performance of Templates: time 0.0087/0.03133, allocations: 5.836 MB / 404.7 MB, free: 7.734 MB / 378.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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe 2>&1) [Timeout 240] 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","",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.2637602551840246]