Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001763/0.001763, allocations: 105.1 kB / 21.22 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002126/0.002126, allocations: 214.2 kB / 24.52 MB, free: 3.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.468/1.468, allocations: 230.5 MB / 258.2 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2332/0.2332, allocations: 46.96 MB / 361.6 MB, free: 3.926 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Rotational.InitializationConversion.SpringDamper,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_InitializationConversion_SpringDamper",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.InitializationConversion.SpringDamper,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_InitializationConversion_SpringDamper",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003509/0.003509, allocations: 79.88 kB / 0.4969 GB, free: 7.559 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3151/0.3186, allocations: 66.08 MB / 0.5614 GB, free: 4.02 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.004953/0.3235, allocations: 2.996 MB / 0.5644 GB, free: 1.016 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001814/0.3254, allocations: 0.8024 MB / 0.5651 GB, free: 212 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002444/0.3256, allocations: 15.88 kB / 0.5652 GB, free: 196 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002495/0.3259, allocations: 75.23 kB / 0.5652 GB, free: 120 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004468/0.3263, allocations: 178.5 kB / 0.5654 GB, free: 15.94 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000328/0.3266, allocations: 107.9 kB / 0.5655 GB, free: 15.84 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007071/0.3273, allocations: 0.5985 MB / 0.5661 GB, free: 15.23 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003247/0.3277, allocations: 121.8 kB / 0.5662 GB, free: 15.11 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002795/0.3279, allocations: 231.2 kB / 0.5664 GB, free: 14.88 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003313/0.3283, allocations: 243 kB / 0.5667 GB, free: 14.64 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 7.233e-05/0.3283, allocations: 44 kB / 0.5667 GB, free: 14.6 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.976e-05/0.3284, allocations: 44 kB / 0.5667 GB, free: 14.56 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001104/0.3285, allocations: 99.61 kB / 0.5668 GB, free: 14.46 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002535/0.3288, allocations: 223 kB / 0.567 GB, free: 14.24 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006709/0.3295, allocations: 0.5699 MB / 0.5676 GB, free: 13.67 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.3295, allocations: 0 / 0.5676 GB, free: 13.67 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.3295, allocations: 3.938 kB / 0.5676 GB, free: 13.67 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.568e-06/0.3295, allocations: 0 / 0.5676 GB, free: 13.67 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.001221/0.3307, allocations: 0.696 MB / 0.5683 GB, free: 12.94 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.021e-05/0.3308, allocations: 16.03 kB / 0.5683 GB, free: 12.92 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.833e-05/0.3308, allocations: 13.19 kB / 0.5683 GB, free: 12.91 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.938e-05/0.3309, allocations: 90.7 kB / 0.5684 GB, free: 12.81 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.255e-05/0.331, allocations: 52.61 kB / 0.5684 GB, free: 12.76 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005505/0.3315, allocations: 264.7 kB / 0.5687 GB, free: 12.48 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.255e-05/0.3316, allocations: 37.38 kB / 0.5687 GB, free: 12.44 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.115e-05/0.3317, allocations: 52.33 kB / 0.5688 GB, free: 12.39 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007804/0.3325, allocations: 438.5 kB / 0.5692 GB, free: 11.95 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.196e-05/0.3325, allocations: 11.95 kB / 0.5692 GB, free: 11.93 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.256e-05/0.3325, allocations: 20 kB / 0.5692 GB, free: 11.91 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.667e-05/0.3326, allocations: 12 kB / 0.5692 GB, free: 11.9 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005647/0.3331, allocations: 320.4 kB / 0.5696 GB, free: 11.59 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001754/0.3349, allocations: 1.01 MB / 0.5705 GB, free: 10.53 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007744/0.3356, allocations: 386.3 kB / 0.5709 GB, free: 10.13 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003261/0.336, allocations: 187 kB / 0.5711 GB, free: 9.945 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.212e-05/0.336, allocations: 8.469 kB / 0.5711 GB, free: 9.938 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.05e-05/0.336, allocations: 46.94 kB / 0.5711 GB, free: 9.883 MB / 414.1 MB Notification: Performance of pre-optimization done (n=62): time 2.134e-06/0.336, allocations: 224 / 0.5711 GB, free: 9.883 MB / 414.1 MB Notification: Performance of matching and sorting (n=74): time 0.003064/0.3391, allocations: 1.838 MB / 0.5729 GB, free: 7.957 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001038/0.3392, allocations: 85.61 kB / 0.573 GB, free: 7.852 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002842/0.3395, allocations: 260.1 kB / 0.5733 GB, free: 7.59 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.834e-05/0.3395, allocations: 41.7 kB / 0.5733 GB, free: 7.543 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001694/0.3397, allocations: 205.4 kB / 0.5735 GB, free: 7.34 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000231/0.3399, allocations: 285.5 kB / 0.5738 GB, free: 7.059 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001795/0.3401, allocations: 122.6 kB / 0.5739 GB, free: 6.93 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001944/0.3403, allocations: 358.8 kB / 0.5742 GB, free: 6.57 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002791/0.3406, allocations: 157.9 kB / 0.5744 GB, free: 6.418 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003887/0.341, allocations: 277 kB / 0.5746 GB, free: 6.109 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007085/0.3417, allocations: 478.5 kB / 0.5751 GB, free: 5.609 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.3417, allocations: 0 / 0.5751 GB, free: 5.609 MB / 414.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0009052/0.3426, allocations: 0.5673 MB / 0.5757 GB, free: 5.035 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.344e-05/0.3426, allocations: 8 kB / 0.5757 GB, free: 5.027 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.412e-05/0.3426, allocations: 4 kB / 0.5757 GB, free: 5.023 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.842e-05/0.3427, allocations: 4 kB / 0.5757 GB, free: 5.02 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006367/0.3433, allocations: 179.8 kB / 0.5758 GB, free: 4.844 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.071e-05/0.3433, allocations: 11.94 kB / 0.5759 GB, free: 4.832 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002541/0.3436, allocations: 27.88 kB / 0.5759 GB, free: 4.805 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.787e-05/0.3436, allocations: 24 kB / 0.5759 GB, free: 4.781 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.0002346/0.3438, allocations: 185.8 kB / 0.5761 GB, free: 4.59 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.866e-05/0.3439, allocations: 43.72 kB / 0.5761 GB, free: 4.547 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001192/0.3441, allocations: 55.64 kB / 0.5762 GB, free: 4.488 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.776e-06/0.3441, allocations: 8 kB / 0.5762 GB, free: 4.48 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.639e-06/0.3441, allocations: 0 / 0.5762 GB, free: 4.48 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.492e-05/0.3441, allocations: 11.92 kB / 0.5762 GB, free: 4.469 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002134/0.3462, allocations: 1.349 MB / 0.5775 GB, free: 3.016 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.713e-06/0.3462, allocations: 4 kB / 0.5775 GB, free: 3.012 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006593/0.3469, allocations: 155.8 kB / 0.5777 GB, free: 2.859 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.597e-05/0.3469, allocations: 15.92 kB / 0.5777 GB, free: 2.844 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.725e-05/0.347, allocations: 20 kB / 0.5777 GB, free: 2.824 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.361e-06/0.347, allocations: 4 kB / 0.5777 GB, free: 2.82 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/0.347, allocations: 4 kB / 0.5777 GB, free: 2.816 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001238/0.3482, allocations: 0.9169 MB / 0.5786 GB, free: 1.848 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.24e-05/0.3483, allocations: 47.59 kB / 0.5786 GB, free: 1.801 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.469e-05/0.3484, allocations: 19.98 kB / 0.5787 GB, free: 1.781 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002772/0.3486, allocations: 16 kB / 0.5787 GB, free: 1.766 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.496e-05/0.3487, allocations: 56.28 kB / 0.5787 GB, free: 1.707 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.15e-05/0.3488, allocations: 20 kB / 0.5788 GB, free: 1.688 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001946/0.349, allocations: 179.1 kB / 0.5789 GB, free: 1.512 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.349, allocations: 0 / 0.5789 GB, free: 1.512 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005432/0.3495, allocations: 148 kB / 0.5791 GB, free: 1.367 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.001558/0.3511, allocations: 1.465 MB / 0.5805 GB, free: 15.85 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0008112/0.3519, allocations: 439.6 kB / 0.5809 GB, free: 15.42 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.3519, allocations: 4.5 kB / 0.5809 GB, free: 15.41 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003303/0.3522, allocations: 226.2 kB / 0.5811 GB, free: 15.19 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009054/0.3531, allocations: 128 kB / 0.5813 GB, free: 15.07 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006643/0.3598, allocations: 4.781 MB / 0.5859 GB, free: 10.07 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000301/0.3601, allocations: 250 kB / 0.5862 GB, free: 9.801 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000246/0.3603, allocations: 56.66 kB / 0.5862 GB, free: 9.742 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002744/0.3606, allocations: 163.4 kB / 0.5864 GB, free: 9.582 MB / 430.1 MB Notification: Performance of SimCode: time 1.182e-06/0.3606, allocations: 0 / 0.5864 GB, free: 9.582 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03894/0.3995, allocations: 10.75 MB / 0.5969 GB, free: 15.05 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.4/12.8, allocations: 7.938 kB / 0.5969 GB, free: 15.04 MB / 446.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Rotational_InitializationConversion_SpringDamper_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Rotational_InitializationConversion_SpringDamper.fmu > ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.036707464023493]