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.001282/0.001282, allocations: 109.2 kB / 20.43 MB, free: 1.473 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.001403/0.001403, allocations: 213.4 kB / 23.74 MB, free: 4.688 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.469/1.469, allocations: 230.6 MB / 257.5 MB, free: 8.02 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.2264/0.2264, allocations: 44.91 MB / 358.8 MB, free: 6.305 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.002108/0.002108, allocations: 75.89 kB / 0.4931 GB, free: 10.74 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3504/0.3525, allocations: 65.46 MB / 0.557 GB, free: 7.539 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.004844/0.3573, allocations: 3.324 MB / 0.5603 GB, free: 4.445 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001748/0.3591, allocations: 0.8412 MB / 0.5611 GB, free: 3.598 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002091/0.3593, allocations: 19.88 kB / 0.5611 GB, free: 3.578 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000218/0.3595, allocations: 75.23 kB / 0.5612 GB, free: 3.504 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003308/0.3598, allocations: 170.5 kB / 0.5613 GB, free: 3.336 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002679/0.3601, allocations: 111.8 kB / 0.5614 GB, free: 3.227 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007258/0.3608, allocations: 0.5985 MB / 0.562 GB, free: 2.625 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002549/0.3611, allocations: 121.8 kB / 0.5621 GB, free: 2.5 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002701/0.3614, allocations: 235.2 kB / 0.5624 GB, free: 2.27 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003104/0.3617, allocations: 238.9 kB / 0.5626 GB, free: 2.035 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.68e-05/0.3617, allocations: 44 kB / 0.5626 GB, free: 1.992 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.486e-05/0.3618, allocations: 44 kB / 0.5627 GB, free: 1.949 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.032e-05/0.3619, allocations: 103.6 kB / 0.5628 GB, free: 1.848 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002503/0.3622, allocations: 262.7 kB / 0.563 GB, free: 1.59 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006084/0.3628, allocations: 0.5659 MB / 0.5636 GB, free: 1.023 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.3628, allocations: 0 / 0.5636 GB, free: 1.023 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.3628, allocations: 0 / 0.5636 GB, free: 1.023 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.262e-05/0.3628, allocations: 4 kB / 0.5636 GB, free: 1.02 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.001121/0.3639, allocations: 0.696 MB / 0.5643 GB, free: 296 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.336e-05/0.3639, allocations: 12.03 kB / 0.5643 GB, free: 284 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001775/0.3641, allocations: 86.7 kB / 0.5643 GB, free: 188 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.809e-05/0.3642, allocations: 56.61 kB / 0.5644 GB, free: 132 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005043/0.3647, allocations: 264.8 kB / 0.5647 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.71e-05/0.3648, allocations: 33.38 kB / 0.5647 GB, free: 15.81 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.067e-05/0.3648, allocations: 60.27 kB / 0.5647 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007481/0.3656, allocations: 434.7 kB / 0.5652 GB, free: 15.31 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.273e-05/0.3656, allocations: 7.953 kB / 0.5652 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.495e-05/0.3657, allocations: 23.94 kB / 0.5652 GB, free: 15.28 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.489e-05/0.3657, allocations: 16 kB / 0.5652 GB, free: 15.26 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005539/0.3662, allocations: 312.5 kB / 0.5655 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001736/0.368, allocations: 1.104 MB / 0.5666 GB, free: 13.8 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00071/0.3687, allocations: 384 kB / 0.5669 GB, free: 13.41 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002995/0.369, allocations: 198.9 kB / 0.5671 GB, free: 13.21 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.482e-05/0.369, allocations: 8.438 kB / 0.5671 GB, free: 13.2 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.403e-05/0.369, allocations: 42.92 kB / 0.5672 GB, free: 13.15 MB / 414.1 MB Notification: Performance of pre-optimization done (n=62): time 4.248e-06/0.369, allocations: 4.031 kB / 0.5672 GB, free: 13.14 MB / 414.1 MB Notification: Performance of matching and sorting (n=74): time 0.002993/0.372, allocations: 1.83 MB / 0.569 GB, free: 11.23 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.034e-05/0.3721, allocations: 89.61 kB / 0.5691 GB, free: 11.12 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002685/0.3724, allocations: 256.2 kB / 0.5693 GB, free: 10.86 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.467e-05/0.3724, allocations: 41.64 kB / 0.5693 GB, free: 10.81 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001593/0.3726, allocations: 213.4 kB / 0.5695 GB, free: 10.6 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002183/0.3728, allocations: 281.5 kB / 0.5698 GB, free: 10.32 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002254/0.373, allocations: 126.6 kB / 0.5699 GB, free: 10.2 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002517/0.3733, allocations: 354.7 kB / 0.5703 GB, free: 9.84 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002837/0.3735, allocations: 161.9 kB / 0.5704 GB, free: 9.68 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004053/0.374, allocations: 280.8 kB / 0.5707 GB, free: 9.371 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007305/0.3747, allocations: 466.8 kB / 0.5711 GB, free: 8.879 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.3747, allocations: 3.938 kB / 0.5711 GB, free: 8.875 MB / 414.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0008591/0.3755, allocations: 0.5671 MB / 0.5717 GB, free: 8.301 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/0.3756, allocations: 7.984 kB / 0.5717 GB, free: 8.293 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.039e-05/0.3756, allocations: 4.062 kB / 0.5717 GB, free: 8.289 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.21e-05/0.3756, allocations: 8 kB / 0.5717 GB, free: 8.281 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006007/0.3762, allocations: 184.1 kB / 0.5719 GB, free: 8.102 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.488e-05/0.3762, allocations: 7.938 kB / 0.5719 GB, free: 8.094 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002569/0.3765, allocations: 31.92 kB / 0.5719 GB, free: 8.062 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.417e-05/0.3765, allocations: 24 kB / 0.572 GB, free: 8.039 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.0002074/0.3767, allocations: 173.7 kB / 0.5721 GB, free: 7.859 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.197e-05/0.3768, allocations: 51.66 kB / 0.5722 GB, free: 7.809 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001236/0.3769, allocations: 55.64 kB / 0.5722 GB, free: 7.75 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.438e-06/0.3769, allocations: 12 kB / 0.5722 GB, free: 7.738 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.346e-06/0.3769, allocations: 0 / 0.5722 GB, free: 7.738 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.53e-05/0.377, allocations: 11.92 kB / 0.5722 GB, free: 7.727 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002056/0.379, allocations: 1.404 MB / 0.5736 GB, free: 6.219 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.252e-06/0.379, allocations: 7.938 kB / 0.5736 GB, free: 6.211 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006499/0.3797, allocations: 151.8 kB / 0.5738 GB, free: 6.062 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.307e-06/0.3797, allocations: 8.344 kB / 0.5738 GB, free: 6.055 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.908e-05/0.3797, allocations: 31.92 kB / 0.5738 GB, free: 6.023 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.301e-06/0.3797, allocations: 4 kB / 0.5738 GB, free: 6.02 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.471e-06/0.3797, allocations: 4 kB / 0.5738 GB, free: 6.016 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001124/0.3809, allocations: 0.9049 MB / 0.5747 GB, free: 5.066 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.242e-05/0.3809, allocations: 51.64 kB / 0.5748 GB, free: 5.016 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.606e-05/0.381, allocations: 20 kB / 0.5748 GB, free: 4.996 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000267/0.3813, allocations: 20 kB / 0.5748 GB, free: 4.977 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.5e-05/0.3813, allocations: 48.28 kB / 0.5748 GB, free: 4.926 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.12e-05/0.3814, allocations: 23.94 kB / 0.5749 GB, free: 4.902 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001687/0.3815, allocations: 183.1 kB / 0.575 GB, free: 4.723 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3815, allocations: 4 kB / 0.575 GB, free: 4.719 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005192/0.382, allocations: 144 kB / 0.5752 GB, free: 4.578 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.001582/0.3836, allocations: 1.473 MB / 0.5766 GB, free: 3.047 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008072/0.3844, allocations: 427.6 kB / 0.577 GB, free: 2.625 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/0.3844, allocations: 0 / 0.577 GB, free: 2.625 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003153/0.3848, allocations: 227.2 kB / 0.5772 GB, free: 2.402 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008089/0.3856, allocations: 139.2 kB / 0.5774 GB, free: 2.273 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006709/0.3923, allocations: 4.788 MB / 0.582 GB, free: 13.27 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000573/0.3928, allocations: 0.8445 MB / 0.5829 GB, free: 12.39 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002212/0.3931, allocations: 60.66 kB / 0.5829 GB, free: 12.33 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002405/0.3933, allocations: 167.4 kB / 0.5831 GB, free: 12.17 MB / 430.1 MB Notification: Performance of SimCode: time 1.252e-06/0.3933, allocations: 0 / 0.5831 GB, free: 12.17 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04183/0.4351, allocations: 10.52 MB / 0.5934 GB, free: 1.844 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.95/12.39, allocations: 10.22 kB / 0.5934 GB, free: 1.84 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.502723263110965]