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.001262/0.001262, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.001391/0.001391, allocations: 211.9 kB / 24.51 MB, free: 3.941 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.443/1.443, allocations: 230.6 MB / 258.3 MB, free: 7.781 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.2285/0.2285, allocations: 44.94 MB / 359.6 MB, free: 6.016 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.002007/0.002007, allocations: 55.91 kB / 0.4938 GB, free: 10.51 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3441/0.3461, allocations: 65.47 MB / 0.5577 GB, free: 7.301 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.004614/0.3507, allocations: 3.003 MB / 0.5606 GB, free: 4.488 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00147/0.3522, allocations: 0.7984 MB / 0.5614 GB, free: 3.684 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001639/0.3524, allocations: 15.88 kB / 0.5614 GB, free: 3.668 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001933/0.3526, allocations: 71.25 kB / 0.5615 GB, free: 3.598 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003201/0.3529, allocations: 178.5 kB / 0.5617 GB, free: 3.422 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002414/0.3531, allocations: 111.8 kB / 0.5618 GB, free: 3.312 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006118/0.3537, allocations: 0.5947 MB / 0.5624 GB, free: 2.715 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002955/0.354, allocations: 117.8 kB / 0.5625 GB, free: 2.594 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002854/0.3543, allocations: 235.2 kB / 0.5627 GB, free: 2.363 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003403/0.3547, allocations: 246.9 kB / 0.5629 GB, free: 2.121 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.663e-05/0.3547, allocations: 44 kB / 0.563 GB, free: 2.078 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.732e-05/0.3548, allocations: 48 kB / 0.563 GB, free: 2.031 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001186/0.3549, allocations: 95.62 kB / 0.5631 GB, free: 1.938 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002414/0.3552, allocations: 223 kB / 0.5633 GB, free: 1.719 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006432/0.3558, allocations: 0.566 MB / 0.5639 GB, free: 1.152 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.136e-06/0.3558, allocations: 4 kB / 0.5639 GB, free: 1.148 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.3558, allocations: 0 / 0.5639 GB, free: 1.148 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.155e-06/0.3558, allocations: 0 / 0.5639 GB, free: 1.148 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.001201/0.357, allocations: 0.6999 MB / 0.5646 GB, free: 424 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.815e-05/0.3571, allocations: 8.031 kB / 0.5646 GB, free: 416 kB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.444e-05/0.3571, allocations: 17.17 kB / 0.5646 GB, free: 400 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.48e-05/0.3572, allocations: 90.7 kB / 0.5647 GB, free: 300 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.854e-05/0.3573, allocations: 56.61 kB / 0.5647 GB, free: 244 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005387/0.3578, allocations: 260.8 kB / 0.565 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.696e-05/0.3579, allocations: 41.38 kB / 0.565 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.034e-05/0.358, allocations: 56.33 kB / 0.5651 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007633/0.3587, allocations: 438.5 kB / 0.5655 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.198e-05/0.3588, allocations: 11.95 kB / 0.5655 GB, free: 15.4 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.166e-05/0.3588, allocations: 23.94 kB / 0.5655 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.345e-05/0.3588, allocations: 12 kB / 0.5655 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005604/0.3594, allocations: 312.5 kB / 0.5658 GB, free: 15.06 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001687/0.3611, allocations: 1.01 MB / 0.5668 GB, free: 14 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007502/0.3618, allocations: 389 kB / 0.5672 GB, free: 13.6 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003156/0.3622, allocations: 194.9 kB / 0.5674 GB, free: 13.41 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.463e-05/0.3622, allocations: 12.47 kB / 0.5674 GB, free: 13.39 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.723e-05/0.3622, allocations: 42.94 kB / 0.5674 GB, free: 13.34 MB / 414.1 MB Notification: Performance of pre-optimization done (n=62): time 1.973e-06/0.3622, allocations: 0 / 0.5674 GB, free: 13.34 MB / 414.1 MB Notification: Performance of matching and sorting (n=74): time 0.003167/0.3654, allocations: 1.837 MB / 0.5692 GB, free: 11.42 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.872e-05/0.3655, allocations: 85.61 kB / 0.5693 GB, free: 11.31 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000277/0.3657, allocations: 260.1 kB / 0.5696 GB, free: 11.05 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.786e-05/0.3658, allocations: 41.7 kB / 0.5696 GB, free: 11 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001597/0.3659, allocations: 205.4 kB / 0.5698 GB, free: 10.8 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002432/0.3662, allocations: 289.5 kB / 0.5701 GB, free: 10.52 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001717/0.3664, allocations: 118.6 kB / 0.5702 GB, free: 10.39 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001807/0.3665, allocations: 358.8 kB / 0.5705 GB, free: 10.03 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003084/0.3668, allocations: 157.9 kB / 0.5707 GB, free: 9.879 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003842/0.3672, allocations: 280.8 kB / 0.5709 GB, free: 9.57 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007217/0.368, allocations: 467.8 kB / 0.5714 GB, free: 9.078 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.368, allocations: 0 / 0.5714 GB, free: 9.078 MB / 414.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0009367/0.3689, allocations: 0.5672 MB / 0.5719 GB, free: 8.504 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.3689, allocations: 4 kB / 0.5719 GB, free: 8.5 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.989e-06/0.3689, allocations: 4 kB / 0.5719 GB, free: 8.496 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.33e-05/0.3689, allocations: 4 kB / 0.572 GB, free: 8.492 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000672/0.3696, allocations: 195.6 kB / 0.5721 GB, free: 8.301 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.513e-05/0.3696, allocations: 4 kB / 0.5721 GB, free: 8.297 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002875/0.3699, allocations: 36.2 kB / 0.5722 GB, free: 8.262 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.837e-05/0.37, allocations: 20 kB / 0.5722 GB, free: 8.242 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.0002314/0.3702, allocations: 177.7 kB / 0.5724 GB, free: 8.059 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.628e-05/0.3703, allocations: 51.66 kB / 0.5724 GB, free: 8.008 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001123/0.3704, allocations: 51.64 kB / 0.5725 GB, free: 7.953 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-05/0.3704, allocations: 8 kB / 0.5725 GB, free: 7.945 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.928e-06/0.3704, allocations: 4 kB / 0.5725 GB, free: 7.941 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.025e-05/0.3704, allocations: 7.984 kB / 0.5725 GB, free: 7.934 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002088/0.3725, allocations: 1.349 MB / 0.5738 GB, free: 6.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.352e-06/0.3725, allocations: 4 kB / 0.5738 GB, free: 6.477 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006514/0.3732, allocations: 155.8 kB / 0.574 GB, free: 6.324 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.178e-05/0.3732, allocations: 11.94 kB / 0.574 GB, free: 6.312 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.896e-05/0.3732, allocations: 24.34 kB / 0.574 GB, free: 6.289 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.586e-06/0.3732, allocations: 11.92 kB / 0.574 GB, free: 6.277 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.092e-06/0.3732, allocations: 7.938 kB / 0.574 GB, free: 6.27 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001194/0.3744, allocations: 0.9088 MB / 0.5749 GB, free: 5.312 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.506e-05/0.3745, allocations: 51.64 kB / 0.5749 GB, free: 5.262 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.897e-05/0.3746, allocations: 12 kB / 0.575 GB, free: 5.25 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002861/0.3749, allocations: 20 kB / 0.575 GB, free: 5.23 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.532e-05/0.3749, allocations: 52.28 kB / 0.575 GB, free: 5.176 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.94e-05/0.375, allocations: 24 kB / 0.575 GB, free: 5.152 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001703/0.3752, allocations: 183.1 kB / 0.5752 GB, free: 4.973 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3752, allocations: 0 / 0.5752 GB, free: 4.973 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005334/0.3757, allocations: 144 kB / 0.5754 GB, free: 4.832 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.001489/0.3772, allocations: 1.47 MB / 0.5768 GB, free: 3.309 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007221/0.3779, allocations: 431.8 kB / 0.5772 GB, free: 2.883 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.083e-06/0.3779, allocations: 4 kB / 0.5772 GB, free: 2.879 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003204/0.3782, allocations: 218.2 kB / 0.5774 GB, free: 2.664 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008993/0.3791, allocations: 145.1 kB / 0.5776 GB, free: 2.531 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00633/0.3855, allocations: 4.772 MB / 0.5822 GB, free: 13.54 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002619/0.3857, allocations: 250 kB / 0.5825 GB, free: 13.27 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002187/0.3859, allocations: 56.66 kB / 0.5825 GB, free: 13.21 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002544/0.3862, allocations: 175.4 kB / 0.5827 GB, free: 13.04 MB / 430.1 MB Notification: Performance of SimCode: time 9.42e-07/0.3862, allocations: 0 / 0.5827 GB, free: 13.04 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03767/0.4239, allocations: 10.74 MB / 0.5932 GB, free: 2.57 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.23/12.65, allocations: 4.062 kB / 0.5932 GB, free: 2.566 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: 15.89691693696659]