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.001709/0.001709, allocations: 109.1 kB / 21.22 MB, free: 0.7539 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.002236/0.002236, allocations: 216.9 kB / 24.53 MB, free: 4.012 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.546/1.546, allocations: 230.5 MB / 258.2 MB, free: 8.016 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.2466/0.2466, allocations: 46.92 MB / 361.6 MB, free: 4.316 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.002308/0.002308, allocations: 75.88 kB / 0.497 GB, free: 7.82 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3627/0.365, allocations: 66.08 MB / 0.5615 GB, free: 4.328 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.004716/0.3697, allocations: 3.305 MB / 0.5647 GB, free: 1.012 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001544/0.3713, allocations: 0.8335 MB / 0.5655 GB, free: 176 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002178/0.3715, allocations: 15.88 kB / 0.5655 GB, free: 160 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002089/0.3717, allocations: 71.25 kB / 0.5656 GB, free: 88 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003478/0.372, allocations: 182.5 kB / 0.5658 GB, free: 15.91 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002545/0.3723, allocations: 107.8 kB / 0.5659 GB, free: 15.8 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006319/0.3729, allocations: 0.5986 MB / 0.5665 GB, free: 15.2 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002621/0.3732, allocations: 121.8 kB / 0.5666 GB, free: 15.07 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00028/0.3735, allocations: 227.2 kB / 0.5668 GB, free: 14.85 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003151/0.3738, allocations: 246.9 kB / 0.567 GB, free: 14.61 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.645e-05/0.3739, allocations: 44 kB / 0.5671 GB, free: 14.57 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.613e-05/0.3739, allocations: 44 kB / 0.5671 GB, free: 14.52 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.639e-05/0.374, allocations: 99.61 kB / 0.5672 GB, free: 14.43 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002848/0.3743, allocations: 274.7 kB / 0.5675 GB, free: 14.16 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007234/0.375, allocations: 0.5582 MB / 0.568 GB, free: 13.6 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.375, allocations: 0 / 0.568 GB, free: 13.6 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.546e-06/0.375, allocations: 3.984 kB / 0.568 GB, free: 13.59 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.298e-05/0.375, allocations: 0 / 0.568 GB, free: 13.59 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.001219/0.3763, allocations: 0.696 MB / 0.5687 GB, free: 12.86 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/0.3763, allocations: 15.97 kB / 0.5687 GB, free: 12.85 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.082e-05/0.3763, allocations: 9.188 kB / 0.5687 GB, free: 12.84 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.894e-05/0.3764, allocations: 90.7 kB / 0.5688 GB, free: 12.74 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.167e-05/0.3765, allocations: 56.61 kB / 0.5689 GB, free: 12.69 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004882/0.377, allocations: 260.7 kB / 0.5691 GB, free: 12.41 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.459e-05/0.377, allocations: 37.38 kB / 0.5692 GB, free: 12.37 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.623e-05/0.3771, allocations: 64.31 kB / 0.5692 GB, free: 12.31 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007115/0.3779, allocations: 442.5 kB / 0.5696 GB, free: 11.86 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.925e-05/0.3779, allocations: 7.953 kB / 0.5697 GB, free: 11.85 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.819e-05/0.3779, allocations: 20 kB / 0.5697 GB, free: 11.83 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.396e-05/0.3779, allocations: 12 kB / 0.5697 GB, free: 11.82 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005303/0.3785, allocations: 308.5 kB / 0.57 GB, free: 11.52 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001774/0.3802, allocations: 1.115 MB / 0.5711 GB, free: 10.36 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007251/0.381, allocations: 381.4 kB / 0.5714 GB, free: 9.961 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003305/0.3813, allocations: 191 kB / 0.5716 GB, free: 9.77 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.296e-05/0.3813, allocations: 4.438 kB / 0.5716 GB, free: 9.766 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.785e-05/0.3814, allocations: 46.94 kB / 0.5717 GB, free: 9.711 MB / 414.1 MB Notification: Performance of pre-optimization done (n=62): time 2.315e-06/0.3814, allocations: 0 / 0.5717 GB, free: 9.711 MB / 414.1 MB Notification: Performance of matching and sorting (n=74): time 0.003181/0.3845, allocations: 1.849 MB / 0.5735 GB, free: 7.773 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.54e-05/0.3846, allocations: 89.55 kB / 0.5736 GB, free: 7.664 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002934/0.3849, allocations: 256.1 kB / 0.5738 GB, free: 7.406 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.262e-05/0.385, allocations: 41.7 kB / 0.5738 GB, free: 7.359 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001673/0.3851, allocations: 209.4 kB / 0.574 GB, free: 7.152 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002331/0.3854, allocations: 281.5 kB / 0.5743 GB, free: 6.875 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001779/0.3855, allocations: 122.6 kB / 0.5744 GB, free: 6.75 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001874/0.3857, allocations: 358.8 kB / 0.5748 GB, free: 6.391 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002832/0.386, allocations: 157.9 kB / 0.5749 GB, free: 6.234 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003904/0.3864, allocations: 276.9 kB / 0.5752 GB, free: 5.926 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007211/0.3871, allocations: 466.6 kB / 0.5756 GB, free: 5.438 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.3871, allocations: 0 / 0.5756 GB, free: 5.438 MB / 414.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.000898/0.388, allocations: 0.5672 MB / 0.5762 GB, free: 4.863 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.117e-05/0.388, allocations: 10.03 kB / 0.5762 GB, free: 4.855 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.774e-06/0.388, allocations: 0 / 0.5762 GB, free: 4.855 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.165e-05/0.3881, allocations: 8 kB / 0.5762 GB, free: 4.848 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006263/0.3887, allocations: 183.7 kB / 0.5764 GB, free: 4.668 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.676e-05/0.3887, allocations: 8 kB / 0.5764 GB, free: 4.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003005/0.389, allocations: 27.92 kB / 0.5764 GB, free: 4.633 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.85e-05/0.3891, allocations: 32.16 kB / 0.5764 GB, free: 4.602 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.0002404/0.3893, allocations: 177.7 kB / 0.5766 GB, free: 4.418 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001005/0.3894, allocations: 47.72 kB / 0.5767 GB, free: 4.371 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001295/0.3895, allocations: 55.64 kB / 0.5767 GB, free: 4.312 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.706e-06/0.3895, allocations: 8 kB / 0.5767 GB, free: 4.305 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.009e-05/0.3895, allocations: 0 / 0.5767 GB, free: 4.305 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.362e-05/0.3896, allocations: 7.922 kB / 0.5767 GB, free: 4.297 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002267/0.3918, allocations: 1.408 MB / 0.5781 GB, free: 2.785 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/0.3918, allocations: 0 / 0.5781 GB, free: 2.785 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006831/0.3925, allocations: 167.9 kB / 0.5783 GB, free: 2.621 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.166e-05/0.3925, allocations: 7.938 kB / 0.5783 GB, free: 2.613 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.873e-05/0.3926, allocations: 16 kB / 0.5783 GB, free: 2.598 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.066e-05/0.3926, allocations: 11.98 kB / 0.5783 GB, free: 2.586 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.181e-06/0.3926, allocations: 7.938 kB / 0.5783 GB, free: 2.578 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001247/0.3938, allocations: 0.9169 MB / 0.5792 GB, free: 1.609 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.24e-05/0.3939, allocations: 47.64 kB / 0.5792 GB, free: 1.562 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.982e-05/0.394, allocations: 16 kB / 0.5793 GB, free: 1.547 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002913/0.3943, allocations: 16 kB / 0.5793 GB, free: 1.531 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.185e-05/0.3944, allocations: 60.28 kB / 0.5793 GB, free: 1.469 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.124e-05/0.3944, allocations: 20 kB / 0.5793 GB, free: 1.449 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001872/0.3946, allocations: 183.1 kB / 0.5795 GB, free: 1.27 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3946, allocations: 3.938 kB / 0.5795 GB, free: 1.266 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005772/0.3952, allocations: 144 kB / 0.5797 GB, free: 1.125 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.00152/0.3967, allocations: 1.461 MB / 0.5811 GB, free: 15.61 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0008021/0.3975, allocations: 432.7 kB / 0.5815 GB, free: 15.19 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 9.698e-06/0.3975, allocations: 8.125 kB / 0.5815 GB, free: 15.18 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003356/0.3978, allocations: 222.2 kB / 0.5817 GB, free: 14.96 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009541/0.3988, allocations: 142.4 kB / 0.5819 GB, free: 14.83 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006601/0.4054, allocations: 4.776 MB / 0.5865 GB, free: 9.836 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005446/0.4059, allocations: 0.8523 MB / 0.5874 GB, free: 8.953 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002234/0.4061, allocations: 56.66 kB / 0.5874 GB, free: 8.895 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000257/0.4064, allocations: 167.4 kB / 0.5876 GB, free: 8.73 MB / 430.1 MB Notification: Performance of SimCode: time 1.232e-06/0.4064, allocations: 0 / 0.5876 GB, free: 8.73 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03686/0.4433, allocations: 10.57 MB / 0.5979 GB, free: 14.34 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.24/12.69, allocations: 22.27 kB / 0.5979 GB, free: 14.32 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.074713331006933]