Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Rotational.Examples.FirstGrounded,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|damper.phi_rel|damper.w_rel|inertia3.phi|inertia3.w",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded") translateModel(Modelica.Mechanics.Rotational.Examples.FirstGrounded,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|damper.phi_rel|damper.w_rel|inertia3.phi|inertia3.w",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001216/0.001221, allocations: 188.9 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.351/1.351, allocations: 222.9 MB / 240.9 MB, free: 10.99 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001018/0.001018, allocations: 103.2 kB / 291.2 MB, free: 10.94 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000778/0.0007782, allocations: 43.94 kB / 350 MB, free: 72 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2135/0.2143, allocations: 49.43 MB / 399.5 MB, free: 33.37 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.002726/0.2171, allocations: 2.394 MB / 401.9 MB, free: 30.98 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006417/0.2178, allocations: 0.5652 MB / 402.4 MB, free: 30.41 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001109/0.2179, allocations: 11.94 kB / 402.4 MB, free: 30.4 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001199/0.218, allocations: 27.78 kB / 402.5 MB, free: 30.37 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001026/0.2181, allocations: 55.53 kB / 402.5 MB, free: 30.32 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001683/0.2183, allocations: 51.94 kB / 402.6 MB, free: 30.27 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001925/0.2185, allocations: 246.8 kB / 402.8 MB, free: 30.02 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000139/0.2186, allocations: 68.8 kB / 402.9 MB, free: 29.95 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001049/0.2188, allocations: 99.58 kB / 403 MB, free: 29.85 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001031/0.2189, allocations: 95.55 kB / 403.1 MB, free: 29.76 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.817e-05/0.2189, allocations: 15.94 kB / 403.1 MB, free: 29.74 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.284e-05/0.2189, allocations: 12 kB / 403.1 MB, free: 29.73 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.145e-05/0.219, allocations: 47.72 kB / 403.1 MB, free: 29.68 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.839e-05/0.2191, allocations: 111.5 kB / 403.3 MB, free: 29.57 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001672/0.2192, allocations: 236.6 kB / 403.5 MB, free: 29.34 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.2192, allocations: 0 / 403.5 MB, free: 29.34 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.42e-07/0.2192, allocations: 4 kB / 403.5 MB, free: 29.34 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.678e-06/0.2193, allocations: 0 / 403.5 MB, free: 29.34 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0005601/0.2198, allocations: 0.5106 MB / 404 MB, free: 28.78 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.346e-05/0.2199, allocations: 12.03 kB / 404 MB, free: 28.77 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.615e-05/0.2199, allocations: 24.66 kB / 404 MB, free: 28.75 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001859/0.2201, allocations: 234.3 kB / 404.3 MB, free: 28.48 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.277e-05/0.2201, allocations: 12.81 kB / 404.3 MB, free: 28.46 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.315e-05/0.2202, allocations: 20.38 kB / 404.3 MB, free: 28.45 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002763/0.2204, allocations: 222.2 kB / 404.5 MB, free: 28.21 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.512e-05/0.2205, allocations: 3.906 kB / 404.5 MB, free: 28.21 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.653e-05/0.2205, allocations: 12 kB / 404.5 MB, free: 28.2 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.2205, allocations: 4 kB / 404.5 MB, free: 28.2 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002034/0.2207, allocations: 129.6 kB / 404.7 MB, free: 28.07 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007294/0.2214, allocations: 0.7016 MB / 405.4 MB, free: 27.31 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002076/0.2217, allocations: 154.5 kB / 405.5 MB, free: 27.15 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001037/0.2218, allocations: 72.77 kB / 405.6 MB, free: 27.08 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.623e-05/0.2218, allocations: 0 / 405.6 MB, free: 27.08 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.237e-05/0.2218, allocations: 34.56 kB / 405.6 MB, free: 27.04 MB / 298.7 MB Notification: Performance of pre-optimization done (n=20): time 1.012e-06/0.2218, allocations: 0 / 405.6 MB, free: 27.04 MB / 298.7 MB Notification: Performance of matching and sorting (n=24): time 0.001178/0.223, allocations: 0.8836 MB / 406.5 MB, free: 26.06 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.465e-05/0.223, allocations: 59.39 kB / 406.6 MB, free: 25.99 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001228/0.2232, allocations: 179.2 kB / 406.7 MB, free: 25.81 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.211e-05/0.2232, allocations: 25.7 kB / 406.8 MB, free: 25.78 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.246e-05/0.2233, allocations: 148.1 kB / 406.9 MB, free: 25.63 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.849e-05/0.2233, allocations: 90.8 kB / 407 MB, free: 25.54 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.351e-05/0.2234, allocations: 45.7 kB / 407 MB, free: 25.49 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.87e-05/0.2234, allocations: 330.8 kB / 407.4 MB, free: 25.16 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001013/0.2235, allocations: 55.97 kB / 407.4 MB, free: 25.1 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001095/0.2236, allocations: 100.2 kB / 407.5 MB, free: 24.99 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002392/0.2239, allocations: 168.8 kB / 407.7 MB, free: 24.81 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.2239, allocations: 0 / 407.7 MB, free: 24.81 MB / 298.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003505/0.2242, allocations: 258.9 kB / 407.9 MB, free: 24.55 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.2243, allocations: 8 kB / 407.9 MB, free: 24.54 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.2243, allocations: 0 / 407.9 MB, free: 24.54 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000156/0.2244, allocations: 28.84 kB / 408 MB, free: 24.51 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001879/0.2246, allocations: 51.91 kB / 408 MB, free: 24.46 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008381/0.2255, allocations: 1.382 MB / 409.4 MB, free: 22.94 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001053/0.2256, allocations: 8.031 kB / 409.4 MB, free: 22.93 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.537e-05/0.2256, allocations: 19.88 kB / 409.4 MB, free: 22.91 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (28): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.559e-05/0.2257, allocations: 141.7 kB / 409.6 MB, free: 22.77 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.702e-05/0.2258, allocations: 15.81 kB / 409.6 MB, free: 22.75 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.764e-05/0.2258, allocations: 29.86 kB / 409.6 MB, free: 22.72 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.2258, allocations: 4 kB / 409.6 MB, free: 22.71 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.86e-06/0.2258, allocations: 0 / 409.6 MB, free: 22.71 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.2259, allocations: 0 / 409.6 MB, free: 22.71 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007108/0.2266, allocations: 0.6481 MB / 410.3 MB, free: 22 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.2266, allocations: 0 / 410.3 MB, free: 22 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000189/0.2268, allocations: 51.91 kB / 410.3 MB, free: 21.95 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.983e-05/0.2269, allocations: 36.81 kB / 410.3 MB, free: 21.91 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.626e-05/0.2269, allocations: 8 kB / 410.4 MB, free: 21.9 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007686/0.2277, allocations: 1.375 MB / 411.7 MB, free: 20.39 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.2277, allocations: 3.938 kB / 411.7 MB, free: 20.39 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00267/0.2304, allocations: 3.354 MB / 415.1 MB, free: 16.76 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.237e-05/0.2304, allocations: 96.89 kB / 415.2 MB, free: 16.64 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.921e-05/0.2305, allocations: 4 kB / 415.2 MB, free: 16.64 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001107/0.2306, allocations: 12.03 kB / 415.2 MB, free: 16.63 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.388e-05/0.2306, allocations: 19.92 kB / 415.2 MB, free: 16.61 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.039e-05/0.2307, allocations: 8 kB / 415.2 MB, free: 16.6 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.835e-05/0.2307, allocations: 128.8 kB / 415.4 MB, free: 16.48 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2307, allocations: 0 / 415.4 MB, free: 16.48 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003874/0.2311, allocations: 80 kB / 415.4 MB, free: 16.4 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (inertia3.phi,inertia3.w,damper.phi_rel,damper.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 (21): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 8.949e-05/0.2312, allocations: 111.2 kB / 415.5 MB, free: 16.28 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004304/0.2317, allocations: 278.6 kB / 415.8 MB, free: 16 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.2317, allocations: 0 / 415.8 MB, free: 16 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002525/0.2319, allocations: 214.9 kB / 416 MB, free: 15.77 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004337/0.2324, allocations: 43.91 kB / 416.1 MB, free: 15.73 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001115/0.2335, allocations: 1.093 MB / 417.2 MB, free: 14.57 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001428/0.2337, allocations: 0.7524 MB / 417.9 MB, free: 13.79 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.745e-05/0.2337, allocations: 17.95 kB / 417.9 MB, free: 13.78 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.233e-05/0.2338, allocations: 19.44 kB / 417.9 MB, free: 13.76 MB / 298.7 MB Notification: Performance of SimCode: time 2.1e-07/0.2338, allocations: 0 / 417.9 MB, free: 13.76 MB / 298.7 MB Notification: Performance of Templates: time 0.004894/0.2387, allocations: 2.795 MB / 420.7 MB, free: 10.98 MB / 298.7 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.sim & ./Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/FirstGrounded/FirstGrounded.csv","../files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches