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.001121/0.001121, allocations: 76.36 kB / 20.67 MB, free: 3.895 MB / 18.57 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.0008106/0.0008106, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.8791/0.8791, allocations: 177 MB / 204.1 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] 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.2505/0.2505, allocations: 34.23 MB / 294.8 MB, free: 0.6914 MB / 266.7 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 2.144e-06/2.144e-06, allocations: 0 / 442.1 MB, free: 1.559 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.756e-05/1.971e-05, allocations: 2.281 kB / 442.1 MB, free: 1.555 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.1815/0.1815, allocations: 3.007 MB / 445.2 MB, free: 42.83 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009156/0.1824, allocations: 0.802 MB / 446 MB, free: 42.5 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001319/0.1825, allocations: 13.5 kB / 446 MB, free: 42.5 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001278/0.1827, allocations: 71.7 kB / 446 MB, free: 42.45 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004866/0.1832, allocations: 193.9 kB / 446.2 MB, free: 42.32 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002715/0.1834, allocations: 108.5 kB / 446.3 MB, free: 42.31 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004697/0.1839, allocations: 0.6249 MB / 447 MB, free: 42.07 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002471/0.1841, allocations: 102.7 kB / 447.1 MB, free: 42.02 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003544/0.1845, allocations: 355 kB / 447.4 MB, free: 41.88 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002006/0.1847, allocations: 177.2 kB / 447.6 MB, free: 41.82 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 5.978e-05/0.1848, allocations: 42.84 kB / 447.6 MB, free: 41.82 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.708e-05/0.1848, allocations: 43.44 kB / 447.7 MB, free: 41.82 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.152e-05/0.1849, allocations: 107.6 kB / 447.8 MB, free: 41.75 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001413/0.185, allocations: 186.9 kB / 447.9 MB, free: 41.68 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003692/0.1854, allocations: 0.5643 MB / 448.5 MB, free: 41.47 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.1854, allocations: 0 / 448.5 MB, free: 41.47 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1854, allocations: 0 / 448.5 MB, free: 41.47 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.362e-05/0.1854, allocations: 3.188 kB / 448.5 MB, free: 41.47 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.0007441/0.1861, allocations: 0.6922 MB / 449.2 MB, free: 40.96 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.1862, allocations: 8.375 kB / 449.2 MB, free: 40.96 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.459e-05/0.1862, allocations: 92.88 kB / 449.3 MB, free: 40.89 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.754e-05/0.1863, allocations: 56.86 kB / 449.4 MB, free: 40.87 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003545/0.1867, allocations: 254.2 kB / 449.6 MB, free: 40.66 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.128e-05/0.1867, allocations: 41 kB / 449.7 MB, free: 40.64 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.342e-05/0.1867, allocations: 55.61 kB / 449.7 MB, free: 40.61 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004505/0.1872, allocations: 434.6 kB / 450.1 MB, free: 40.42 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.214e-05/0.1872, allocations: 11.02 kB / 450.1 MB, free: 40.41 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.143e-05/0.1872, allocations: 23.03 kB / 450.2 MB, free: 40.39 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.316e-06/0.1872, allocations: 11.38 kB / 450.2 MB, free: 40.39 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000337/0.1876, allocations: 308.3 kB / 450.5 MB, free: 40.3 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00105/0.1886, allocations: 1.008 MB / 451.5 MB, free: 39.66 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000564/0.1892, allocations: 379.2 kB / 451.9 MB, free: 39.5 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001786/0.1894, allocations: 192.5 kB / 452 MB, free: 39.43 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.119e-05/0.1894, allocations: 9.938 kB / 452.1 MB, free: 39.42 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.107e-05/0.1894, allocations: 40.84 kB / 452.1 MB, free: 39.38 MB / 410.7 MB Notification: Performance of pre-optimization done (n=62): time 1.914e-06/0.1894, allocations: 3.938 kB / 452.1 MB, free: 39.38 MB / 410.7 MB Notification: Performance of matching and sorting (n=74): time 0.001827/0.1912, allocations: 1.85 MB / 453.9 MB, free: 38.28 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.532e-05/0.1913, allocations: 93.86 kB / 454 MB, free: 38.18 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001524/0.1914, allocations: 261.2 kB / 454.3 MB, free: 38.02 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.1914, allocations: 36.42 kB / 454.3 MB, free: 37.98 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.033e-05/0.1915, allocations: 212.6 kB / 454.5 MB, free: 37.8 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.098e-05/0.1916, allocations: 284.8 kB / 454.8 MB, free: 37.57 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.651e-05/0.1917, allocations: 117 kB / 454.9 MB, free: 37.5 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.489e-05/0.1917, allocations: 360 kB / 455.3 MB, free: 37.17 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001458/0.1919, allocations: 161 kB / 455.4 MB, free: 37.11 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001823/0.1921, allocations: 277.5 kB / 455.7 MB, free: 36.94 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000397/0.1925, allocations: 477.7 kB / 456.2 MB, free: 36.66 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.207e-06/0.1925, allocations: 2.688 kB / 456.2 MB, free: 36.66 MB / 410.7 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0005255/0.193, allocations: 0.5736 MB / 456.7 MB, free: 36.41 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.471e-05/0.193, allocations: 5.812 kB / 456.8 MB, free: 36.41 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.39e-05/0.193, allocations: 4.812 kB / 456.8 MB, free: 36.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.632e-05/0.1931, allocations: 5.75 kB / 456.8 MB, free: 36.41 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003178/0.1934, allocations: 179.9 kB / 456.9 MB, free: 36.39 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.333e-05/0.1934, allocations: 10.31 kB / 457 MB, free: 36.39 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001495/0.1935, allocations: 24.97 kB / 457 MB, free: 36.38 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.211e-05/0.1936, allocations: 22.84 kB / 457 MB, free: 36.38 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.0001293/0.1937, allocations: 183.8 kB / 457.2 MB, free: 36.21 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.576e-05/0.1938, allocations: 46.25 kB / 457.2 MB, free: 36.18 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.868e-05/0.1938, allocations: 57.27 kB / 457.3 MB, free: 36.14 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.1938, allocations: 9.594 kB / 457.3 MB, free: 36.14 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.92e-05/0.1938, allocations: 0 / 457.3 MB, free: 36.14 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.935e-06/0.1938, allocations: 3.375 kB / 457.3 MB, free: 36.14 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001046/0.1949, allocations: 1.349 MB / 458.6 MB, free: 35.25 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.1949, allocations: 3.031 kB / 458.6 MB, free: 35.25 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003157/0.1952, allocations: 159.2 kB / 458.8 MB, free: 35.23 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.1952, allocations: 3 kB / 458.8 MB, free: 35.23 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.952e-05/0.1952, allocations: 21.34 kB / 458.8 MB, free: 35.22 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.5e-06/0.1952, allocations: 9.219 kB / 458.8 MB, free: 35.22 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.1952, allocations: 7.531 kB / 458.8 MB, free: 35.22 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005849/0.1958, allocations: 0.9109 MB / 459.7 MB, free: 34.67 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.925e-05/0.1959, allocations: 38.22 kB / 459.8 MB, free: 34.64 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.439e-05/0.1959, allocations: 24.86 kB / 459.8 MB, free: 34.63 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001385/0.196, allocations: 29.25 kB / 459.8 MB, free: 34.61 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.648e-05/0.1961, allocations: 50.53 kB / 459.9 MB, free: 34.61 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.419e-05/0.1961, allocations: 19.5 kB / 459.9 MB, free: 34.6 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.018e-05/0.1962, allocations: 180.5 kB / 460.1 MB, free: 34.49 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1962, allocations: 0 / 460.1 MB, free: 34.49 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003254/0.1965, allocations: 148.9 kB / 460.2 MB, free: 34.47 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.0007227/0.1972, allocations: 1.468 MB / 461.7 MB, free: 33.38 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004398/0.1977, allocations: 430.7 kB / 462.1 MB, free: 33.24 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.1977, allocations: 3.938 kB / 462.1 MB, free: 33.23 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001933/0.1979, allocations: 227.8 kB / 462.3 MB, free: 33.16 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006257/0.1985, allocations: 124.4 kB / 462.5 MB, free: 33.12 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003724/0.2022, allocations: 4.5 MB / 467 MB, free: 30.14 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001369/0.2024, allocations: 247.8 kB / 467.2 MB, free: 30.04 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001569/0.2025, allocations: 57.19 kB / 467.3 MB, free: 30.03 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001358/0.2026, allocations: 167.6 kB / 467.4 MB, free: 29.91 MB / 410.7 MB Notification: Performance of SimCode: time 1.102e-06/0.2026, allocations: 3.344 kB / 467.4 MB, free: 29.91 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02393/0.2266, allocations: 11.06 MB / 478.5 MB, free: 27.97 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.02/7.246, allocations: 9.172 kB / 478.5 MB, free: 27.96 MB / 410.7 MB " [Timeout remaining time 653] (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/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_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: 9.254223374649882]