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.001532/0.001532, allocations: 112.2 kB / 21.22 MB, free: 0.7305 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.001742/0.001742, allocations: 212.2 kB / 24.53 MB, free: 4.07 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.491/1.491, allocations: 230.6 MB / 258.3 MB, free: 8.004 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.2289/0.2289, allocations: 44.91 MB / 359.6 MB, free: 6.301 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.InitializationConversion.SpringDamper,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Rotational_InitializationConversion_SpringDamper",fmuType="cs",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.002125/0.002125, allocations: 67.84 kB / 0.4938 GB, free: 10.75 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3516/0.3537, allocations: 65.48 MB / 0.5578 GB, free: 7.539 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.00479/0.3585, allocations: 3.306 MB / 0.561 GB, free: 4.488 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001731/0.3603, allocations: 0.8374 MB / 0.5618 GB, free: 3.645 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002741/0.3605, allocations: 15.88 kB / 0.5618 GB, free: 3.629 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002165/0.3608, allocations: 71.23 kB / 0.5619 GB, free: 3.559 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003534/0.3611, allocations: 178.5 kB / 0.5621 GB, free: 3.383 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000282/0.3614, allocations: 107.8 kB / 0.5622 GB, free: 3.277 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006427/0.362, allocations: 0.6025 MB / 0.5628 GB, free: 2.672 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002676/0.3623, allocations: 117.8 kB / 0.5629 GB, free: 2.551 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000317/0.3626, allocations: 235.2 kB / 0.5631 GB, free: 2.32 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003174/0.3629, allocations: 243 kB / 0.5633 GB, free: 2.082 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.38e-05/0.363, allocations: 40 kB / 0.5634 GB, free: 2.043 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.25e-05/0.3631, allocations: 44 kB / 0.5634 GB, free: 2 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.452e-05/0.3632, allocations: 99.62 kB / 0.5635 GB, free: 1.902 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002764/0.3635, allocations: 270.7 kB / 0.5638 GB, free: 1.637 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006866/0.3641, allocations: 0.5661 MB / 0.5643 GB, free: 1.07 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.3641, allocations: 0 / 0.5643 GB, free: 1.07 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.3642, allocations: 0 / 0.5643 GB, free: 1.07 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.13e-05/0.3642, allocations: 0 / 0.5643 GB, free: 1.07 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.001259/0.3654, allocations: 0.7038 MB / 0.565 GB, free: 340 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.631e-05/0.3655, allocations: 8.031 kB / 0.565 GB, free: 332 kB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.923e-05/0.3655, allocations: 13.19 kB / 0.565 GB, free: 320 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.541e-05/0.3656, allocations: 86.7 kB / 0.5651 GB, free: 224 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.764e-05/0.3657, allocations: 60.61 kB / 0.5652 GB, free: 164 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005021/0.3662, allocations: 268.8 kB / 0.5654 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.534e-05/0.3662, allocations: 37.38 kB / 0.5655 GB, free: 15.83 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.843e-05/0.3663, allocations: 60.31 kB / 0.5655 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007241/0.367, allocations: 438.5 kB / 0.5659 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.141e-05/0.3671, allocations: 7.938 kB / 0.566 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.807e-05/0.3671, allocations: 20 kB / 0.566 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.188e-05/0.3671, allocations: 16 kB / 0.566 GB, free: 15.28 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005549/0.3677, allocations: 312.5 kB / 0.5663 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001824/0.3695, allocations: 1.103 MB / 0.5674 GB, free: 13.83 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007347/0.3702, allocations: 384 kB / 0.5677 GB, free: 13.43 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003045/0.3705, allocations: 194.9 kB / 0.5679 GB, free: 13.23 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.072e-05/0.3706, allocations: 4.438 kB / 0.5679 GB, free: 13.23 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.345e-05/0.3706, allocations: 42.94 kB / 0.568 GB, free: 13.18 MB / 414.1 MB Notification: Performance of pre-optimization done (n=62): time 2.535e-06/0.3706, allocations: 48 / 0.568 GB, free: 13.18 MB / 414.1 MB Notification: Performance of matching and sorting (n=74): time 0.003138/0.3737, allocations: 1.845 MB / 0.5698 GB, free: 11.25 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.066e-05/0.3738, allocations: 93.55 kB / 0.5699 GB, free: 11.13 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003117/0.3741, allocations: 260.1 kB / 0.5701 GB, free: 10.87 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.086e-05/0.3742, allocations: 45.64 kB / 0.5701 GB, free: 10.82 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001718/0.3743, allocations: 205.4 kB / 0.5703 GB, free: 10.62 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002309/0.3746, allocations: 289.5 kB / 0.5706 GB, free: 10.33 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001634/0.3747, allocations: 118.6 kB / 0.5707 GB, free: 10.21 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001975/0.3749, allocations: 358.8 kB / 0.5711 GB, free: 9.852 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002781/0.3752, allocations: 153.9 kB / 0.5712 GB, free: 9.699 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003672/0.3756, allocations: 276.9 kB / 0.5715 GB, free: 9.395 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007065/0.3763, allocations: 470.6 kB / 0.5719 GB, free: 8.898 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.075e-06/0.3763, allocations: 4 kB / 0.5719 GB, free: 8.895 MB / 414.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0009125/0.3772, allocations: 0.5644 MB / 0.5725 GB, free: 8.324 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.471e-05/0.3772, allocations: 8 kB / 0.5725 GB, free: 8.316 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.3772, allocations: 0 / 0.5725 GB, free: 8.316 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.586e-05/0.3772, allocations: 8 kB / 0.5725 GB, free: 8.309 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006092/0.3779, allocations: 175.8 kB / 0.5727 GB, free: 8.137 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.449e-05/0.3779, allocations: 20.2 kB / 0.5727 GB, free: 8.117 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002998/0.3782, allocations: 23.94 kB / 0.5727 GB, free: 8.094 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.945e-05/0.3782, allocations: 24 kB / 0.5727 GB, free: 8.07 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.0002327/0.3785, allocations: 173.7 kB / 0.5729 GB, free: 7.891 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001112/0.3786, allocations: 47.72 kB / 0.5729 GB, free: 7.844 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001252/0.3787, allocations: 63.58 kB / 0.573 GB, free: 7.777 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.748e-06/0.3787, allocations: 8 kB / 0.573 GB, free: 7.77 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-05/0.3787, allocations: 8.062 kB / 0.573 GB, free: 7.762 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.159e-05/0.3787, allocations: 7.922 kB / 0.573 GB, free: 7.754 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002262/0.381, allocations: 1.408 MB / 0.5744 GB, free: 6.242 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.06e-06/0.381, allocations: 0 / 0.5744 GB, free: 6.242 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006479/0.3816, allocations: 159.8 kB / 0.5746 GB, free: 6.086 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.276e-05/0.3817, allocations: 7.938 kB / 0.5746 GB, free: 6.078 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.87e-05/0.3817, allocations: 16.34 kB / 0.5746 GB, free: 6.062 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.24e-05/0.3817, allocations: 15.94 kB / 0.5746 GB, free: 6.047 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-05/0.3817, allocations: 3.938 kB / 0.5746 GB, free: 6.043 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001262/0.383, allocations: 0.9166 MB / 0.5755 GB, free: 5.078 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001104/0.3831, allocations: 47.66 kB / 0.5755 GB, free: 5.031 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.723e-05/0.3832, allocations: 12 kB / 0.5756 GB, free: 5.02 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002831/0.3834, allocations: 23.98 kB / 0.5756 GB, free: 4.996 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.944e-05/0.3835, allocations: 52.3 kB / 0.5756 GB, free: 4.941 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.323e-05/0.3836, allocations: 23.98 kB / 0.5756 GB, free: 4.918 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001894/0.3838, allocations: 175.1 kB / 0.5758 GB, free: 4.746 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3838, allocations: 4 kB / 0.5758 GB, free: 4.742 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005632/0.3843, allocations: 144 kB / 0.576 GB, free: 4.602 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.001527/0.3859, allocations: 1.477 MB / 0.5774 GB, free: 3.07 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008097/0.3867, allocations: 427.6 kB / 0.5778 GB, free: 2.648 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.704e-06/0.3867, allocations: 11.94 kB / 0.5778 GB, free: 2.637 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003324/0.387, allocations: 219.4 kB / 0.578 GB, free: 2.422 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001001/0.388, allocations: 133.1 kB / 0.5782 GB, free: 2.297 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006865/0.3949, allocations: 4.784 MB / 0.5828 GB, free: 13.3 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005943/0.3955, allocations: 0.8484 MB / 0.5837 GB, free: 12.42 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002595/0.3957, allocations: 56.66 kB / 0.5837 GB, free: 12.36 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002565/0.396, allocations: 167.4 kB / 0.5839 GB, free: 12.2 MB / 430.1 MB Notification: Performance of SimCode: time 1.533e-06/0.396, allocations: 0 / 0.5839 GB, free: 12.2 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03723/0.4332, allocations: 10.56 MB / 0.5942 GB, free: 1.852 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.42/12.85, allocations: 11.91 kB / 0.5942 GB, free: 1.84 MB / 430.1 MB " [Timeout remaining time 647] (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: 16.106364356004633]