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.001132/0.001132, allocations: 85.91 kB / 22.21 MB, free: 2.281 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.001533/0.001533, allocations: 164.9 kB / 25.61 MB, free: 8.59 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.931/0.931, allocations: 177 MB / 205.9 MB, free: 4.453 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.1769/0.1769, allocations: 34.87 MB / 297.4 MB, free: 13.42 MB / 282.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.513e-06/1.513e-06, allocations: 0 / 380 MB, free: 22.78 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.376e-05/2.527e-05, allocations: 2.312 kB / 380 MB, free: 22.78 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.002819/0.002844, allocations: 3.241 MB / 383.2 MB, free: 19.52 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001355/0.004199, allocations: 0.8178 MB / 384 MB, free: 18.7 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002619/0.004461, allocations: 15.88 kB / 384.1 MB, free: 18.68 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001867/0.004647, allocations: 79.17 kB / 384.1 MB, free: 18.61 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002846/0.004932, allocations: 190.4 kB / 384.3 MB, free: 18.42 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002086/0.00514, allocations: 107.8 kB / 384.4 MB, free: 18.31 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003199/0.00546, allocations: 0.6217 MB / 385.1 MB, free: 17.69 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002/0.00566, allocations: 109.9 kB / 385.2 MB, free: 17.57 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002528/0.005913, allocations: 347.3 kB / 385.5 MB, free: 17.23 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001505/0.006064, allocations: 179.5 kB / 385.7 MB, free: 17.06 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.813e-05/0.006102, allocations: 40 kB / 385.7 MB, free: 17.02 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.784e-05/0.00614, allocations: 44 kB / 385.8 MB, free: 16.98 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.384e-05/0.006183, allocations: 111.6 kB / 385.9 MB, free: 16.87 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 9.594e-05/0.006279, allocations: 187.6 kB / 386 MB, free: 16.68 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002846/0.006564, allocations: 378.6 kB / 386.4 MB, free: 16.31 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.935e-06/0.006567, allocations: 0 / 386.4 MB, free: 16.31 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.006568, allocations: 0 / 386.4 MB, free: 16.31 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.462e-06/0.006575, allocations: 3.938 kB / 386.4 MB, free: 16.31 MB / 314.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.000601/0.007176, allocations: 0.8036 MB / 387.2 MB, free: 15.47 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/0.007213, allocations: 8.031 kB / 387.2 MB, free: 15.46 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.696e-05/0.00729, allocations: 96.56 kB / 387.3 MB, free: 15.37 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002263/0.007516, allocations: 267.2 kB / 387.6 MB, free: 15.08 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.978e-05/0.007536, allocations: 37.38 kB / 387.6 MB, free: 15.04 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.58e-05/0.007582, allocations: 56.31 kB / 387.7 MB, free: 14.99 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000247/0.007829, allocations: 324.8 kB / 388 MB, free: 14.65 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.967e-05/0.007849, allocations: 16.08 kB / 388 MB, free: 14.64 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.017e-05/0.007869, allocations: 20.38 kB / 388 MB, free: 14.62 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.656e-06/0.007877, allocations: 15.94 kB / 388 MB, free: 14.6 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001416/0.008019, allocations: 176.8 kB / 388.2 MB, free: 14.43 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007682/0.008787, allocations: 0.9586 MB / 389.2 MB, free: 13.44 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002994/0.009087, allocations: 298.2 kB / 389.5 MB, free: 13.12 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.013e-05/0.009177, allocations: 140.6 kB / 389.6 MB, free: 12.98 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.61e-05/0.009193, allocations: 16.53 kB / 389.6 MB, free: 12.96 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.867e-05/0.009212, allocations: 41.89 kB / 389.7 MB, free: 12.91 MB / 314.7 MB Notification: Performance of pre-optimization done (n=62): time 2.335e-06/0.009214, allocations: 0 / 389.7 MB, free: 12.91 MB / 314.7 MB Notification: Performance of matching and sorting (n=74): time 0.001141/0.01035, allocations: 1.44 MB / 391.1 MB, free: 11.38 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.98e-05/0.01038, allocations: 85.61 kB / 391.2 MB, free: 11.28 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001063/0.01049, allocations: 284.2 kB / 391.5 MB, free: 10.98 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.613e-05/0.01051, allocations: 37.7 kB / 391.5 MB, free: 10.94 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.466e-05/0.01058, allocations: 268 kB / 391.8 MB, free: 10.67 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.803e-05/0.01067, allocations: 285.5 kB / 392 MB, free: 10.39 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.003e-05/0.01075, allocations: 128.3 kB / 392.2 MB, free: 10.26 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.24e-05/0.01081, allocations: 0.5273 MB / 392.7 MB, free: 9.719 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.484e-05/0.01088, allocations: 77.88 kB / 392.8 MB, free: 9.645 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001065/0.01098, allocations: 226.7 kB / 393 MB, free: 9.371 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002072/0.01119, allocations: 355.9 kB / 393.3 MB, free: 8.977 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.01119, allocations: 4 kB / 393.3 MB, free: 8.973 MB / 314.7 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0003122/0.0115, allocations: 456.8 kB / 393.8 MB, free: 8.52 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.01152, allocations: 7.984 kB / 393.8 MB, free: 8.512 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.01153, allocations: 7.984 kB / 393.8 MB, free: 8.504 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.01154, allocations: 4 kB / 393.8 MB, free: 8.5 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002868/0.01183, allocations: 179.8 kB / 394 MB, free: 8.324 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.01183, allocations: 8 kB / 394 MB, free: 8.316 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001199/0.01195, allocations: 31.98 kB / 394 MB, free: 8.285 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.607e-05/0.01197, allocations: 16 kB / 394 MB, free: 8.27 MB / 314.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.012e-05/0.01206, allocations: 200.5 kB / 394.2 MB, free: 8.062 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.081e-05/0.01212, allocations: 71.73 kB / 394.3 MB, free: 7.992 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.693e-05/0.01218, allocations: 55.61 kB / 394.4 MB, free: 7.934 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.469e-06/0.01218, allocations: 8 kB / 394.4 MB, free: 7.926 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.01219, allocations: 0 / 394.4 MB, free: 7.926 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.01219, allocations: 3.984 kB / 394.4 MB, free: 7.922 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008296/0.01302, allocations: 1.229 MB / 395.6 MB, free: 6.586 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.01303, allocations: 4 kB / 395.6 MB, free: 6.582 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000309/0.01334, allocations: 155.8 kB / 395.8 MB, free: 6.43 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.181e-06/0.01334, allocations: 4 kB / 395.8 MB, free: 6.426 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.116e-05/0.01336, allocations: 23.98 kB / 395.8 MB, free: 6.402 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.01337, allocations: 4 kB / 395.8 MB, free: 6.398 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.01337, allocations: 8.281 kB / 395.8 MB, free: 6.391 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00043/0.0138, allocations: 0.8538 MB / 396.7 MB, free: 5.477 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.485e-05/0.01384, allocations: 47.69 kB / 396.7 MB, free: 5.43 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.103e-05/0.01387, allocations: 12 kB / 396.7 MB, free: 5.418 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001319/0.014, allocations: 20 kB / 396.7 MB, free: 5.398 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.668e-05/0.01403, allocations: 56.28 kB / 396.8 MB, free: 5.344 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.374e-05/0.01405, allocations: 16 kB / 396.8 MB, free: 5.328 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.955e-05/0.0141, allocations: 193.1 kB / 397 MB, free: 5.141 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0141, allocations: 0 / 397 MB, free: 5.141 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003016/0.0144, allocations: 144 kB / 397.1 MB, free: 5 MB / 314.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 9.816e-05/0.0145, allocations: 115.1 kB / 397.2 MB, free: 4.879 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002601/0.01476, allocations: 325.6 kB / 397.6 MB, free: 4.559 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.01476, allocations: 0.5625 kB / 397.6 MB, free: 4.559 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001089/0.01487, allocations: 191.5 kB / 397.7 MB, free: 4.371 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004981/0.01537, allocations: 134.1 kB / 397.9 MB, free: 4.242 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001253/0.01662, allocations: 1.378 MB / 399.3 MB, free: 2.777 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.375e-05/0.01668, allocations: 127.3 kB / 399.4 MB, free: 2.637 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001191/0.0168, allocations: 56.66 kB / 399.4 MB, free: 2.582 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000206/0.01701, allocations: 190.1 kB / 399.6 MB, free: 2.395 MB / 314.7 MB Notification: Performance of SimCode: time 1.513e-06/0.01701, allocations: 0 / 399.6 MB, free: 2.395 MB / 314.7 MB Notification: Performance of Templates: time 0.008067/0.02508, allocations: 5.983 MB / 405.6 MB, free: 12.56 MB / 330.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.3112578629516065]