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.0007809/0.0007809, allocations: 79.7 kB / 20.67 MB, free: 3.891 MB / 18.57 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.000812/0.000812, allocations: 174 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.8706/0.8706, allocations: 177.1 MB / 204.2 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] 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.2222/0.2222, allocations: 34.25 MB / 294.9 MB, free: 0.7344 MB / 266.7 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 1.643e-06/1.643e-06, allocations: 0 / 442.1 MB, free: 1.699 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.022e-05/2.186e-05, allocations: 2.844 kB / 442.1 MB, free: 1.695 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.1761/0.1761, allocations: 3.01 MB / 445.2 MB, free: 42.88 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001021/0.1771, allocations: 0.8128 MB / 446 MB, free: 42.55 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001671/0.1773, allocations: 13.62 kB / 446 MB, free: 42.54 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001454/0.1774, allocations: 73.03 kB / 446.1 MB, free: 42.49 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001928/0.1776, allocations: 189.6 kB / 446.2 MB, free: 42.37 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001901/0.1778, allocations: 114.7 kB / 446.4 MB, free: 42.36 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002994/0.1781, allocations: 0.6119 MB / 447 MB, free: 42.14 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001966/0.1783, allocations: 119.3 kB / 447.1 MB, free: 42.08 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002078/0.1785, allocations: 346.6 kB / 447.4 MB, free: 41.95 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001372/0.1786, allocations: 176.9 kB / 447.6 MB, free: 41.89 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.312e-05/0.1787, allocations: 43.28 kB / 447.6 MB, free: 41.89 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.961e-05/0.1787, allocations: 47.72 kB / 447.7 MB, free: 41.89 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.861e-05/0.1788, allocations: 98.53 kB / 447.8 MB, free: 41.82 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 9.369e-05/0.1789, allocations: 191.1 kB / 448 MB, free: 41.75 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003041/0.1792, allocations: 0.5625 MB / 448.5 MB, free: 41.54 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.1792, allocations: 7.938 kB / 448.5 MB, free: 41.53 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.744e-06/0.1792, allocations: 0 / 448.5 MB, free: 41.53 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.164e-06/0.1792, allocations: 0 / 448.5 MB, free: 41.53 MB / 410.7 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.0005997/0.1798, allocations: 0.6876 MB / 449.2 MB, free: 41.04 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.1798, allocations: 8.75 kB / 449.2 MB, free: 41.04 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.031e-05/0.1799, allocations: 91.2 kB / 449.3 MB, free: 40.96 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.325e-05/0.1799, allocations: 60.72 kB / 449.4 MB, free: 40.93 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003183/0.1802, allocations: 257.2 kB / 449.6 MB, free: 40.72 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.949e-05/0.1803, allocations: 34.47 kB / 449.7 MB, free: 40.71 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.646e-05/0.1803, allocations: 57.31 kB / 449.7 MB, free: 40.69 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003775/0.1807, allocations: 437.3 kB / 450.1 MB, free: 40.49 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.035e-05/0.1807, allocations: 11.05 kB / 450.2 MB, free: 40.48 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.138e-05/0.1807, allocations: 21.84 kB / 450.2 MB, free: 40.46 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.176e-06/0.1807, allocations: 11.88 kB / 450.2 MB, free: 40.46 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002737/0.181, allocations: 309.5 kB / 450.5 MB, free: 40.37 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008855/0.1819, allocations: 1.009 MB / 451.5 MB, free: 39.73 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004239/0.1823, allocations: 386.7 kB / 451.9 MB, free: 39.57 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001526/0.1825, allocations: 187 kB / 452.1 MB, free: 39.49 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.924e-05/0.1825, allocations: 9.031 kB / 452.1 MB, free: 39.49 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.494e-05/0.1825, allocations: 38.03 kB / 452.1 MB, free: 39.45 MB / 410.7 MB Notification: Performance of pre-optimization done (n=62): time 1.733e-06/0.1825, allocations: 4.25 kB / 452.1 MB, free: 39.45 MB / 410.7 MB Notification: Performance of matching and sorting (n=74): time 0.001569/0.1841, allocations: 1.858 MB / 454 MB, free: 38.34 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.822e-05/0.1841, allocations: 83.05 kB / 454 MB, free: 38.24 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00013/0.1842, allocations: 259.9 kB / 454.3 MB, free: 38.09 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.418e-05/0.1842, allocations: 36.45 kB / 454.3 MB, free: 38.05 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.719e-05/0.1843, allocations: 223.6 kB / 454.6 MB, free: 37.86 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.73e-05/0.1844, allocations: 278 kB / 454.8 MB, free: 37.64 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.266e-05/0.1845, allocations: 122.8 kB / 454.9 MB, free: 37.57 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.744e-05/0.1845, allocations: 358.4 kB / 455.3 MB, free: 37.23 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001467/0.1847, allocations: 155.2 kB / 455.4 MB, free: 37.18 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000179/0.1848, allocations: 280 kB / 455.7 MB, free: 37.01 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000362/0.1852, allocations: 471.8 kB / 456.2 MB, free: 36.73 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.1852, allocations: 0 / 456.2 MB, free: 36.73 MB / 410.7 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0004405/0.1856, allocations: 0.575 MB / 456.8 MB, free: 36.48 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.1857, allocations: 5.531 kB / 456.8 MB, free: 36.48 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.1857, allocations: 6.312 kB / 456.8 MB, free: 36.48 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/0.1857, allocations: 11.66 kB / 456.8 MB, free: 36.48 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003026/0.186, allocations: 171.5 kB / 456.9 MB, free: 36.46 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.186, allocations: 9.344 kB / 457 MB, free: 36.46 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001306/0.1861, allocations: 21.5 kB / 457 MB, free: 36.45 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.762e-05/0.1861, allocations: 28.09 kB / 457 MB, free: 36.45 MB / 410.7 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.0001031/0.1862, allocations: 180.5 kB / 457.2 MB, free: 36.28 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.269e-05/0.1863, allocations: 56.36 kB / 457.2 MB, free: 36.25 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.99e-05/0.1863, allocations: 57.22 kB / 457.3 MB, free: 36.21 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.626e-06/0.1863, allocations: 6.406 kB / 457.3 MB, free: 36.21 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.396e-06/0.1864, allocations: 0 / 457.3 MB, free: 36.21 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.1864, allocations: 6.359 kB / 457.3 MB, free: 36.21 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009929/0.1874, allocations: 1.346 MB / 458.7 MB, free: 35.32 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.397e-06/0.1874, allocations: 3.219 kB / 458.7 MB, free: 35.32 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003163/0.1877, allocations: 162.5 kB / 458.8 MB, free: 35.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.63e-06/0.1877, allocations: 8.281 kB / 458.8 MB, free: 35.3 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.964e-05/0.1877, allocations: 19.25 kB / 458.8 MB, free: 35.29 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.1877, allocations: 6.531 kB / 458.8 MB, free: 35.29 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.1877, allocations: 7.25 kB / 458.9 MB, free: 35.29 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005815/0.1883, allocations: 0.9101 MB / 459.8 MB, free: 34.74 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.641e-05/0.1883, allocations: 43.56 kB / 459.8 MB, free: 34.71 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.001e-05/0.1884, allocations: 17.56 kB / 459.8 MB, free: 34.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001384/0.1885, allocations: 24.97 kB / 459.8 MB, free: 34.69 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.755e-05/0.1885, allocations: 48.75 kB / 459.9 MB, free: 34.68 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.462e-05/0.1885, allocations: 18.94 kB / 459.9 MB, free: 34.68 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.585e-05/0.1886, allocations: 182.2 kB / 460.1 MB, free: 34.57 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1886, allocations: 0 / 460.1 MB, free: 34.57 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003007/0.1889, allocations: 145.2 kB / 460.2 MB, free: 34.55 MB / 410.7 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.0006419/0.1896, allocations: 1.475 MB / 461.7 MB, free: 33.44 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000424/0.19, allocations: 440.2 kB / 462.1 MB, free: 33.3 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.19, allocations: 0 / 462.1 MB, free: 33.3 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001769/0.1902, allocations: 223 kB / 462.4 MB, free: 33.23 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005782/0.1907, allocations: 130 kB / 462.5 MB, free: 33.19 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003128/0.1939, allocations: 4.502 MB / 467 MB, free: 30.19 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001498/0.194, allocations: 247.2 kB / 467.2 MB, free: 30.09 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001548/0.1942, allocations: 57.91 kB / 467.3 MB, free: 30.08 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000139/0.1943, allocations: 169.7 kB / 467.5 MB, free: 29.96 MB / 410.7 MB Notification: Performance of SimCode: time 1.072e-06/0.1943, allocations: 0 / 467.5 MB, free: 29.96 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02328/0.2176, allocations: 11.06 MB / 478.5 MB, free: 28.03 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.901/7.118, allocations: 3.828 kB / 478.5 MB, free: 28.03 MB / 410.7 MB " [Timeout remaining time 653] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/InitializationConversion/SpringDamper/SpringDamper.csv","/var/lib/jenkins/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: 9.106699290685356]