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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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: translateModel(ModelicaTest.Rotational.InitializationConversion.SpringDamper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w|relativeStates.phi_rel|relativeStates.w_rel|springDamper1.phi_rel|springDamper1.w_rel|springDamper2.phi_rel|springDamper2.w_rel|springDamper3.phi_rel|springDamper3.w_rel",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper") translateModel(ModelicaTest.Rotational.InitializationConversion.SpringDamper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w|relativeStates.phi_rel|relativeStates.w_rel|springDamper1.phi_rel|springDamper1.w_rel|springDamper2.phi_rel|springDamper2.w_rel|springDamper3.phi_rel|springDamper3.w_rel",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001132/0.001132, allocations: 96.92 kB / 17.01 MB, free: 6.129 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001429/0.001429, allocations: 195.9 kB / 17.91 MB, free: 5.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.57/1.57, allocations: 227.7 MB / 246.4 MB, free: 11.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2119/0.2119, allocations: 46.19 MB / 344.8 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002813/0.0002815, allocations: 4 kB / 418.8 MB, free: 20.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1588/0.1591, allocations: 63.56 MB / 482.4 MB, free: 4.559 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.006081/0.1653, allocations: 2.805 MB / 485.2 MB, free: 1.738 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002696/0.168, allocations: 0.7948 MB / 486 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004276/0.1685, allocations: 11.94 kB / 486 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002775/0.1688, allocations: 55.56 kB / 486.1 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006343/0.1694, allocations: 142.8 kB / 486.2 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003936/0.1699, allocations: 83.84 kB / 486.3 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009825/0.1709, allocations: 0.552 MB / 486.8 MB, free: 96 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004425/0.1713, allocations: 140.9 kB / 487 MB, free: 15.96 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000443/0.1718, allocations: 187.3 kB / 487.2 MB, free: 15.77 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004538/0.1723, allocations: 207.1 kB / 487.4 MB, free: 15.57 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.76e-05/0.1724, allocations: 24 kB / 487.4 MB, free: 15.55 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001147/0.1725, allocations: 24 kB / 487.4 MB, free: 15.52 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001128/0.1726, allocations: 75.67 kB / 487.5 MB, free: 15.45 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001899/0.1728, allocations: 125.5 kB / 487.6 MB, free: 15.32 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006396/0.1735, allocations: 410.7 kB / 488 MB, free: 14.92 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.165e-05/0.1735, allocations: 0 / 488 MB, free: 14.92 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.1735, allocations: 0 / 488 MB, free: 14.92 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.614e-05/0.1736, allocations: 0 / 488 MB, free: 14.92 MB / 366.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.001721/0.1753, allocations: 0.682 MB / 488.7 MB, free: 14.19 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.519e-05/0.1754, allocations: 9.641 kB / 488.7 MB, free: 14.18 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001703/0.1756, allocations: 51.44 kB / 488.7 MB, free: 14.13 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006292/0.1762, allocations: 305.3 kB / 489 MB, free: 13.79 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.874e-05/0.1763, allocations: 41 kB / 489.1 MB, free: 13.75 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001536/0.1765, allocations: 59.89 kB / 489.1 MB, free: 13.69 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001255/0.1777, allocations: 430.6 kB / 489.6 MB, free: 13.25 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.532e-05/0.1778, allocations: 19.75 kB / 489.6 MB, free: 13.23 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.795e-05/0.1779, allocations: 20 kB / 489.6 MB, free: 13.21 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.381e-05/0.1779, allocations: 12 kB / 489.6 MB, free: 13.2 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009701/0.1789, allocations: 310.4 kB / 489.9 MB, free: 12.9 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002801/0.1817, allocations: 1.154 MB / 491.1 MB, free: 11.69 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001262/0.183, allocations: 477.2 kB / 491.5 MB, free: 11.18 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005924/0.1836, allocations: 219 kB / 491.7 MB, free: 10.96 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.466e-05/0.1837, allocations: 4.438 kB / 491.8 MB, free: 10.96 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.53e-05/0.1838, allocations: 39 kB / 491.8 MB, free: 10.91 MB / 366.1 MB Notification: Performance of pre-optimization done (n=62): time 3.887e-06/0.1838, allocations: 4.031 kB / 491.8 MB, free: 10.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=74): time 0.005504/0.1893, allocations: 2.132 MB / 493.9 MB, free: 8.609 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.731e-05/0.1894, allocations: 89.67 kB / 494 MB, free: 8.5 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004744/0.1899, allocations: 250.9 kB / 494.3 MB, free: 8.25 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.338e-05/0.19, allocations: 37.7 kB / 494.3 MB, free: 8.207 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000227/0.1902, allocations: 209 kB / 494.5 MB, free: 7.996 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000347/0.1906, allocations: 272 kB / 494.8 MB, free: 7.727 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.684e-05/0.1907, allocations: 16 kB / 494.8 MB, free: 7.711 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002393/0.1909, allocations: 362.7 kB / 495.1 MB, free: 7.348 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005219/0.1915, allocations: 153.9 kB / 495.3 MB, free: 7.199 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006766/0.1922, allocations: 272.9 kB / 495.6 MB, free: 6.895 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006363/0.1928, allocations: 203.2 kB / 495.8 MB, free: 6.695 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.1928, allocations: 3.938 kB / 495.8 MB, free: 6.691 MB / 366.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001634/0.1945, allocations: 0.5553 MB / 496.3 MB, free: 6.129 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.251e-05/0.1945, allocations: 11.98 kB / 496.3 MB, free: 6.117 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.573e-05/0.1946, allocations: 7.938 kB / 496.3 MB, free: 6.109 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.589e-05/0.1946, allocations: 4 kB / 496.3 MB, free: 6.105 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00116/0.1958, allocations: 175.8 kB / 496.5 MB, free: 5.934 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.976e-05/0.1958, allocations: 8 kB / 496.5 MB, free: 5.926 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005341/0.1964, allocations: 23.98 kB / 496.5 MB, free: 5.902 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.054e-05/0.1965, allocations: 28.14 kB / 496.6 MB, free: 5.875 MB / 366.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003482/0.1968, allocations: 189.6 kB / 496.8 MB, free: 5.68 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001662/0.197, allocations: 43.52 kB / 496.8 MB, free: 5.637 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001877/0.1972, allocations: 59.64 kB / 496.9 MB, free: 5.578 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.365e-05/0.1972, allocations: 8 kB / 496.9 MB, free: 5.57 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.265e-05/0.1972, allocations: 0 / 496.9 MB, free: 5.57 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.575e-05/0.1973, allocations: 3.984 kB / 496.9 MB, free: 5.566 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003647/0.2009, allocations: 1.434 MB / 498.3 MB, free: 4.023 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.319e-05/0.201, allocations: 4.344 kB / 498.3 MB, free: 4.02 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001221/0.2022, allocations: 171.7 kB / 498.5 MB, free: 3.852 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.952e-05/0.2022, allocations: 4 kB / 498.5 MB, free: 3.848 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.245e-05/0.2023, allocations: 16.06 kB / 498.5 MB, free: 3.832 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-05/0.2024, allocations: 11.98 kB / 498.5 MB, free: 3.82 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.01e-06/0.2024, allocations: 4 kB / 498.5 MB, free: 3.816 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001924/0.2043, allocations: 0.9156 MB / 499.4 MB, free: 2.848 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001689/0.2045, allocations: 112.6 kB / 499.5 MB, free: 2.719 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.732e-05/0.2046, allocations: 20 kB / 499.5 MB, free: 2.699 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000487/0.2051, allocations: 16 kB / 499.6 MB, free: 2.684 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001089/0.2052, allocations: 60.2 kB / 499.6 MB, free: 2.625 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.863e-05/0.2053, allocations: 20 kB / 499.6 MB, free: 2.605 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002741/0.2056, allocations: 182 kB / 499.8 MB, free: 2.426 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.2056, allocations: 0 / 499.8 MB, free: 2.426 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009376/0.2065, allocations: 144 kB / 500 MB, free: 2.285 MB / 366.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000212/0.2068, allocations: 119.1 kB / 0.4884 GB, free: 2.16 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001289/0.2081, allocations: 448.1 kB / 0.4888 GB, free: 1.723 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.262e-06/0.2081, allocations: 4 kB / 0.4888 GB, free: 1.719 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005184/0.2086, allocations: 234.2 kB / 0.489 GB, free: 1.492 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001394/0.21, allocations: 119.6 kB / 0.4891 GB, free: 1.383 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004861/0.2149, allocations: 2.026 MB / 0.4911 GB, free: 15.28 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006498/0.2156, allocations: 0.8527 MB / 0.4919 GB, free: 14.4 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003141/0.2159, allocations: 56.61 kB / 0.492 GB, free: 14.35 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001682/0.2161, allocations: 39.44 kB / 0.492 GB, free: 14.31 MB / 382.1 MB Notification: Performance of SimCode: time 7.72e-07/0.2161, allocations: 4 kB / 0.492 GB, free: 14.31 MB / 382.1 MB Notification: Performance of Templates: time 0.01798/0.2341, allocations: 4.809 MB / 0.4967 GB, free: 9.555 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.makefile (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 & ./ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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) Reference file matches