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.001687/0.001687, allocations: 112.2 kB / 21.22 MB, free: 0.7305 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.002065/0.002065, allocations: 216.2 kB / 24.53 MB, free: 4.066 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.521/1.521, allocations: 230.6 MB / 258.3 MB, free: 8.012 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.2376/0.2376, allocations: 46.94 MB / 361.7 MB, free: 4.266 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.InitializationConversion.SpringDamper,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Rotational_InitializationConversion_SpringDamper",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002042/0.002042, allocations: 63.91 kB / 0.4969 GB, free: 7.922 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3252/0.3273, allocations: 66.04 MB / 0.5614 GB, free: 4.469 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.004599/0.3319, allocations: 3.301 MB / 0.5646 GB, free: 1.152 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00161/0.3335, allocations: 0.849 MB / 0.5655 GB, free: 304 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002055/0.3337, allocations: 15.88 kB / 0.5655 GB, free: 288 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002228/0.3339, allocations: 75.23 kB / 0.5655 GB, free: 212 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003458/0.3342, allocations: 182.5 kB / 0.5657 GB, free: 28 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002626/0.3345, allocations: 103.9 kB / 0.5658 GB, free: 15.93 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006397/0.3351, allocations: 0.5985 MB / 0.5664 GB, free: 15.32 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002625/0.3354, allocations: 121.8 kB / 0.5665 GB, free: 15.2 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002787/0.3357, allocations: 227.3 kB / 0.5667 GB, free: 14.98 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003404/0.336, allocations: 242.9 kB / 0.567 GB, free: 14.74 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.557e-05/0.3361, allocations: 40 kB / 0.567 GB, free: 14.7 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.088e-05/0.3362, allocations: 48 kB / 0.5671 GB, free: 14.65 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.412e-05/0.3363, allocations: 103.6 kB / 0.5672 GB, free: 14.55 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002517/0.3365, allocations: 266.7 kB / 0.5674 GB, free: 14.29 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006082/0.3371, allocations: 0.5583 MB / 0.568 GB, free: 13.73 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.3371, allocations: 4 kB / 0.568 GB, free: 13.73 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3371, allocations: 0 / 0.568 GB, free: 13.73 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.857e-06/0.3371, allocations: 0 / 0.568 GB, free: 13.73 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.00113/0.3383, allocations: 0.6998 MB / 0.5686 GB, free: 12.99 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/0.3383, allocations: 12.03 kB / 0.5687 GB, free: 12.98 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.607e-05/0.3383, allocations: 13.19 kB / 0.5687 GB, free: 12.97 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.265e-05/0.3384, allocations: 90.64 kB / 0.5688 GB, free: 12.87 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.815e-05/0.3385, allocations: 56.61 kB / 0.5688 GB, free: 12.82 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004755/0.339, allocations: 264.7 kB / 0.5691 GB, free: 12.53 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.908e-05/0.339, allocations: 37.38 kB / 0.5691 GB, free: 12.5 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.423e-05/0.3391, allocations: 60.31 kB / 0.5692 GB, free: 12.44 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007421/0.3399, allocations: 438.6 kB / 0.5696 GB, free: 11.99 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.631e-05/0.3399, allocations: 15.94 kB / 0.5696 GB, free: 11.98 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.796e-05/0.34, allocations: 16 kB / 0.5696 GB, free: 11.96 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.369e-05/0.34, allocations: 8 kB / 0.5696 GB, free: 11.95 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005339/0.3405, allocations: 316.4 kB / 0.5699 GB, free: 11.64 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001718/0.3422, allocations: 1.107 MB / 0.571 GB, free: 10.49 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007198/0.3429, allocations: 380 kB / 0.5714 GB, free: 10.09 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003016/0.3432, allocations: 194.9 kB / 0.5715 GB, free: 9.898 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.212e-05/0.3433, allocations: 16.34 kB / 0.5716 GB, free: 9.883 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.747e-05/0.3433, allocations: 42.94 kB / 0.5716 GB, free: 9.832 MB / 414.1 MB Notification: Performance of pre-optimization done (n=62): time 1.814e-06/0.3433, allocations: 0 / 0.5716 GB, free: 9.832 MB / 414.1 MB Notification: Performance of matching and sorting (n=74): time 0.003015/0.3463, allocations: 1.833 MB / 0.5734 GB, free: 7.906 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.957e-05/0.3464, allocations: 85.61 kB / 0.5735 GB, free: 7.801 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002647/0.3467, allocations: 264.1 kB / 0.5737 GB, free: 7.535 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.641e-05/0.3467, allocations: 37.7 kB / 0.5738 GB, free: 7.492 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001554/0.3469, allocations: 213.4 kB / 0.574 GB, free: 7.281 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002162/0.3471, allocations: 281.5 kB / 0.5742 GB, free: 7.004 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001689/0.3472, allocations: 126.6 kB / 0.5743 GB, free: 6.875 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001821/0.3474, allocations: 354.8 kB / 0.5747 GB, free: 6.52 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003019/0.3477, allocations: 153.9 kB / 0.5748 GB, free: 6.367 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003643/0.3481, allocations: 280.8 kB / 0.5751 GB, free: 6.059 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006845/0.3488, allocations: 467.8 kB / 0.5755 GB, free: 5.566 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.3488, allocations: 0 / 0.5755 GB, free: 5.566 MB / 414.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0008906/0.3497, allocations: 0.5673 MB / 0.5761 GB, free: 4.992 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.127e-05/0.3497, allocations: 12.03 kB / 0.5761 GB, free: 4.98 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.325e-06/0.3497, allocations: 0 / 0.5761 GB, free: 4.98 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.432e-05/0.3497, allocations: 8 kB / 0.5761 GB, free: 4.973 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006135/0.3503, allocations: 179.7 kB / 0.5763 GB, free: 4.797 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.693e-05/0.3503, allocations: 11.98 kB / 0.5763 GB, free: 4.785 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002699/0.3506, allocations: 23.94 kB / 0.5763 GB, free: 4.762 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.235e-05/0.3507, allocations: 28 kB / 0.5764 GB, free: 4.734 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.0002194/0.3509, allocations: 177.7 kB / 0.5765 GB, free: 4.551 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.449e-05/0.351, allocations: 47.72 kB / 0.5766 GB, free: 4.504 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001242/0.3511, allocations: 59.64 kB / 0.5766 GB, free: 4.441 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.824e-06/0.3511, allocations: 8 kB / 0.5766 GB, free: 4.434 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.804e-06/0.3511, allocations: 0 / 0.5766 GB, free: 4.434 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.079e-05/0.3511, allocations: 7.984 kB / 0.5766 GB, free: 4.426 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002087/0.3532, allocations: 1.42 MB / 0.578 GB, free: 2.906 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.543e-06/0.3532, allocations: 3.984 kB / 0.578 GB, free: 2.902 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006593/0.3539, allocations: 163.8 kB / 0.5782 GB, free: 2.742 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.051e-05/0.3539, allocations: 7.938 kB / 0.5782 GB, free: 2.734 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.753e-05/0.3539, allocations: 20 kB / 0.5782 GB, free: 2.715 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.21e-05/0.3539, allocations: 11.94 kB / 0.5782 GB, free: 2.703 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.3539, allocations: 0 / 0.5782 GB, free: 2.703 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001217/0.3552, allocations: 0.9166 MB / 0.5791 GB, free: 1.738 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.768e-05/0.3552, allocations: 47.66 kB / 0.5792 GB, free: 1.691 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.602e-05/0.3553, allocations: 12 kB / 0.5792 GB, free: 1.68 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002852/0.3556, allocations: 23.98 kB / 0.5792 GB, free: 1.656 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.26e-05/0.3557, allocations: 56.23 kB / 0.5793 GB, free: 1.598 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.457e-05/0.3557, allocations: 23.98 kB / 0.5793 GB, free: 1.574 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001722/0.3559, allocations: 179.1 kB / 0.5794 GB, free: 1.398 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3559, allocations: 0 / 0.5794 GB, free: 1.398 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005313/0.3564, allocations: 140 kB / 0.5796 GB, free: 1.262 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.001499/0.3579, allocations: 1.473 MB / 0.581 GB, free: 15.73 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0007516/0.3587, allocations: 435.5 kB / 0.5814 GB, free: 15.3 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.3587, allocations: 0 / 0.5814 GB, free: 15.3 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003064/0.359, allocations: 223 kB / 0.5816 GB, free: 15.09 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008734/0.3599, allocations: 133.5 kB / 0.5818 GB, free: 14.96 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006267/0.3661, allocations: 4.784 MB / 0.5864 GB, free: 9.965 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000513/0.3666, allocations: 0.8523 MB / 0.5873 GB, free: 9.082 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002274/0.3669, allocations: 56.66 kB / 0.5873 GB, free: 9.023 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002593/0.3671, allocations: 167.4 kB / 0.5875 GB, free: 8.859 MB / 430.1 MB Notification: Performance of SimCode: time 9.91e-07/0.3671, allocations: 0 / 0.5875 GB, free: 8.859 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03668/0.4038, allocations: 10.55 MB / 0.5978 GB, free: 14.53 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.49/12.89, allocations: 12 kB / 0.5978 GB, free: 14.52 MB / 446.1 MB " [Timeout remaining time 647] (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: 16.239898536005057]