Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.FirstGrounded.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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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(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.1.0-beta.om_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.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.FirstGrounded") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001544/0.001544, allocations: 120.5 kB / 18.45 MB, free: 4.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001291/0.001291, allocations: 215.8 kB / 19.41 MB, free: 3.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.435/1.435, allocations: 227.7 MB / 247.9 MB, free: 10.2 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001927/0.001927, allocations: 67.89 kB / 359.7 MB, free: 12.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2381/0.2401, allocations: 50.54 MB / 410.2 MB, free: 1.426 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.003527/0.2436, allocations: 2.378 MB / 412.6 MB, free: 15.05 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001069/0.2447, allocations: 0.6427 MB / 413.2 MB, free: 14.4 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001118/0.2448, allocations: 4 kB / 413.2 MB, free: 14.39 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001529/0.2449, allocations: 43.59 kB / 413.3 MB, free: 14.35 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001423/0.2451, allocations: 71.34 kB / 413.3 MB, free: 14.28 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002275/0.2453, allocations: 67.84 kB / 413.4 MB, free: 14.21 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002972/0.2456, allocations: 254.8 kB / 413.6 MB, free: 13.96 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000153/0.2457, allocations: 72.3 kB / 413.7 MB, free: 13.89 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001976/0.2459, allocations: 107.6 kB / 413.8 MB, free: 13.79 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001467/0.2461, allocations: 107.5 kB / 413.9 MB, free: 13.68 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.088e-05/0.2461, allocations: 20 kB / 413.9 MB, free: 13.66 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.626e-05/0.2462, allocations: 28 kB / 414 MB, free: 13.63 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.32e-05/0.2462, allocations: 47.83 kB / 414 MB, free: 13.59 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001156/0.2463, allocations: 115.4 kB / 414.1 MB, free: 13.47 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003229/0.2467, allocations: 251 kB / 414.4 MB, free: 13.23 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.2467, allocations: 0 / 414.4 MB, free: 13.23 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.2467, allocations: 0 / 414.4 MB, free: 13.23 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.172e-06/0.2467, allocations: 7.875 kB / 414.4 MB, free: 13.22 MB / 334.1 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.0007271/0.2474, allocations: 0.5183 MB / 414.9 MB, free: 12.65 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.373e-05/0.2474, allocations: 15.97 kB / 414.9 MB, free: 12.64 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000166/0.2476, allocations: 32.78 kB / 414.9 MB, free: 12.61 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003219/0.2479, allocations: 248.6 kB / 415.2 MB, free: 12.32 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.973e-05/0.2479, allocations: 16.81 kB / 415.2 MB, free: 12.3 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.331e-05/0.248, allocations: 20.38 kB / 415.2 MB, free: 12.29 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003697/0.2484, allocations: 218.1 kB / 415.4 MB, free: 12.06 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.918e-05/0.2484, allocations: 7.953 kB / 415.4 MB, free: 12.05 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.1e-05/0.2484, allocations: 8 kB / 415.5 MB, free: 12.05 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.064e-06/0.2484, allocations: 4 kB / 415.5 MB, free: 12.04 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002813/0.2487, allocations: 125.7 kB / 415.6 MB, free: 11.92 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001062/0.2497, allocations: 0.7095 MB / 416.3 MB, free: 11.16 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002882/0.25, allocations: 134.5 kB / 416.4 MB, free: 11.02 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001368/0.2502, allocations: 64.83 kB / 416.5 MB, free: 10.95 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.931e-05/0.2502, allocations: 0 / 416.5 MB, free: 10.95 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.374e-05/0.2502, allocations: 38.56 kB / 416.5 MB, free: 10.9 MB / 334.1 MB Notification: Performance of pre-optimization done (n=20): time 1.092e-06/0.2502, allocations: 0 / 416.5 MB, free: 10.9 MB / 334.1 MB Notification: Performance of matching and sorting (n=24): time 0.00167/0.2519, allocations: 0.888 MB / 417.4 MB, free: 9.922 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.468e-05/0.2519, allocations: 51.41 kB / 417.5 MB, free: 9.859 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001803/0.2521, allocations: 176.3 kB / 417.6 MB, free: 9.672 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.975e-05/0.2521, allocations: 33.7 kB / 417.7 MB, free: 9.633 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.863e-05/0.2522, allocations: 148.4 kB / 417.8 MB, free: 9.484 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.907e-05/0.2523, allocations: 91.2 kB / 417.9 MB, free: 9.395 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.645e-05/0.2524, allocations: 49.7 kB / 418 MB, free: 9.34 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000186/0.2526, allocations: 330.8 kB / 418.3 MB, free: 9.008 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001245/0.2527, allocations: 51.98 kB / 418.3 MB, free: 8.957 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001686/0.2529, allocations: 104.2 kB / 418.4 MB, free: 8.84 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002937/0.2532, allocations: 172.8 kB / 418.6 MB, free: 8.656 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.548e-06/0.2532, allocations: 4 kB / 418.6 MB, free: 8.652 MB / 334.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004567/0.2536, allocations: 254.1 kB / 418.8 MB, free: 8.395 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.2536, allocations: 4 kB / 418.9 MB, free: 8.391 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.862e-06/0.2537, allocations: 4 kB / 418.9 MB, free: 8.387 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001563/0.2538, allocations: 28.84 kB / 418.9 MB, free: 8.355 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000214/0.254, allocations: 51.91 kB / 418.9 MB, free: 8.305 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001367/0.2554, allocations: 1.481 MB / 420.4 MB, free: 6.68 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001183/0.2555, allocations: 16.03 kB / 420.4 MB, free: 6.664 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.36e-05/0.2555, allocations: 8 kB / 420.4 MB, free: 6.656 MB / 334.1 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 0.0001553/0.2557, allocations: 145.7 kB / 420.6 MB, free: 6.504 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.653e-05/0.2557, allocations: 19.86 kB / 420.6 MB, free: 6.484 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.665e-05/0.2558, allocations: 25.88 kB / 420.6 MB, free: 6.457 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.2558, allocations: 3.938 kB / 420.6 MB, free: 6.453 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.2558, allocations: 7.938 kB / 420.6 MB, free: 6.445 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-06/0.2558, allocations: 3.984 kB / 420.6 MB, free: 6.441 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001002/0.2568, allocations: 0.6511 MB / 421.3 MB, free: 5.723 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.743e-06/0.2568, allocations: 4 kB / 421.3 MB, free: 5.719 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002086/0.257, allocations: 35.98 kB / 421.3 MB, free: 5.684 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001176/0.2571, allocations: 40.89 kB / 421.4 MB, free: 5.641 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.613e-05/0.2571, allocations: 4 kB / 421.4 MB, free: 5.637 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001301/0.2584, allocations: 1.493 MB / 422.9 MB, free: 4.004 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.2584, allocations: 0 / 422.9 MB, free: 4.004 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000592/0.259, allocations: 406.7 kB / 423.3 MB, free: 3.586 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.619e-05/0.2591, allocations: 97 kB / 423.4 MB, free: 3.473 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.502e-05/0.2591, allocations: 8 kB / 423.4 MB, free: 3.465 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001225/0.2593, allocations: 4 kB / 423.4 MB, free: 3.461 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001107/0.2594, allocations: 27.84 kB / 423.4 MB, free: 3.434 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.022e-05/0.2594, allocations: 4 kB / 423.4 MB, free: 3.43 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001107/0.2595, allocations: 128.1 kB / 423.5 MB, free: 3.305 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2595, allocations: 0 / 423.5 MB, free: 3.305 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003213/0.2598, allocations: 56 kB / 423.6 MB, free: 3.25 MB / 334.1 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 0.0001288/0.2599, allocations: 111.2 kB / 423.7 MB, free: 3.133 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000563/0.2605, allocations: 282.4 kB / 424 MB, free: 2.844 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.2605, allocations: 0 / 424 MB, free: 2.844 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003179/0.2608, allocations: 214.9 kB / 424.2 MB, free: 2.621 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004024/0.2612, allocations: 49.34 kB / 424.2 MB, free: 2.582 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001167/0.2624, allocations: 0.6839 MB / 424.9 MB, free: 1.859 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003865/0.2628, allocations: 0.7482 MB / 425.7 MB, free: 1.082 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.337e-05/0.2628, allocations: 21.94 kB / 425.7 MB, free: 1.062 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.473e-05/0.2629, allocations: 19.38 kB / 425.7 MB, free: 1.043 MB / 334.1 MB Notification: Performance of SimCode: time 4.31e-07/0.2629, allocations: 0 / 425.7 MB, free: 1.043 MB / 334.1 MB Notification: Performance of Templates: time 0.006263/0.2692, allocations: 2.441 MB / 428.1 MB, free: 14.61 MB / 350.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.FirstGrounded.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.FirstGrounded.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.FirstGrounded -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.FirstGrounded_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/FirstGrounded/FirstGrounded.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.FirstGrounded.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches