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.001948/0.001948, allocations: 107.2 kB / 20.44 MB, free: 1.207 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.002612/0.002612, allocations: 211.4 kB / 23.73 MB, free: 4.41 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.506/1.506, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.2285/0.2285, allocations: 46.97 MB / 360.9 MB, free: 4.027 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.002019/0.002019, allocations: 60.05 kB / 0.4961 GB, free: 7.73 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.344/0.346, allocations: 66.04 MB / 0.5606 GB, free: 4.234 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.004577/0.3506, allocations: 3 MB / 0.5635 GB, free: 1.223 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001648/0.3523, allocations: 0.8024 MB / 0.5643 GB, free: 424 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002139/0.3525, allocations: 15.88 kB / 0.5643 GB, free: 408 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002195/0.3527, allocations: 71.25 kB / 0.5644 GB, free: 336 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003494/0.3531, allocations: 178.5 kB / 0.5645 GB, free: 156 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002531/0.3533, allocations: 111.8 kB / 0.5647 GB, free: 44 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006164/0.3539, allocations: 0.5947 MB / 0.5652 GB, free: 15.45 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002404/0.3542, allocations: 109.8 kB / 0.5653 GB, free: 15.33 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002708/0.3544, allocations: 239.2 kB / 0.5656 GB, free: 15.1 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002805/0.3547, allocations: 210.9 kB / 0.5658 GB, free: 14.89 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.395e-05/0.3548, allocations: 44 kB / 0.5658 GB, free: 14.85 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.613e-05/0.3549, allocations: 44 kB / 0.5659 GB, free: 14.8 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.788e-05/0.355, allocations: 99.61 kB / 0.5659 GB, free: 14.71 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002268/0.3552, allocations: 223.1 kB / 0.5662 GB, free: 14.49 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006217/0.3558, allocations: 0.5699 MB / 0.5667 GB, free: 13.92 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.3558, allocations: 0 / 0.5667 GB, free: 13.92 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.674e-06/0.3558, allocations: 0 / 0.5667 GB, free: 13.92 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.045e-06/0.3558, allocations: 0 / 0.5667 GB, free: 13.92 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.001139/0.357, allocations: 0.6998 MB / 0.5674 GB, free: 13.18 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.357, allocations: 16.02 kB / 0.5674 GB, free: 13.17 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001149/0.3571, allocations: 86.72 kB / 0.5675 GB, free: 13.07 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.58e-05/0.3572, allocations: 52.61 kB / 0.5676 GB, free: 13.02 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004607/0.3577, allocations: 264.7 kB / 0.5678 GB, free: 12.74 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.87e-05/0.3577, allocations: 41.31 kB / 0.5678 GB, free: 12.7 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.919e-05/0.3578, allocations: 56.31 kB / 0.5679 GB, free: 12.64 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006977/0.3585, allocations: 438.7 kB / 0.5683 GB, free: 12.2 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.781e-05/0.3585, allocations: 15.95 kB / 0.5683 GB, free: 12.19 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.512e-05/0.3586, allocations: 16 kB / 0.5683 GB, free: 12.17 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.428e-05/0.3586, allocations: 12 kB / 0.5684 GB, free: 12.16 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005263/0.3591, allocations: 308.5 kB / 0.5687 GB, free: 11.86 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001668/0.3608, allocations: 1.006 MB / 0.5696 GB, free: 10.8 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007113/0.3615, allocations: 389 kB / 0.57 GB, free: 10.4 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003056/0.3618, allocations: 191 kB / 0.5702 GB, free: 10.21 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.52e-05/0.3618, allocations: 8.469 kB / 0.5702 GB, free: 10.2 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.056e-05/0.3619, allocations: 46.94 kB / 0.5702 GB, free: 10.15 MB / 414.1 MB Notification: Performance of pre-optimization done (n=62): time 1.914e-06/0.3619, allocations: 0 / 0.5702 GB, free: 10.15 MB / 414.1 MB Notification: Performance of matching and sorting (n=74): time 0.003091/0.365, allocations: 1.841 MB / 0.572 GB, free: 8.215 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.127e-05/0.365, allocations: 85.61 kB / 0.5721 GB, free: 8.109 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003033/0.3653, allocations: 260.2 kB / 0.5724 GB, free: 7.848 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.782e-05/0.3654, allocations: 37.7 kB / 0.5724 GB, free: 7.805 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001769/0.3656, allocations: 213.4 kB / 0.5726 GB, free: 7.594 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00025/0.3658, allocations: 289.5 kB / 0.5729 GB, free: 7.309 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001661/0.366, allocations: 122.7 kB / 0.573 GB, free: 7.184 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002219/0.3662, allocations: 358.7 kB / 0.5733 GB, free: 6.824 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002814/0.3665, allocations: 157.9 kB / 0.5735 GB, free: 6.668 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003784/0.3669, allocations: 276.9 kB / 0.5738 GB, free: 6.359 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007081/0.3676, allocations: 467.8 kB / 0.5742 GB, free: 5.867 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.3676, allocations: 0 / 0.5742 GB, free: 5.867 MB / 414.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0008805/0.3684, allocations: 0.575 MB / 0.5748 GB, free: 5.285 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.377e-05/0.3685, allocations: 10.5 kB / 0.5748 GB, free: 5.277 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/0.3685, allocations: 4 kB / 0.5748 GB, free: 5.273 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.945e-05/0.3685, allocations: 4 kB / 0.5748 GB, free: 5.27 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005884/0.3691, allocations: 175.8 kB / 0.5749 GB, free: 5.098 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.755e-05/0.3691, allocations: 11.94 kB / 0.575 GB, free: 5.086 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002614/0.3694, allocations: 31.92 kB / 0.575 GB, free: 5.055 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.771e-05/0.3694, allocations: 24 kB / 0.575 GB, free: 5.031 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.0002208/0.3696, allocations: 185.8 kB / 0.5752 GB, free: 4.84 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.908e-05/0.3697, allocations: 43.72 kB / 0.5752 GB, free: 4.797 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000113/0.3698, allocations: 55.64 kB / 0.5753 GB, free: 4.738 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.448e-06/0.3698, allocations: 8 kB / 0.5753 GB, free: 4.73 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.017e-06/0.3699, allocations: 3.938 kB / 0.5753 GB, free: 4.727 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.281e-05/0.3699, allocations: 11.92 kB / 0.5753 GB, free: 4.715 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002098/0.372, allocations: 1.338 MB / 0.5766 GB, free: 3.277 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.015e-06/0.372, allocations: 4 kB / 0.5766 GB, free: 3.273 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006381/0.3726, allocations: 155.8 kB / 0.5768 GB, free: 3.121 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.458e-06/0.3726, allocations: 8 kB / 0.5768 GB, free: 3.113 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.179e-05/0.3727, allocations: 24 kB / 0.5768 GB, free: 3.09 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.799e-06/0.3727, allocations: 7.984 kB / 0.5768 GB, free: 3.082 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.001e-06/0.3727, allocations: 8.281 kB / 0.5768 GB, free: 3.074 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001212/0.3739, allocations: 0.9244 MB / 0.5777 GB, free: 2.102 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.978e-05/0.374, allocations: 47.64 kB / 0.5778 GB, free: 2.055 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.637e-05/0.374, allocations: 16 kB / 0.5778 GB, free: 2.039 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000272/0.3743, allocations: 16 kB / 0.5778 GB, free: 2.023 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.151e-05/0.3744, allocations: 52.34 kB / 0.5778 GB, free: 1.969 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.135e-05/0.3744, allocations: 23.94 kB / 0.5779 GB, free: 1.945 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001809/0.3746, allocations: 183.1 kB / 0.578 GB, free: 1.766 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3746, allocations: 0 / 0.578 GB, free: 1.766 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005246/0.3751, allocations: 148 kB / 0.5782 GB, free: 1.621 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.001464/0.3766, allocations: 1.469 MB / 0.5796 GB, free: 108 kB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007422/0.3773, allocations: 431.5 kB / 0.58 GB, free: 15.68 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.3773, allocations: 0.5625 kB / 0.58 GB, free: 15.68 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003233/0.3776, allocations: 230.2 kB / 0.5802 GB, free: 15.45 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008361/0.3785, allocations: 134 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.006258/0.3847, allocations: 4.772 MB / 0.585 GB, free: 10.33 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002619/0.385, allocations: 246 kB / 0.5853 GB, free: 10.06 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002119/0.3852, allocations: 52.66 kB / 0.5853 GB, free: 10.01 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002457/0.3855, allocations: 171.4 kB / 0.5855 GB, free: 9.84 MB / 430.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3855, allocations: 0 / 0.5855 GB, free: 9.84 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04412/0.4296, allocations: 10.9 MB / 0.5961 GB, free: 15.19 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.51/11.94, allocations: 9.734 kB / 0.5961 GB, free: 15.18 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: 15.111266046762466]