Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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_3.2.3_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_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001214/0.001214, allocations: 101.8 kB / 16.94 MB, free: 5.984 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001267/0.001267, allocations: 176.8 kB / 17.82 MB, free: 5.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.386/1.386, allocations: 205.4 MB / 224 MB, free: 13.16 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000424/0.0004241, allocations: 12 kB / 280.7 MB, free: 3.754 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08335/0.08379, allocations: 47.59 MB / 328.3 MB, free: 4.098 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.002717/0.08657, allocations: 1.875 MB / 330.2 MB, free: 2.207 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009741/0.08757, allocations: 0.6091 MB / 330.8 MB, free: 1.59 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001001/0.08769, allocations: 4 kB / 330.8 MB, free: 1.586 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 5.165e-05/0.08775, allocations: 27.77 kB / 330.8 MB, free: 1.559 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001674/0.08792, allocations: 79.75 kB / 330.9 MB, free: 1.48 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001529/0.08808, allocations: 43.95 kB / 331 MB, free: 1.438 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002286/0.08832, allocations: 175.6 kB / 331.1 MB, free: 1.266 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001742/0.08851, allocations: 72.72 kB / 331.2 MB, free: 1.195 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001263/0.08864, allocations: 79.7 kB / 331.3 MB, free: 1.117 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001262/0.08878, allocations: 91.56 kB / 331.4 MB, free: 1.027 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.673e-05/0.08881, allocations: 15.94 kB / 331.4 MB, free: 1.012 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.791e-05/0.08885, allocations: 16 kB / 331.4 MB, free: 0.9961 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 3.299e-05/0.08889, allocations: 35.83 kB / 331.4 MB, free: 0.9609 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 5.79e-05/0.08895, allocations: 69.58 kB / 331.5 MB, free: 0.8867 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001912/0.08915, allocations: 163.8 kB / 331.7 MB, free: 0.7266 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.08916, allocations: 0 / 331.7 MB, free: 0.7266 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.08917, allocations: 4 kB / 331.7 MB, free: 0.7227 MB / 270.1 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.08918, allocations: 0 / 331.7 MB, free: 0.7227 MB / 270.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.0006398/0.08983, allocations: 495 kB / 332.2 MB, free: 192 kB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.354e-05/0.08987, allocations: 8.031 kB / 332.2 MB, free: 184 kB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.759e-05/0.08992, allocations: 23.72 kB / 332.2 MB, free: 160 kB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002465/0.09018, allocations: 239.2 kB / 332.4 MB, free: 15.88 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.767e-05/0.0902, allocations: 20.44 kB / 332.4 MB, free: 15.86 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.541e-05/0.09025, allocations: 19.94 kB / 332.5 MB, free: 15.84 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003351/0.09059, allocations: 205.9 kB / 332.7 MB, free: 15.63 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.476e-05/0.09062, allocations: 4 kB / 332.7 MB, free: 15.62 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.09e-05/0.09064, allocations: 12 kB / 332.7 MB, free: 15.61 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/0.09066, allocations: 7.984 kB / 332.7 MB, free: 15.61 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002528/0.09091, allocations: 133.6 kB / 332.8 MB, free: 15.48 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009397/0.09186, allocations: 0.7055 MB / 333.5 MB, free: 14.71 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000246/0.09212, allocations: 154.5 kB / 333.7 MB, free: 14.55 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.692e-05/0.09215, allocations: 0 / 333.7 MB, free: 14.55 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.561e-05/0.09218, allocations: 38.91 kB / 333.7 MB, free: 14.51 MB / 286.1 MB Notification: Performance of pre-optimization done (n=20): time 2.164e-06/0.09219, allocations: 0 / 333.7 MB, free: 14.51 MB / 286.1 MB Notification: Performance of matching and sorting (n=24): time 0.001495/0.09369, allocations: 0.8942 MB / 334.6 MB, free: 13.52 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.319e-05/0.09375, allocations: 55.41 kB / 334.7 MB, free: 13.45 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001532/0.09391, allocations: 174.6 kB / 334.8 MB, free: 13.27 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.021e-05/0.09395, allocations: 33.7 kB / 334.9 MB, free: 13.23 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.268e-05/0.09403, allocations: 144.3 kB / 335 MB, free: 13.09 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.062e-05/0.09411, allocations: 90.64 kB / 335.1 MB, free: 13 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.528e-06/0.09413, allocations: 4 kB / 335.1 MB, free: 12.99 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001295/0.09426, allocations: 330.8 kB / 335.4 MB, free: 12.66 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001135/0.09438, allocations: 51.97 kB / 335.5 MB, free: 12.61 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001542/0.09454, allocations: 108.2 kB / 335.6 MB, free: 12.49 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001291/0.09468, allocations: 71.88 kB / 335.6 MB, free: 12.42 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.09469, allocations: 0 / 335.6 MB, free: 12.42 MB / 286.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004974/0.09519, allocations: 254 kB / 335.9 MB, free: 12.16 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.09522, allocations: 8 kB / 335.9 MB, free: 12.15 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.09524, allocations: 3.953 kB / 335.9 MB, free: 12.15 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001561/0.0954, allocations: 32.83 kB / 335.9 MB, free: 12.11 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002133/0.09562, allocations: 47.92 kB / 336 MB, free: 12.07 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001169/0.0968, allocations: 1.386 MB / 337.4 MB, free: 10.54 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001146/0.09693, allocations: 12.02 kB / 337.4 MB, free: 10.53 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.603e-05/0.09695, allocations: 16.06 kB / 337.4 MB, free: 10.52 MB / 286.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001628/0.09712, allocations: 129.8 kB / 337.5 MB, free: 10.38 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.866e-05/0.09717, allocations: 19.81 kB / 337.5 MB, free: 10.36 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.867e-05/0.09722, allocations: 29.81 kB / 337.6 MB, free: 10.33 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.09723, allocations: 4 kB / 337.6 MB, free: 10.33 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.09724, allocations: 0 / 337.6 MB, free: 10.33 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.09725, allocations: 0 / 337.6 MB, free: 10.33 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008743/0.09813, allocations: 0.6569 MB / 338.2 MB, free: 9.602 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.09815, allocations: 0 / 338.2 MB, free: 9.602 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002041/0.09836, allocations: 51.97 kB / 338.3 MB, free: 9.551 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001044/0.09847, allocations: 32.84 kB / 338.3 MB, free: 9.516 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.478e-05/0.09849, allocations: 4 kB / 338.3 MB, free: 9.512 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001059/0.09956, allocations: 1.394 MB / 339.7 MB, free: 7.984 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.09958, allocations: 3.984 kB / 339.7 MB, free: 7.98 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005644/0.1001, allocations: 433.8 kB / 340.1 MB, free: 7.52 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.224e-05/0.1002, allocations: 88.92 kB / 340.2 MB, free: 7.414 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.619e-05/0.1002, allocations: 8 kB / 340.2 MB, free: 7.406 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001172/0.1004, allocations: 8 kB / 340.2 MB, free: 7.398 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.001e-05/0.1004, allocations: 19.97 kB / 340.3 MB, free: 7.379 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.037e-05/0.1004, allocations: 4 kB / 340.3 MB, free: 7.375 MB / 286.1 MB Notification: Performance of sorting global known variables: time 9.954e-05/0.1005, allocations: 132.8 kB / 340.4 MB, free: 7.246 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1005, allocations: 0 / 340.4 MB, free: 7.246 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003186/0.1009, allocations: 59.95 kB / 340.5 MB, free: 7.188 MB / 286.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002032/0.1011, allocations: 111.2 kB / 340.6 MB, free: 7.066 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0005291/0.1016, allocations: 306.4 kB / 340.9 MB, free: 6.754 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.1016, allocations: 3.938 kB / 340.9 MB, free: 6.75 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002804/0.1019, allocations: 214.5 kB / 341.1 MB, free: 6.527 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003471/0.1023, allocations: 36.02 kB / 341.1 MB, free: 6.496 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00109/0.1034, allocations: 0.8134 MB / 341.9 MB, free: 5.656 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000263/0.1037, allocations: 0.756 MB / 342.7 MB, free: 4.875 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 6.8e-05/0.1037, allocations: 21.94 kB / 342.7 MB, free: 4.852 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.273e-05/0.1038, allocations: 19.42 kB / 342.7 MB, free: 4.832 MB / 286.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1038, allocations: 0 / 342.7 MB, free: 4.832 MB / 286.1 MB Notification: Performance of Templates: time 0.004789/0.1086, allocations: 2.132 MB / 344.8 MB, free: 2.703 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.sim & ./Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/FirstGrounded/FirstGrounded.csv","../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches