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.001316/0.001316, allocations: 109.6 kB / 18.3 MB, free: 4.836 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001388/0.001388, allocations: 208 kB / 19.25 MB, free: 3.895 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.438/1.438, allocations: 227.7 MB / 247.7 MB, free: 10.29 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.001966/0.001966, allocations: 64.88 kB / 307.9 MB, free: 0.5195 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1058/0.1077, allocations: 50.54 MB / 358.4 MB, free: 13.95 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.004072/0.1118, allocations: 2.35 MB / 360.8 MB, free: 11.59 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001237/0.1131, allocations: 0.6428 MB / 361.4 MB, free: 10.94 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001333/0.1133, allocations: 7.938 kB / 361.4 MB, free: 10.93 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001656/0.1135, allocations: 35.66 kB / 361.5 MB, free: 10.9 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001483/0.1136, allocations: 75.33 kB / 361.5 MB, free: 10.82 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002604/0.1139, allocations: 63.86 kB / 361.6 MB, free: 10.76 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000296/0.1142, allocations: 258.7 kB / 361.9 MB, free: 10.51 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000199/0.1144, allocations: 96.27 kB / 362 MB, free: 10.41 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001953/0.1146, allocations: 99.66 kB / 362.1 MB, free: 10.31 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001579/0.1148, allocations: 111.5 kB / 362.2 MB, free: 10.2 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.359e-05/0.1148, allocations: 16 kB / 362.2 MB, free: 10.19 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.175e-05/0.1149, allocations: 24 kB / 362.2 MB, free: 10.16 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.429e-05/0.1149, allocations: 43.78 kB / 362.2 MB, free: 10.12 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001258/0.1151, allocations: 123.4 kB / 362.4 MB, free: 10 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003099/0.1154, allocations: 251.4 kB / 362.6 MB, free: 9.754 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.1154, allocations: 3.938 kB / 362.6 MB, free: 9.75 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1154, allocations: 0 / 362.6 MB, free: 9.75 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.538e-06/0.1154, allocations: 4 kB / 362.6 MB, free: 9.746 MB / 302.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.0007545/0.1162, allocations: 0.5107 MB / 363.1 MB, free: 9.188 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.1162, allocations: 12.02 kB / 363.1 MB, free: 9.176 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001721/0.1164, allocations: 28.66 kB / 363.2 MB, free: 9.148 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002929/0.1167, allocations: 250.2 kB / 363.4 MB, free: 8.863 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.216e-05/0.1167, allocations: 12.81 kB / 363.4 MB, free: 8.848 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.669e-05/0.1168, allocations: 28.28 kB / 363.5 MB, free: 8.82 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003739/0.1172, allocations: 214.2 kB / 363.7 MB, free: 8.598 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.588e-05/0.1172, allocations: 0 / 363.7 MB, free: 8.598 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.42e-05/0.1172, allocations: 12 kB / 363.7 MB, free: 8.586 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/0.1172, allocations: 4 kB / 363.7 MB, free: 8.582 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002583/0.1175, allocations: 125.6 kB / 363.8 MB, free: 8.461 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001071/0.1186, allocations: 0.7132 MB / 364.5 MB, free: 7.695 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000294/0.1189, allocations: 156.4 kB / 364.7 MB, free: 7.539 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001384/0.119, allocations: 68.83 kB / 364.7 MB, free: 7.469 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.114e-05/0.1191, allocations: 0 / 364.7 MB, free: 7.469 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.767e-05/0.1191, allocations: 42.5 kB / 364.8 MB, free: 7.418 MB / 302.1 MB Notification: Performance of pre-optimization done (n=20): time 1.072e-06/0.1191, allocations: 0 / 364.8 MB, free: 7.418 MB / 302.1 MB Notification: Performance of matching and sorting (n=24): time 0.001648/0.1208, allocations: 0.8826 MB / 365.7 MB, free: 6.445 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.925e-05/0.1208, allocations: 51.41 kB / 365.7 MB, free: 6.383 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001856/0.121, allocations: 180.3 kB / 365.9 MB, free: 6.195 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.24e-05/0.121, allocations: 25.7 kB / 365.9 MB, free: 6.164 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001055/0.1212, allocations: 148.3 kB / 366.1 MB, free: 6.016 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.281e-05/0.1212, allocations: 90.66 kB / 366.1 MB, free: 5.926 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.42e-05/0.1213, allocations: 45.7 kB / 366.2 MB, free: 5.875 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001511/0.1215, allocations: 326.8 kB / 366.5 MB, free: 5.547 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001252/0.1216, allocations: 59.97 kB / 366.6 MB, free: 5.488 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001522/0.1218, allocations: 96.23 kB / 366.7 MB, free: 5.379 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002925/0.1221, allocations: 176.2 kB / 366.8 MB, free: 5.191 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.1221, allocations: 0 / 366.8 MB, free: 5.191 MB / 302.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004471/0.1225, allocations: 254 kB / 367.1 MB, free: 4.934 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/0.1226, allocations: 4 kB / 367.1 MB, free: 4.93 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.982e-06/0.1226, allocations: 4 kB / 367.1 MB, free: 4.926 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001747/0.1228, allocations: 32.83 kB / 367.1 MB, free: 4.891 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002162/0.123, allocations: 59.84 kB / 367.2 MB, free: 4.832 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001391/0.1244, allocations: 1.485 MB / 368.7 MB, free: 3.203 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001267/0.1245, allocations: 11.98 kB / 368.7 MB, free: 3.191 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.414e-05/0.1245, allocations: 4 kB / 368.7 MB, free: 3.188 MB / 302.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.0001325/0.1247, allocations: 133.8 kB / 368.8 MB, free: 3.047 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.128e-05/0.1247, allocations: 19.72 kB / 368.8 MB, free: 3.027 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.035e-05/0.1248, allocations: 37.73 kB / 368.9 MB, free: 2.992 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.1248, allocations: 7.938 kB / 368.9 MB, free: 2.984 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.1248, allocations: 0 / 368.9 MB, free: 2.984 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.1248, allocations: 4.062 kB / 368.9 MB, free: 2.98 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009559/0.1258, allocations: 0.6463 MB / 369.5 MB, free: 2.262 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.1258, allocations: 4.062 kB / 369.5 MB, free: 2.258 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002102/0.126, allocations: 43.97 kB / 369.6 MB, free: 2.215 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001192/0.1262, allocations: 36.78 kB / 369.6 MB, free: 2.176 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.852e-05/0.1262, allocations: 11.98 kB / 369.6 MB, free: 2.164 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001259/0.1274, allocations: 1.478 MB / 371.1 MB, free: 0.5508 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.1275, allocations: 4.031 kB / 371.1 MB, free: 0.5469 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005834/0.1281, allocations: 406 kB / 371.5 MB, free: 128 kB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.407e-05/0.1281, allocations: 88.92 kB / 371.6 MB, free: 20 kB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.595e-05/0.1282, allocations: 8 kB / 371.6 MB, free: 12 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001307/0.1283, allocations: 12.03 kB / 371.6 MB, free: 0 / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.1764/0.3047, allocations: 14.48 kB / 371.6 MB, free: 19.85 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.153e-05/0.3047, allocations: 10.27 kB / 371.6 MB, free: 19.85 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001564/0.3049, allocations: 125.2 kB / 371.7 MB, free: 19.77 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3049, allocations: 0.8125 kB / 371.7 MB, free: 19.77 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000504/0.3054, allocations: 58.44 kB / 371.8 MB, free: 19.77 MB / 302.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.0001388/0.3056, allocations: 103.8 kB / 371.9 MB, free: 19.68 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007059/0.3063, allocations: 296.3 kB / 372.2 MB, free: 19.57 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.3063, allocations: 1.062 kB / 372.2 MB, free: 19.57 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003062/0.3066, allocations: 211.7 kB / 372.4 MB, free: 19.46 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005269/0.3071, allocations: 50.19 kB / 372.5 MB, free: 19.46 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001227/0.3084, allocations: 0.716 MB / 373.2 MB, free: 19.11 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002287/0.3086, allocations: 0.7466 MB / 373.9 MB, free: 18.41 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.204e-05/0.3087, allocations: 24.48 kB / 373.9 MB, free: 18.39 MB / 302.1 MB Notification: Performance of SimCode: time 6.21e-07/0.3087, allocations: 0 / 373.9 MB, free: 18.39 MB / 302.1 MB Notification: Performance of Templates: time 0.006962/0.3157, allocations: 3.47 MB / 377.4 MB, free: 18.14 MB / 302.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 -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