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.001393/0.001393, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001788/0.001788, allocations: 215.9 kB / 23.73 MB, free: 4.16 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.52/1.52, allocations: 230.6 MB / 257.5 MB, free: 7.809 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.2324/0.2324, allocations: 44.94 MB / 358.8 MB, free: 6.039 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: "" <> buildModelFMU(ModelicaTest.Rotational.InitializationConversion.SpringDamper,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Rotational_InitializationConversion_SpringDamper",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.InitializationConversion.SpringDamper,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Rotational_InitializationConversion_SpringDamper",fmuType="me",version="2.0",platforms={"static"}) [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.002101/0.002101, allocations: 71.89 kB / 0.493 GB, free: 10.53 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3343/0.3364, allocations: 65.48 MB / 0.557 GB, free: 7.176 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.005029/0.3415, allocations: 3.001 MB / 0.5599 GB, free: 4.371 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001718/0.3432, allocations: 0.8024 MB / 0.5607 GB, free: 3.562 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002126/0.3434, allocations: 15.88 kB / 0.5607 GB, free: 3.547 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002269/0.3436, allocations: 75.23 kB / 0.5608 GB, free: 3.473 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003857/0.344, allocations: 178.5 kB / 0.5609 GB, free: 3.297 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003226/0.3443, allocations: 103.9 kB / 0.561 GB, free: 3.195 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007236/0.3451, allocations: 0.6024 MB / 0.5616 GB, free: 2.59 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002811/0.3453, allocations: 113.8 kB / 0.5617 GB, free: 2.473 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003208/0.3457, allocations: 227.2 kB / 0.5619 GB, free: 2.25 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003952/0.3461, allocations: 214.9 kB / 0.5622 GB, free: 2.039 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.067e-05/0.3461, allocations: 44 kB / 0.5622 GB, free: 1.996 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.069e-05/0.3462, allocations: 44 kB / 0.5622 GB, free: 1.953 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001016/0.3463, allocations: 95.62 kB / 0.5623 GB, free: 1.859 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002656/0.3466, allocations: 227 kB / 0.5625 GB, free: 1.637 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006628/0.3472, allocations: 0.5699 MB / 0.5631 GB, free: 1.066 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.3472, allocations: 0 / 0.5631 GB, free: 1.066 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.525e-06/0.3473, allocations: 0 / 0.5631 GB, free: 1.066 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.047e-05/0.3473, allocations: 0 / 0.5631 GB, free: 1.066 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.001287/0.3485, allocations: 0.6998 MB / 0.5638 GB, free: 340 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.851e-05/0.3486, allocations: 16.03 kB / 0.5638 GB, free: 324 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001129/0.3487, allocations: 90.7 kB / 0.5639 GB, free: 224 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.26e-05/0.3488, allocations: 52.61 kB / 0.5639 GB, free: 172 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000552/0.3494, allocations: 263.2 kB / 0.5642 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.777e-05/0.3494, allocations: 37.38 kB / 0.5642 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.173e-05/0.3495, allocations: 56.31 kB / 0.5643 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007107/0.3502, allocations: 432.3 kB / 0.5647 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.144e-05/0.3502, allocations: 11.94 kB / 0.5647 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.602e-05/0.3503, allocations: 20 kB / 0.5647 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.765e-05/0.3503, allocations: 16 kB / 0.5647 GB, free: 15.31 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005279/0.3508, allocations: 316.4 kB / 0.565 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001802/0.3526, allocations: 1.002 MB / 0.566 GB, free: 13.95 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007129/0.3533, allocations: 385 kB / 0.5664 GB, free: 13.55 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00029/0.3536, allocations: 194.9 kB / 0.5666 GB, free: 13.36 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.536e-05/0.3536, allocations: 4.438 kB / 0.5666 GB, free: 13.35 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.563e-05/0.3537, allocations: 43.3 kB / 0.5666 GB, free: 13.3 MB / 414.1 MB Notification: Performance of pre-optimization done (n=62): time 4.208e-06/0.3537, allocations: 7.922 kB / 0.5666 GB, free: 13.29 MB / 414.1 MB Notification: Performance of matching and sorting (n=74): time 0.003018/0.3567, allocations: 1.838 MB / 0.5684 GB, free: 11.37 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.133e-05/0.3568, allocations: 85.61 kB / 0.5685 GB, free: 11.26 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002795/0.3571, allocations: 260.2 kB / 0.5687 GB, free: 11 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.322e-05/0.3571, allocations: 37.7 kB / 0.5688 GB, free: 10.96 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001653/0.3573, allocations: 213.4 kB / 0.569 GB, free: 10.75 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002272/0.3575, allocations: 289.5 kB / 0.5693 GB, free: 10.46 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001657/0.3577, allocations: 118.6 kB / 0.5694 GB, free: 10.34 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002209/0.3579, allocations: 358.8 kB / 0.5697 GB, free: 9.98 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002756/0.3582, allocations: 153.9 kB / 0.5699 GB, free: 9.828 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003707/0.3585, allocations: 280.8 kB / 0.5701 GB, free: 9.516 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006773/0.3592, allocations: 474.8 kB / 0.5706 GB, free: 9.016 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.3592, allocations: 0 / 0.5706 GB, free: 9.016 MB / 414.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0008669/0.3601, allocations: 0.5671 MB / 0.5711 GB, free: 8.441 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.155e-05/0.3601, allocations: 14.62 kB / 0.5711 GB, free: 8.43 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.154e-05/0.3601, allocations: 4 kB / 0.5712 GB, free: 8.426 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.068e-05/0.3601, allocations: 4 kB / 0.5712 GB, free: 8.422 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006186/0.3608, allocations: 179.7 kB / 0.5713 GB, free: 8.246 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.535e-05/0.3608, allocations: 11.98 kB / 0.5713 GB, free: 8.234 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002445/0.361, allocations: 20 kB / 0.5714 GB, free: 8.215 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.672e-05/0.3611, allocations: 24 kB / 0.5714 GB, free: 8.191 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.0002156/0.3613, allocations: 193.5 kB / 0.5716 GB, free: 7.992 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.272e-05/0.3614, allocations: 47.72 kB / 0.5716 GB, free: 7.945 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001129/0.3615, allocations: 59.64 kB / 0.5717 GB, free: 7.883 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.356e-06/0.3615, allocations: 8 kB / 0.5717 GB, free: 7.875 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.75e-06/0.3615, allocations: 0 / 0.5717 GB, free: 7.875 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.045e-06/0.3615, allocations: 3.984 kB / 0.5717 GB, free: 7.871 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002004/0.3635, allocations: 1.349 MB / 0.573 GB, free: 6.418 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.272e-06/0.3635, allocations: 4 kB / 0.573 GB, free: 6.414 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000616/0.3641, allocations: 155.8 kB / 0.5731 GB, free: 6.262 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.388e-06/0.3641, allocations: 8 kB / 0.5732 GB, free: 6.254 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.461e-05/0.3642, allocations: 16 kB / 0.5732 GB, free: 6.238 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.951e-06/0.3642, allocations: 11.94 kB / 0.5732 GB, free: 6.227 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.067e-06/0.3642, allocations: 4 kB / 0.5732 GB, free: 6.223 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001246/0.3654, allocations: 0.9208 MB / 0.5741 GB, free: 5.254 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.968e-05/0.3655, allocations: 39.72 kB / 0.5741 GB, free: 5.215 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.776e-05/0.3655, allocations: 16 kB / 0.5741 GB, free: 5.199 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002699/0.3658, allocations: 23.98 kB / 0.5742 GB, free: 5.176 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.869e-05/0.3659, allocations: 52.23 kB / 0.5742 GB, free: 5.121 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.108e-05/0.3659, allocations: 24.05 kB / 0.5742 GB, free: 5.098 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001724/0.3661, allocations: 179.1 kB / 0.5744 GB, free: 4.922 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3661, allocations: 0 / 0.5744 GB, free: 4.922 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000488/0.3666, allocations: 140 kB / 0.5745 GB, free: 4.785 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.001523/0.3681, allocations: 1.477 MB / 0.576 GB, free: 3.258 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007342/0.3688, allocations: 439.5 kB / 0.5764 GB, free: 2.824 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.3688, allocations: 0 / 0.5764 GB, free: 2.824 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000327/0.3692, allocations: 227.2 kB / 0.5766 GB, free: 2.602 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008286/0.37, allocations: 127.9 kB / 0.5767 GB, free: 2.484 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006683/0.3767, allocations: 4.78 MB / 0.5814 GB, free: 13.48 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003023/0.377, allocations: 246 kB / 0.5816 GB, free: 13.21 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002332/0.3772, allocations: 56.66 kB / 0.5817 GB, free: 13.16 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000276/0.3775, allocations: 167.4 kB / 0.5819 GB, free: 12.99 MB / 430.1 MB Notification: Performance of SimCode: time 1.312e-06/0.3775, allocations: 0 / 0.5819 GB, free: 12.99 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04223/0.4197, allocations: 10.91 MB / 0.5925 GB, free: 2.332 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.49/11.91, allocations: 6.5 kB / 0.5925 GB, free: 2.332 MB / 430.1 MB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Rotational_InitializationConversion_SpringDamper_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Rotational_InitializationConversion_SpringDamper.fmu > ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe 2>&1) [Timeout 52.5] 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: 15.070377397816628]