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.001015/0.001015, allocations: 83.69 kB / 21.7 MB, free: 2.844 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.001158/0.001158, allocations: 153.9 kB / 24.99 MB, free: 8.262 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 1.031/1.031, allocations: 177 MB / 205.2 MB, free: 5.57 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.2834/0.2834, allocations: 34.86 MB / 296.6 MB, free: 0.5469 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.633e-06/1.633e-06, allocations: 0 / 378.7 MB, free: 2.441 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.488e-05/2.651e-05, allocations: 3.297 kB / 378.7 MB, free: 2.438 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.004104/0.004131, allocations: 3.289 MB / 382 MB, free: 15.13 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.00143/0.005561, allocations: 0.8255 MB / 382.8 MB, free: 14.3 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002105/0.005771, allocations: 15.88 kB / 382.9 MB, free: 14.28 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001851/0.005957, allocations: 71.25 kB / 382.9 MB, free: 14.21 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000304/0.006261, allocations: 186.4 kB / 383.1 MB, free: 14.03 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002373/0.006498, allocations: 107.8 kB / 383.2 MB, free: 13.92 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005231/0.007021, allocations: 0.6218 MB / 383.8 MB, free: 13.3 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002369/0.007258, allocations: 113.9 kB / 383.9 MB, free: 13.18 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003776/0.007636, allocations: 347.3 kB / 384.3 MB, free: 12.84 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002271/0.007863, allocations: 179.5 kB / 384.5 MB, free: 12.67 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 6.715e-05/0.00793, allocations: 44 kB / 384.5 MB, free: 12.62 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.157e-05/0.007991, allocations: 44 kB / 384.5 MB, free: 12.58 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.139e-05/0.008063, allocations: 103.6 kB / 384.6 MB, free: 12.48 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001803/0.008243, allocations: 191.6 kB / 384.8 MB, free: 12.29 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004093/0.008652, allocations: 390.5 kB / 385.2 MB, free: 11.91 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.008656, allocations: 0 / 385.2 MB, free: 11.91 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.008657, allocations: 0 / 385.2 MB, free: 11.91 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.512e-06/0.008664, allocations: 0 / 385.2 MB, free: 11.91 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.0009171/0.009581, allocations: 0.7881 MB / 386 MB, free: 11.09 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.009623, allocations: 12.03 kB / 386 MB, free: 11.07 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000127/0.00975, allocations: 92.61 kB / 386.1 MB, free: 10.98 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003539/0.0101, allocations: 267.2 kB / 386.4 MB, free: 10.69 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.986e-05/0.01014, allocations: 37.38 kB / 386.4 MB, free: 10.66 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.589e-05/0.01022, allocations: 60.28 kB / 386.5 MB, free: 10.6 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004973/0.01072, allocations: 352.8 kB / 386.8 MB, free: 10.23 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.53e-05/0.01074, allocations: 8.141 kB / 386.8 MB, free: 10.23 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.529e-05/0.01078, allocations: 20.38 kB / 386.8 MB, free: 10.21 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.652e-05/0.01079, allocations: 19.94 kB / 386.9 MB, free: 10.19 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003345/0.01113, allocations: 210.4 kB / 387.1 MB, free: 9.984 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001264/0.01239, allocations: 1.001 MB / 388.1 MB, free: 8.941 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005559/0.01295, allocations: 342.1 kB / 388.4 MB, free: 8.578 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002108/0.01316, allocations: 139.2 kB / 388.5 MB, free: 8.438 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.264e-05/0.01318, allocations: 20.42 kB / 388.5 MB, free: 8.418 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.246e-05/0.01321, allocations: 49.86 kB / 388.6 MB, free: 8.359 MB / 362.7 MB Notification: Performance of pre-optimization done (n=62): time 2.023e-06/0.01322, allocations: 0 / 388.6 MB, free: 8.359 MB / 362.7 MB Notification: Performance of matching and sorting (n=74): time 0.00249/0.01571, allocations: 1.648 MB / 390.2 MB, free: 6.605 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.356e-05/0.01576, allocations: 85.61 kB / 390.3 MB, free: 6.504 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002091/0.01597, allocations: 288.2 kB / 390.6 MB, free: 6.207 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.725e-05/0.016, allocations: 41.7 kB / 390.7 MB, free: 6.16 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001333/0.01613, allocations: 256 kB / 390.9 MB, free: 5.902 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001693/0.0163, allocations: 281.5 kB / 391.2 MB, free: 5.625 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001356/0.01643, allocations: 124.3 kB / 391.3 MB, free: 5.496 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001612/0.0166, allocations: 0.5274 MB / 391.8 MB, free: 4.957 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001707/0.01677, allocations: 93.94 kB / 391.9 MB, free: 4.867 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002599/0.01703, allocations: 254.7 kB / 392.2 MB, free: 4.57 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004602/0.01749, allocations: 396.5 kB / 392.6 MB, free: 4.129 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.01749, allocations: 3.938 kB / 392.6 MB, free: 4.125 MB / 362.7 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0006371/0.01813, allocations: 0.4892 MB / 393 MB, free: 3.629 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/0.01815, allocations: 12.06 kB / 393.1 MB, free: 3.617 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/0.01816, allocations: 4 kB / 393.1 MB, free: 3.613 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.019e-05/0.01818, allocations: 4 kB / 393.1 MB, free: 3.609 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004501/0.01863, allocations: 171.8 kB / 393.2 MB, free: 3.441 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.426e-05/0.01864, allocations: 11.94 kB / 393.2 MB, free: 3.43 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001851/0.01883, allocations: 27.98 kB / 393.3 MB, free: 3.402 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.979e-05/0.01886, allocations: 24 kB / 393.3 MB, free: 3.379 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.0001513/0.01901, allocations: 204.3 kB / 393.5 MB, free: 3.168 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.907e-05/0.01911, allocations: 71.66 kB / 393.6 MB, free: 3.098 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.1e-05/0.0192, allocations: 59.61 kB / 393.6 MB, free: 3.039 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.873e-06/0.01921, allocations: 8 kB / 393.6 MB, free: 3.031 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.704e-06/0.01921, allocations: 0 / 393.6 MB, free: 3.031 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.095e-06/0.01922, allocations: 3.984 kB / 393.6 MB, free: 3.027 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001522/0.02074, allocations: 1.311 MB / 394.9 MB, free: 1.609 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/0.02075, allocations: 4 kB / 395 MB, free: 1.605 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004879/0.02124, allocations: 155.8 kB / 395.1 MB, free: 1.453 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.927e-06/0.02124, allocations: 8 kB / 395.1 MB, free: 1.445 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.324e-05/0.02128, allocations: 20 kB / 395.1 MB, free: 1.426 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.951e-06/0.02128, allocations: 4 kB / 395.1 MB, free: 1.422 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.021e-06/0.02129, allocations: 7.938 kB / 395.1 MB, free: 1.414 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001154/0.02244, allocations: 0.9049 MB / 396 MB, free: 460 kB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.252e-05/0.0225, allocations: 39.72 kB / 396.1 MB, free: 420 kB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.801e-05/0.02254, allocations: 20.06 kB / 396.1 MB, free: 400 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002101/0.02275, allocations: 19.98 kB / 396.1 MB, free: 380 kB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.324e-05/0.02282, allocations: 52.36 kB / 396.2 MB, free: 328 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.41e-05/0.02284, allocations: 20 kB / 396.2 MB, free: 308 kB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001204/0.02296, allocations: 201.1 kB / 396.4 MB, free: 104 kB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02296, allocations: 0 / 396.4 MB, free: 104 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004853/0.02345, allocations: 148 kB / 396.5 MB, free: 15.95 MB / 378.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.0001292/0.02358, allocations: 119.1 kB / 396.7 MB, free: 15.82 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005166/0.02409, allocations: 362.4 kB / 397 MB, free: 15.47 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.0241, allocations: 0 / 397 MB, free: 15.47 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002329/0.02433, allocations: 208.5 kB / 397.2 MB, free: 15.27 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000696/0.02502, allocations: 120.2 kB / 397.3 MB, free: 15.15 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002084/0.02711, allocations: 1.4 MB / 398.7 MB, free: 13.67 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001144/0.02722, allocations: 131.3 kB / 398.9 MB, free: 13.52 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000163/0.02739, allocations: 60.66 kB / 398.9 MB, free: 13.46 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.176e-05/0.02748, allocations: 40.5 kB / 399 MB, free: 13.42 MB / 378.7 MB Notification: Performance of SimCode: time 7.61e-07/0.02748, allocations: 4 kB / 399 MB, free: 13.41 MB / 378.7 MB Notification: Performance of Templates: time 0.01698/0.04445, allocations: 5.354 MB / 404.3 MB, free: 8.168 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.352568198926747]