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.001287/0.001287, allocations: 112.5 kB / 20.43 MB, free: 1.453 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.001388/0.001388, allocations: 212.1 kB / 23.74 MB, free: 4.66 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.492/1.492, allocations: 230.5 MB / 257.4 MB, free: 8.012 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.2544/0.2544, allocations: 46.93 MB / 360.8 MB, free: 4.188 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.InitializationConversion.SpringDamper,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_InitializationConversion_SpringDamper",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00254/0.00254, allocations: 83.86 kB / 0.4962 GB, free: 7.77 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3514/0.3539, allocations: 66.09 MB / 0.5607 GB, free: 4.301 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.005373/0.3593, allocations: 3.305 MB / 0.564 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001835/0.3611, allocations: 0.8296 MB / 0.5648 GB, free: 152 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003607/0.3615, allocations: 15.88 kB / 0.5648 GB, free: 136 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002577/0.3617, allocations: 75.23 kB / 0.5649 GB, free: 60 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004478/0.3622, allocations: 182.5 kB / 0.565 GB, free: 15.88 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003147/0.3625, allocations: 107.8 kB / 0.5651 GB, free: 15.77 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007109/0.3632, allocations: 0.5986 MB / 0.5657 GB, free: 15.17 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002835/0.3635, allocations: 121.8 kB / 0.5658 GB, free: 15.05 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003274/0.3638, allocations: 231.2 kB / 0.5661 GB, free: 14.82 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003418/0.3642, allocations: 239 kB / 0.5663 GB, free: 14.59 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 7.11e-05/0.3642, allocations: 44 kB / 0.5663 GB, free: 14.54 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.995e-05/0.3643, allocations: 48 kB / 0.5664 GB, free: 14.5 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.362e-05/0.3644, allocations: 99.61 kB / 0.5665 GB, free: 14.4 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002787/0.3647, allocations: 270.7 kB / 0.5667 GB, free: 14.13 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007109/0.3654, allocations: 0.5621 MB / 0.5673 GB, free: 13.57 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.3654, allocations: 0 / 0.5673 GB, free: 13.57 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.3654, allocations: 0 / 0.5673 GB, free: 13.57 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.836e-05/0.3654, allocations: 0 / 0.5673 GB, free: 13.57 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.00125/0.3667, allocations: 0.6999 MB / 0.568 GB, free: 12.84 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/0.3667, allocations: 11.97 kB / 0.568 GB, free: 12.82 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.702e-05/0.3668, allocations: 90.7 kB / 0.5681 GB, free: 12.73 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.878e-05/0.3669, allocations: 56.61 kB / 0.5681 GB, free: 12.67 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004946/0.3674, allocations: 256.8 kB / 0.5684 GB, free: 12.39 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.016e-05/0.3674, allocations: 41.38 kB / 0.5684 GB, free: 12.36 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.952e-05/0.3675, allocations: 60.31 kB / 0.5684 GB, free: 12.3 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007038/0.3682, allocations: 438.7 kB / 0.5689 GB, free: 11.85 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.252e-05/0.3683, allocations: 11.94 kB / 0.5689 GB, free: 11.84 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.949e-05/0.3683, allocations: 20 kB / 0.5689 GB, free: 11.82 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.383e-05/0.3683, allocations: 12 kB / 0.5689 GB, free: 11.81 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00051/0.3688, allocations: 312.4 kB / 0.5692 GB, free: 11.5 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001836/0.3707, allocations: 1.107 MB / 0.5703 GB, free: 10.35 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007336/0.3714, allocations: 381.4 kB / 0.5707 GB, free: 9.953 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003095/0.3717, allocations: 195 kB / 0.5708 GB, free: 9.758 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.654e-05/0.3717, allocations: 4.438 kB / 0.5708 GB, free: 9.754 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.655e-05/0.3718, allocations: 46.94 kB / 0.5709 GB, free: 9.699 MB / 414.1 MB Notification: Performance of pre-optimization done (n=62): time 3.237e-06/0.3718, allocations: 0 / 0.5709 GB, free: 9.699 MB / 414.1 MB Notification: Performance of matching and sorting (n=74): time 0.003098/0.3749, allocations: 1.848 MB / 0.5727 GB, free: 7.766 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.748e-05/0.375, allocations: 85.61 kB / 0.5728 GB, free: 7.66 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002949/0.3752, allocations: 256.2 kB / 0.573 GB, free: 7.402 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.734e-05/0.3753, allocations: 45.7 kB / 0.5731 GB, free: 7.352 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001603/0.3754, allocations: 209.3 kB / 0.5733 GB, free: 7.145 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002274/0.3757, allocations: 281.5 kB / 0.5735 GB, free: 6.867 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001689/0.3758, allocations: 122.6 kB / 0.5736 GB, free: 6.742 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001987/0.376, allocations: 362.7 kB / 0.574 GB, free: 6.379 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002674/0.3763, allocations: 153.9 kB / 0.5741 GB, free: 6.227 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003776/0.3767, allocations: 276.9 kB / 0.5744 GB, free: 5.918 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007028/0.3774, allocations: 470.6 kB / 0.5749 GB, free: 5.426 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.3774, allocations: 0 / 0.5749 GB, free: 5.426 MB / 414.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0008828/0.3783, allocations: 0.5671 MB / 0.5754 GB, free: 4.852 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.541e-05/0.3783, allocations: 8 kB / 0.5754 GB, free: 4.844 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.3783, allocations: 0 / 0.5754 GB, free: 4.844 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.385e-05/0.3783, allocations: 8 kB / 0.5754 GB, free: 4.836 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005994/0.3789, allocations: 175.8 kB / 0.5756 GB, free: 4.664 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.123e-05/0.379, allocations: 15.92 kB / 0.5756 GB, free: 4.648 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002769/0.3792, allocations: 28.16 kB / 0.5756 GB, free: 4.621 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.573e-05/0.3793, allocations: 28 kB / 0.5757 GB, free: 4.594 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.0002354/0.3795, allocations: 173.7 kB / 0.5758 GB, free: 4.414 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001056/0.3796, allocations: 47.72 kB / 0.5759 GB, free: 4.367 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001297/0.3797, allocations: 55.64 kB / 0.5759 GB, free: 4.309 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.051e-05/0.3797, allocations: 11.94 kB / 0.5759 GB, free: 4.297 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.548e-06/0.3798, allocations: 0 / 0.5759 GB, free: 4.297 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.143e-05/0.3798, allocations: 7.922 kB / 0.5759 GB, free: 4.289 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002218/0.382, allocations: 1.415 MB / 0.5773 GB, free: 2.77 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.58e-06/0.382, allocations: 0 / 0.5773 GB, free: 2.77 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006641/0.3827, allocations: 163.8 kB / 0.5775 GB, free: 2.609 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.042e-05/0.3827, allocations: 4 kB / 0.5775 GB, free: 2.605 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.265e-05/0.3827, allocations: 19.94 kB / 0.5775 GB, free: 2.586 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.008e-05/0.3827, allocations: 8 kB / 0.5775 GB, free: 2.578 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.183e-06/0.3827, allocations: 8 kB / 0.5775 GB, free: 2.57 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001213/0.3839, allocations: 0.9208 MB / 0.5784 GB, free: 1.602 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001261/0.3841, allocations: 43.66 kB / 0.5785 GB, free: 1.559 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.14e-05/0.3841, allocations: 16 kB / 0.5785 GB, free: 1.543 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002767/0.3844, allocations: 19.98 kB / 0.5785 GB, free: 1.523 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.091e-05/0.3845, allocations: 52.36 kB / 0.5785 GB, free: 1.469 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.564e-05/0.3845, allocations: 27.92 kB / 0.5786 GB, free: 1.441 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002111/0.3847, allocations: 179.1 kB / 0.5787 GB, free: 1.266 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3847, allocations: 0 / 0.5787 GB, free: 1.266 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005594/0.3853, allocations: 140 kB / 0.5789 GB, free: 1.129 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.001659/0.3869, allocations: 1.477 MB / 0.5803 GB, free: 15.6 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0007961/0.3877, allocations: 432.8 kB / 0.5807 GB, free: 15.17 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.083e-06/0.3878, allocations: 8.062 kB / 0.5807 GB, free: 15.16 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003166/0.3881, allocations: 222.2 kB / 0.5809 GB, free: 14.95 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008876/0.389, allocations: 128.1 kB / 0.5811 GB, free: 14.82 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006475/0.3954, allocations: 4.784 MB / 0.5857 GB, free: 9.824 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005363/0.396, allocations: 0.8484 MB / 0.5866 GB, free: 8.941 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002317/0.3962, allocations: 60.66 kB / 0.5866 GB, free: 8.879 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002576/0.3965, allocations: 163.4 kB / 0.5868 GB, free: 8.719 MB / 430.1 MB Notification: Performance of SimCode: time 8.01e-07/0.3965, allocations: 0 / 0.5868 GB, free: 8.719 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.062/0.4585, allocations: 10.53 MB / 0.5971 GB, free: 14.36 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.14/12.6, allocations: 18.52 kB / 0.5971 GB, free: 14.35 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: 15.77119354205206]