Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001285/0.001285, allocations: 108.4 kB / 21.17 MB, free: 0.7852 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.001527/0.001527, allocations: 216.5 kB / 24.47 MB, free: 4.359 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.533/1.533, allocations: 230.2 MB / 257.8 MB, free: 8.5 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2355/0.2355, allocations: 46.89 MB / 361.1 MB, free: 4.641 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4.1.0-beta.om_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.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.SpringDamper") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002288/0.002288, allocations: 75.88 kB / 0.4967 GB, free: 7.836 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3445/0.3468, allocations: 65.99 MB / 0.5612 GB, free: 5.027 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.004837/0.3517, allocations: 3.309 MB / 0.5644 GB, free: 1.703 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001796/0.3535, allocations: 0.8411 MB / 0.5652 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002343/0.3537, allocations: 8 kB / 0.5652 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002189/0.3539, allocations: 79.11 kB / 0.5653 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003338/0.3543, allocations: 178.5 kB / 0.5655 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002582/0.3545, allocations: 111.8 kB / 0.5656 GB, free: 500 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006259/0.3551, allocations: 0.587 MB / 0.5662 GB, free: 15.89 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002617/0.3554, allocations: 133.4 kB / 0.5663 GB, free: 15.76 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002496/0.3556, allocations: 223.1 kB / 0.5665 GB, free: 15.54 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003115/0.356, allocations: 239 kB / 0.5667 GB, free: 15.31 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.579e-05/0.356, allocations: 44 kB / 0.5668 GB, free: 15.27 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.392e-05/0.3561, allocations: 47.94 kB / 0.5668 GB, free: 15.22 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001102/0.3562, allocations: 107.6 kB / 0.5669 GB, free: 15.11 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002535/0.3565, allocations: 266.7 kB / 0.5672 GB, free: 14.85 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006023/0.3571, allocations: 0.559 MB / 0.5677 GB, free: 14.29 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.3571, allocations: 0 / 0.5677 GB, free: 14.29 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3571, allocations: 0 / 0.5677 GB, free: 14.29 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.879e-06/0.3571, allocations: 0 / 0.5677 GB, free: 14.29 MB / 414.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.001247/0.3583, allocations: 0.7713 MB / 0.5685 GB, free: 13.47 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.3584, allocations: 12.03 kB / 0.5685 GB, free: 13.46 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.21e-05/0.3585, allocations: 56.61 kB / 0.5685 GB, free: 13.4 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004763/0.3589, allocations: 326.5 kB / 0.5689 GB, free: 13.04 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.26e-05/0.359, allocations: 37.38 kB / 0.5689 GB, free: 13.01 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.051e-05/0.3591, allocations: 60.31 kB / 0.5689 GB, free: 12.95 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006868/0.3597, allocations: 434.9 kB / 0.5694 GB, free: 12.51 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.652e-05/0.3598, allocations: 15.94 kB / 0.5694 GB, free: 12.49 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.886e-05/0.3598, allocations: 16 kB / 0.5694 GB, free: 12.48 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.483e-05/0.3598, allocations: 16 kB / 0.5694 GB, free: 12.46 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005336/0.3604, allocations: 316.5 kB / 0.5697 GB, free: 12.15 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001751/0.3621, allocations: 1.146 MB / 0.5708 GB, free: 10.95 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007603/0.3629, allocations: 460.6 kB / 0.5713 GB, free: 10.46 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003057/0.3632, allocations: 199.1 kB / 0.5715 GB, free: 10.27 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.529e-05/0.3632, allocations: 12.38 kB / 0.5715 GB, free: 10.25 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.24e-05/0.3632, allocations: 39 kB / 0.5715 GB, free: 10.21 MB / 414.1 MB Notification: Performance of pre-optimization done (n=62): time 1.894e-06/0.3632, allocations: 0 / 0.5715 GB, free: 10.21 MB / 414.1 MB Notification: Performance of matching and sorting (n=74): time 0.003151/0.3664, allocations: 2.144 MB / 0.5736 GB, free: 7.898 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.02e-05/0.3665, allocations: 93.55 kB / 0.5737 GB, free: 7.789 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002738/0.3667, allocations: 255 kB / 0.5739 GB, free: 7.527 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.779e-05/0.3668, allocations: 41.7 kB / 0.574 GB, free: 7.48 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000162/0.3669, allocations: 217.4 kB / 0.5742 GB, free: 7.266 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002139/0.3672, allocations: 277.5 kB / 0.5744 GB, free: 6.992 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001578/0.3673, allocations: 122.6 kB / 0.5746 GB, free: 6.867 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001858/0.3675, allocations: 358.7 kB / 0.5749 GB, free: 6.508 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002794/0.3678, allocations: 157.9 kB / 0.5751 GB, free: 6.352 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003803/0.3682, allocations: 272.9 kB / 0.5753 GB, free: 6.051 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007064/0.3689, allocations: 470.8 kB / 0.5758 GB, free: 5.559 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.3689, allocations: 0 / 0.5758 GB, free: 5.559 MB / 414.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0009529/0.3698, allocations: 0.5722 MB / 0.5763 GB, free: 4.98 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.126e-05/0.3698, allocations: 4 kB / 0.5763 GB, free: 4.977 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.287e-06/0.3699, allocations: 4 kB / 0.5763 GB, free: 4.973 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.088e-05/0.3699, allocations: 4 kB / 0.5763 GB, free: 4.969 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005984/0.3705, allocations: 187.7 kB / 0.5765 GB, free: 4.785 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.221e-05/0.3705, allocations: 4 kB / 0.5765 GB, free: 4.781 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002508/0.3707, allocations: 28.28 kB / 0.5765 GB, free: 4.754 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.941e-05/0.3708, allocations: 27.94 kB / 0.5766 GB, free: 4.727 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.0002199/0.371, allocations: 185.6 kB / 0.5767 GB, free: 4.535 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.845e-05/0.3711, allocations: 43.72 kB / 0.5768 GB, free: 4.492 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001131/0.3712, allocations: 59.64 kB / 0.5768 GB, free: 4.43 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.638e-06/0.3712, allocations: 8 kB / 0.5769 GB, free: 4.422 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.605e-06/0.3712, allocations: 0 / 0.5769 GB, free: 4.422 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.413e-05/0.3712, allocations: 12.02 kB / 0.5769 GB, free: 4.41 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001989/0.3732, allocations: 1.436 MB / 0.5783 GB, free: 2.863 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.024e-06/0.3732, allocations: 4.062 kB / 0.5783 GB, free: 2.859 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006256/0.3738, allocations: 163.8 kB / 0.5784 GB, free: 2.699 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.422e-06/0.3739, allocations: 4 kB / 0.5784 GB, free: 2.695 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.118e-05/0.3739, allocations: 23.94 kB / 0.5785 GB, free: 2.672 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.901e-06/0.3739, allocations: 4 kB / 0.5785 GB, free: 2.668 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.771e-06/0.3739, allocations: 7.938 kB / 0.5785 GB, free: 2.66 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001236/0.3751, allocations: 0.9164 MB / 0.5794 GB, free: 1.695 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001143/0.3753, allocations: 116.8 kB / 0.5795 GB, free: 1.562 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.799e-05/0.3753, allocations: 19.94 kB / 0.5795 GB, free: 1.543 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002847/0.3756, allocations: 19.98 kB / 0.5795 GB, free: 1.523 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.202e-05/0.3757, allocations: 52.38 kB / 0.5796 GB, free: 1.469 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.9e-05/0.3757, allocations: 20 kB / 0.5796 GB, free: 1.449 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001714/0.3759, allocations: 181.8 kB / 0.5798 GB, free: 1.277 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3759, allocations: 0 / 0.5798 GB, free: 1.277 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004881/0.3764, allocations: 144 kB / 0.5799 GB, free: 1.137 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.0001564/0.3765, allocations: 135 kB / 0.58 GB, free: 0.9961 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007057/0.3772, allocations: 439.6 kB / 0.5804 GB, free: 0.5703 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.3772, allocations: 0 / 0.5804 GB, free: 0.5703 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003157/0.3775, allocations: 219.3 kB / 0.5806 GB, free: 360 kB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008031/0.3783, allocations: 132.8 kB / 0.5808 GB, free: 232 kB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002619/0.381, allocations: 1.667 MB / 0.5824 GB, free: 14.5 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005131/0.3815, allocations: 0.8447 MB / 0.5832 GB, free: 13.62 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001788/0.3817, allocations: 56.66 kB / 0.5833 GB, free: 13.56 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001016/0.3818, allocations: 43.44 kB / 0.5833 GB, free: 13.52 MB / 430.1 MB Notification: Performance of SimCode: time 6.61e-07/0.3818, allocations: 4 kB / 0.5833 GB, free: 13.52 MB / 430.1 MB Notification: Performance of Templates: time 0.01142/0.3932, allocations: 5.653 MB / 0.5888 GB, free: 7.926 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.SpringDamper.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.SpringDamper.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.SpringDamper -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.SpringDamper_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/InitializationConversion/SpringDamper/SpringDamper.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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.295154858846217]