Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001927/0.001927, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.002104/0.002104, allocations: 208.6 kB / 23.73 MB, free: 4.523 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.505/1.505, allocations: 230.6 MB / 257.5 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2318/0.2318, allocations: 46.97 MB / 360.9 MB, free: 4.062 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+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_1_0_ModelicaTest_Rotational_InitializationConversion_SpringDamper",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.InitializationConversion.SpringDamper,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Rotational_InitializationConversion_SpringDamper",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002038/0.002038, allocations: 71.83 kB / 0.4961 GB, free: 7.762 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3038/0.3058, allocations: 66.04 MB / 0.5606 GB, free: 4.258 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.004517/0.3103, allocations: 2.99 MB / 0.5635 GB, free: 1.254 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00152/0.3118, allocations: 0.8179 MB / 0.5643 GB, free: 440 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001924/0.312, allocations: 15.88 kB / 0.5643 GB, free: 424 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001947/0.3122, allocations: 63.25 kB / 0.5644 GB, free: 360 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003454/0.3126, allocations: 182.5 kB / 0.5645 GB, free: 176 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002381/0.3128, allocations: 103.9 kB / 0.5646 GB, free: 72 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006227/0.3134, allocations: 0.5986 MB / 0.5652 GB, free: 15.47 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002414/0.3137, allocations: 125.8 kB / 0.5654 GB, free: 15.34 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002632/0.3139, allocations: 231.3 kB / 0.5656 GB, free: 15.11 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003036/0.3143, allocations: 246.9 kB / 0.5658 GB, free: 14.87 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.965e-05/0.3143, allocations: 40 kB / 0.5658 GB, free: 14.83 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.541e-05/0.3144, allocations: 44 kB / 0.5659 GB, free: 14.79 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000112/0.3145, allocations: 103.6 kB / 0.566 GB, free: 14.69 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002357/0.3147, allocations: 223.1 kB / 0.5662 GB, free: 14.47 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006049/0.3153, allocations: 0.5699 MB / 0.5668 GB, free: 13.9 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.3153, allocations: 0 / 0.5668 GB, free: 13.9 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.3153, allocations: 0 / 0.5668 GB, free: 13.9 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.376e-06/0.3154, allocations: 0 / 0.5668 GB, free: 13.9 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.00111/0.3165, allocations: 0.6959 MB / 0.5674 GB, free: 13.17 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.3165, allocations: 8.031 kB / 0.5674 GB, free: 13.16 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000104/0.3166, allocations: 90.7 kB / 0.5675 GB, free: 13.06 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.03e-05/0.3167, allocations: 60.61 kB / 0.5676 GB, free: 13 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004628/0.3172, allocations: 260.7 kB / 0.5678 GB, free: 12.72 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.45e-05/0.3172, allocations: 37.38 kB / 0.5679 GB, free: 12.69 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.364e-05/0.3173, allocations: 52.33 kB / 0.5679 GB, free: 12.64 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00073/0.318, allocations: 442.7 kB / 0.5683 GB, free: 12.19 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.09e-05/0.318, allocations: 15.89 kB / 0.5684 GB, free: 12.17 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.9e-05/0.3181, allocations: 20 kB / 0.5684 GB, free: 12.15 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.274e-05/0.3181, allocations: 12 kB / 0.5684 GB, free: 12.14 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005179/0.3186, allocations: 308.4 kB / 0.5687 GB, free: 11.84 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001657/0.3203, allocations: 1.01 MB / 0.5697 GB, free: 10.78 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000691/0.321, allocations: 377 kB / 0.57 GB, free: 10.39 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002806/0.3212, allocations: 191 kB / 0.5702 GB, free: 10.2 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.644e-05/0.3213, allocations: 16.41 kB / 0.5702 GB, free: 10.18 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.858e-05/0.3213, allocations: 46.88 kB / 0.5703 GB, free: 10.13 MB / 414.1 MB Notification: Performance of pre-optimization done (n=62): time 2.044e-06/0.3213, allocations: 0 / 0.5703 GB, free: 10.13 MB / 414.1 MB Notification: Performance of matching and sorting (n=74): time 0.002911/0.3242, allocations: 1.843 MB / 0.5721 GB, free: 8.199 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.166e-05/0.3243, allocations: 85.61 kB / 0.5722 GB, free: 8.094 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002603/0.3246, allocations: 260.2 kB / 0.5724 GB, free: 7.832 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.573e-05/0.3246, allocations: 37.7 kB / 0.5724 GB, free: 7.789 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001535/0.3248, allocations: 213.4 kB / 0.5726 GB, free: 7.578 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002115/0.325, allocations: 293.5 kB / 0.5729 GB, free: 7.289 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001543/0.3251, allocations: 114.7 kB / 0.573 GB, free: 7.172 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001729/0.3253, allocations: 358.7 kB / 0.5734 GB, free: 6.812 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002667/0.3256, allocations: 161.9 kB / 0.5735 GB, free: 6.652 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003454/0.3259, allocations: 272.9 kB / 0.5738 GB, free: 6.352 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006617/0.3266, allocations: 470.6 kB / 0.5742 GB, free: 5.855 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.3266, allocations: 0 / 0.5742 GB, free: 5.855 MB / 414.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0008333/0.3274, allocations: 0.5673 MB / 0.5748 GB, free: 5.281 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.3274, allocations: 11.94 kB / 0.5748 GB, free: 5.27 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.842e-06/0.3274, allocations: 0 / 0.5748 GB, free: 5.27 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.876e-05/0.3274, allocations: 8 kB / 0.5748 GB, free: 5.262 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005952/0.328, allocations: 183.7 kB / 0.575 GB, free: 5.082 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.414e-05/0.3281, allocations: 8 kB / 0.575 GB, free: 5.074 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002437/0.3283, allocations: 27.92 kB / 0.575 GB, free: 5.047 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.994e-05/0.3283, allocations: 27.98 kB / 0.575 GB, free: 5.02 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.0001967/0.3285, allocations: 185.7 kB / 0.5752 GB, free: 4.828 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.266e-05/0.3286, allocations: 47.72 kB / 0.5753 GB, free: 4.781 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001043/0.3287, allocations: 59.64 kB / 0.5753 GB, free: 4.719 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.376e-06/0.3287, allocations: 8.062 kB / 0.5753 GB, free: 4.711 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.346e-06/0.3288, allocations: 4 kB / 0.5753 GB, free: 4.707 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.183e-05/0.3288, allocations: 7.922 kB / 0.5753 GB, free: 4.699 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001969/0.3307, allocations: 1.335 MB / 0.5766 GB, free: 3.266 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.3307, allocations: 3.938 kB / 0.5767 GB, free: 3.262 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006363/0.3314, allocations: 163.7 kB / 0.5768 GB, free: 3.102 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.654e-06/0.3314, allocations: 4 kB / 0.5768 GB, free: 3.098 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.937e-05/0.3314, allocations: 23.94 kB / 0.5768 GB, free: 3.074 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.897e-05/0.3314, allocations: 15.92 kB / 0.5769 GB, free: 3.059 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.3314, allocations: 352 / 0.5769 GB, free: 3.059 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00115/0.3326, allocations: 0.9205 MB / 0.5777 GB, free: 2.09 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.848e-05/0.3327, allocations: 51.64 kB / 0.5778 GB, free: 2.039 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.825e-05/0.3327, allocations: 16 kB / 0.5778 GB, free: 2.023 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002837/0.333, allocations: 20 kB / 0.5778 GB, free: 2.004 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.813e-05/0.3331, allocations: 48.28 kB / 0.5779 GB, free: 1.953 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.208e-05/0.3331, allocations: 27.94 kB / 0.5779 GB, free: 1.926 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001802/0.3333, allocations: 179.1 kB / 0.5781 GB, free: 1.75 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3333, allocations: 0 / 0.5781 GB, free: 1.75 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005202/0.3338, allocations: 148 kB / 0.5782 GB, free: 1.605 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.001445/0.3353, allocations: 1.466 MB / 0.5796 GB, free: 88 kB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006978/0.336, allocations: 435.6 kB / 0.5801 GB, free: 15.65 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.336, allocations: 0.5625 kB / 0.5801 GB, free: 15.65 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003051/0.3363, allocations: 226.2 kB / 0.5803 GB, free: 15.43 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008218/0.3371, allocations: 122 kB / 0.5804 GB, free: 15.32 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006056/0.3431, allocations: 4.772 MB / 0.5851 GB, free: 10.33 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002662/0.3434, allocations: 250 kB / 0.5853 GB, free: 10.05 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000199/0.3436, allocations: 56.66 kB / 0.5853 GB, free: 9.996 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002436/0.3438, allocations: 171.4 kB / 0.5855 GB, free: 9.828 MB / 430.1 MB Notification: Performance of SimCode: time 1.422e-06/0.3439, allocations: 0 / 0.5855 GB, free: 9.828 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04147/0.3853, allocations: 11.11 MB / 0.5964 GB, free: 14.97 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.29/11.68, allocations: 3.094 kB / 0.5964 GB, free: 14.97 MB / 446.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Rotational_InitializationConversion_SpringDamper_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Rotational_InitializationConversion_SpringDamper.fmu > ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/InitializationConversion/SpringDamper/SpringDamper.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 14.847546776989475]