Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001668/0.001668, allocations: 99.66 kB / 21.18 MB, free: 0.5273 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001887/0.001887, allocations: 213.2 kB / 24.48 MB, free: 3.84 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.563/1.563, allocations: 230.6 MB / 258.2 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2579/0.2579, allocations: 44.94 MB / 359.6 MB, free: 6.07 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002184/0.002184, allocations: 72.09 kB / 0.4942 GB, free: 10.07 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4043/0.4065, allocations: 65.47 MB / 0.5582 GB, free: 7.5 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.004976/0.4115, allocations: 2.99 MB / 0.5611 GB, free: 4.492 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002055/0.4135, allocations: 0.8099 MB / 0.5619 GB, free: 3.68 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002912/0.4138, allocations: 15.88 kB / 0.5619 GB, free: 3.664 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002506/0.4141, allocations: 71.23 kB / 0.562 GB, free: 3.594 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003883/0.4145, allocations: 182.5 kB / 0.5621 GB, free: 3.414 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002814/0.4147, allocations: 103.8 kB / 0.5622 GB, free: 3.312 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006628/0.4154, allocations: 0.5946 MB / 0.5628 GB, free: 2.715 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000254/0.4157, allocations: 121.8 kB / 0.5629 GB, free: 2.59 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002663/0.4159, allocations: 227.2 kB / 0.5632 GB, free: 2.367 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002948/0.4162, allocations: 211 kB / 0.5634 GB, free: 2.16 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.705e-05/0.4163, allocations: 40 kB / 0.5634 GB, free: 2.121 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.328e-05/0.4164, allocations: 44 kB / 0.5634 GB, free: 2.078 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001013/0.4165, allocations: 107.6 kB / 0.5635 GB, free: 1.973 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002549/0.4167, allocations: 223 kB / 0.5638 GB, free: 1.754 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006331/0.4174, allocations: 0.5666 MB / 0.5643 GB, free: 1.191 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.4174, allocations: 0 / 0.5643 GB, free: 1.191 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.4174, allocations: 0 / 0.5643 GB, free: 1.191 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.677e-06/0.4174, allocations: 0 / 0.5643 GB, free: 1.191 MB / 398.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.001228/0.4186, allocations: 0.696 MB / 0.565 GB, free: 472 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.4187, allocations: 15.97 kB / 0.565 GB, free: 456 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.627e-05/0.4188, allocations: 56.61 kB / 0.5651 GB, free: 400 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005035/0.4193, allocations: 268.7 kB / 0.5653 GB, free: 100 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.086e-05/0.4193, allocations: 33.38 kB / 0.5653 GB, free: 68 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001045/0.4194, allocations: 64.31 kB / 0.5654 GB, free: 4 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007942/0.4202, allocations: 434.9 kB / 0.5658 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.279e-05/0.4202, allocations: 15.94 kB / 0.5658 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.991e-05/0.4203, allocations: 20 kB / 0.5659 GB, free: 15.53 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.503e-05/0.4203, allocations: 12 kB / 0.5659 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005434/0.4208, allocations: 316.4 kB / 0.5662 GB, free: 15.21 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001623/0.4225, allocations: 0.9288 MB / 0.5671 GB, free: 14.25 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007226/0.4232, allocations: 377 kB / 0.5674 GB, free: 13.86 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004048/0.4236, allocations: 194.9 kB / 0.5676 GB, free: 13.66 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.42e-05/0.4236, allocations: 8.438 kB / 0.5676 GB, free: 13.65 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.638e-05/0.4236, allocations: 42.94 kB / 0.5677 GB, free: 13.6 MB / 414.1 MB Notification: Performance of pre-optimization done (n=62): time 2.254e-06/0.4236, allocations: 4.031 kB / 0.5677 GB, free: 13.6 MB / 414.1 MB Notification: Performance of matching and sorting (n=74): time 0.003058/0.4267, allocations: 1.844 MB / 0.5695 GB, free: 11.67 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.474e-05/0.4268, allocations: 93.59 kB / 0.5696 GB, free: 11.55 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002628/0.427, allocations: 233.8 kB / 0.5698 GB, free: 11.32 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.48e-05/0.4271, allocations: 37.7 kB / 0.5698 GB, free: 11.28 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001715/0.4273, allocations: 221.3 kB / 0.57 GB, free: 11.06 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002304/0.4275, allocations: 281.5 kB / 0.5703 GB, free: 10.78 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001739/0.4277, allocations: 122.7 kB / 0.5704 GB, free: 10.65 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002009/0.4279, allocations: 354.7 kB / 0.5708 GB, free: 10.3 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002827/0.4281, allocations: 161.9 kB / 0.5709 GB, free: 10.14 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004029/0.4285, allocations: 272.8 kB / 0.5712 GB, free: 9.836 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007093/0.4293, allocations: 466.7 kB / 0.5716 GB, free: 9.344 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.4293, allocations: 0 / 0.5716 GB, free: 9.344 MB / 414.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0009012/0.4302, allocations: 0.5683 MB / 0.5722 GB, free: 8.77 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.4302, allocations: 4.281 kB / 0.5722 GB, free: 8.766 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.428e-06/0.4302, allocations: 8 kB / 0.5722 GB, free: 8.758 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.805e-05/0.4302, allocations: 8 kB / 0.5722 GB, free: 8.75 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005973/0.4308, allocations: 179.7 kB / 0.5724 GB, free: 8.574 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.389e-05/0.4308, allocations: 4 kB / 0.5724 GB, free: 8.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002561/0.4311, allocations: 27.98 kB / 0.5724 GB, free: 8.543 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.084e-05/0.4311, allocations: 28 kB / 0.5724 GB, free: 8.516 MB / 414.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.0002171/0.4313, allocations: 181.5 kB / 0.5726 GB, free: 8.328 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.266e-05/0.4314, allocations: 47.72 kB / 0.5726 GB, free: 8.281 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001058/0.4315, allocations: 59.61 kB / 0.5727 GB, free: 8.223 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.275e-06/0.4315, allocations: 8 kB / 0.5727 GB, free: 8.215 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.4316, allocations: 0 / 0.5727 GB, free: 8.215 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.494e-05/0.4316, allocations: 7.984 kB / 0.5727 GB, free: 8.207 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001969/0.4335, allocations: 1.276 MB / 0.574 GB, free: 6.836 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-05/0.4336, allocations: 8.062 kB / 0.574 GB, free: 6.828 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006037/0.4342, allocations: 159.8 kB / 0.5741 GB, free: 6.672 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.101e-05/0.4342, allocations: 8 kB / 0.5741 GB, free: 6.664 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.298e-05/0.4342, allocations: 12 kB / 0.5741 GB, free: 6.652 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.819e-06/0.4342, allocations: 15.92 kB / 0.5742 GB, free: 6.637 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.84e-06/0.4342, allocations: 7.938 kB / 0.5742 GB, free: 6.629 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001293/0.4355, allocations: 0.9207 MB / 0.5751 GB, free: 5.656 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.249e-05/0.4356, allocations: 47.7 kB / 0.5751 GB, free: 5.609 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.915e-05/0.4356, allocations: 20 kB / 0.5751 GB, free: 5.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002723/0.4359, allocations: 19.94 kB / 0.5751 GB, free: 5.57 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.639e-05/0.436, allocations: 56.28 kB / 0.5752 GB, free: 5.512 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.102e-05/0.436, allocations: 20 kB / 0.5752 GB, free: 5.492 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002393/0.4363, allocations: 165.2 kB / 0.5754 GB, free: 5.336 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4363, allocations: 0 / 0.5754 GB, free: 5.336 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005278/0.4368, allocations: 140 kB / 0.5755 GB, free: 5.199 MB / 414.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.0001467/0.4369, allocations: 131.6 kB / 0.5756 GB, free: 5.062 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007062/0.4377, allocations: 431.6 kB / 0.576 GB, free: 4.648 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.4377, allocations: 0 / 0.576 GB, free: 4.648 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003136/0.438, allocations: 223.2 kB / 0.5763 GB, free: 4.43 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008243/0.4388, allocations: 138.8 kB / 0.5764 GB, free: 4.301 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002758/0.4416, allocations: 1.694 MB / 0.578 GB, free: 2.535 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002616/0.4418, allocations: 246 kB / 0.5783 GB, free: 2.27 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001337/0.4419, allocations: 47.44 kB / 0.5783 GB, free: 2.223 MB / 414.1 MB Notification: Performance of SimCode: time 7.82e-07/0.4419, allocations: 3.938 kB / 0.5783 GB, free: 2.219 MB / 414.1 MB Notification: Performance of Templates: time 0.01086/0.4528, allocations: 6.232 MB / 0.5844 GB, free: 12.02 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.sim & ./ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/InitializationConversion/SpringDamper/SpringDamper.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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: 8.597347015049309]