Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First.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) 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(Modelica.Mechanics.Rotational.Examples.First,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|damper.phi_rel|damper.w_rel|inertia3.phi|inertia3.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First") translateModel(Modelica.Mechanics.Rotational.Examples.First,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|damper.phi_rel|damper.w_rel|inertia3.phi|inertia3.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001491/0.001491, allocations: 107.4 kB / 17.98 MB, free: 5.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001592/0.001592, allocations: 209.8 kB / 18.92 MB, free: 4.445 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.336/1.336, allocations: 227.4 MB / 247.1 MB, free: 10.76 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001196/0.001196, allocations: 63.44 kB / 307.1 MB, free: 0.9609 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09195/0.09317, allocations: 50.53 MB / 357.6 MB, free: 14.43 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.First): time 0.003781/0.09699, allocations: 2.403 MB / 360 MB, free: 12.01 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001108/0.09813, allocations: 0.6545 MB / 360.7 MB, free: 11.35 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001401/0.09829, allocations: 7.938 kB / 360.7 MB, free: 11.34 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001521/0.09849, allocations: 23.78 kB / 360.7 MB, free: 11.32 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001535/0.09865, allocations: 67.45 kB / 360.8 MB, free: 11.25 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002498/0.09891, allocations: 55.97 kB / 360.8 MB, free: 11.2 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003232/0.09924, allocations: 274.6 kB / 361.1 MB, free: 10.93 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000197/0.09945, allocations: 110.7 kB / 361.2 MB, free: 10.81 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002138/0.09967, allocations: 103.6 kB / 361.3 MB, free: 10.71 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001368/0.09982, allocations: 115.5 kB / 361.4 MB, free: 10.6 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.279e-05/0.09986, allocations: 20 kB / 361.5 MB, free: 10.58 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.247e-05/0.09994, allocations: 35.92 kB / 361.5 MB, free: 10.54 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.07e-05/0.09999, allocations: 47.84 kB / 361.5 MB, free: 10.5 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001094/0.1001, allocations: 119.4 kB / 361.7 MB, free: 10.38 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002335/0.1003, allocations: 203.8 kB / 361.9 MB, free: 10.18 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.1004, allocations: 4 kB / 361.9 MB, free: 10.18 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1004, allocations: 0 / 361.9 MB, free: 10.18 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.723e-06/0.1004, allocations: 0 / 361.9 MB, free: 10.18 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0007489/0.1011, allocations: 0.5223 MB / 362.4 MB, free: 9.602 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.37e-05/0.1012, allocations: 8.031 kB / 362.4 MB, free: 9.594 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001636/0.1013, allocations: 40.64 kB / 362.4 MB, free: 9.555 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002534/0.1016, allocations: 244.5 kB / 362.7 MB, free: 9.273 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.668e-05/0.1016, allocations: 20.75 kB / 362.7 MB, free: 9.254 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.309e-05/0.1017, allocations: 24.38 kB / 362.7 MB, free: 9.23 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003456/0.102, allocations: 195.5 kB / 362.9 MB, free: 9.031 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.717e-05/0.1021, allocations: 4 kB / 362.9 MB, free: 9.027 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.983e-05/0.1021, allocations: 7.938 kB / 362.9 MB, free: 9.02 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.053e-05/0.1021, allocations: 11.98 kB / 362.9 MB, free: 9.008 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002608/0.1024, allocations: 133.7 kB / 363.1 MB, free: 8.879 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009263/0.1033, allocations: 0.6423 MB / 363.7 MB, free: 8.188 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002934/0.1036, allocations: 178.6 kB / 363.9 MB, free: 8.004 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001697/0.1038, allocations: 104 kB / 364 MB, free: 7.902 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.055e-05/0.1038, allocations: 0 / 364 MB, free: 7.902 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.785e-05/0.1039, allocations: 42.55 kB / 364 MB, free: 7.852 MB / 302.1 MB Notification: Performance of pre-optimization done (n=24): time 1.393e-06/0.1039, allocations: 0 / 364 MB, free: 7.852 MB / 302.1 MB Notification: Performance of matching and sorting (n=32): time 0.001832/0.1057, allocations: 1.05 MB / 365.1 MB, free: 6.711 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.705e-05/0.1058, allocations: 63.34 kB / 365.1 MB, free: 6.637 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001683/0.1059, allocations: 186.2 kB / 365.3 MB, free: 6.445 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.119e-05/0.106, allocations: 29.7 kB / 365.3 MB, free: 6.41 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.659e-05/0.1061, allocations: 144.6 kB / 365.5 MB, free: 6.266 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.473e-05/0.1061, allocations: 110.4 kB / 365.6 MB, free: 6.156 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.231e-05/0.1062, allocations: 57.69 kB / 365.6 MB, free: 6.094 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001113/0.1063, allocations: 326.8 kB / 366 MB, free: 5.766 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001417/0.1065, allocations: 79.7 kB / 366 MB, free: 5.688 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001577/0.1067, allocations: 102.8 kB / 366.1 MB, free: 5.578 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003021/0.107, allocations: 193 kB / 366.3 MB, free: 5.383 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.107, allocations: 3.984 kB / 366.3 MB, free: 5.379 MB / 302.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0004835/0.1075, allocations: 291.1 kB / 366.6 MB, free: 5.086 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.1075, allocations: 4 kB / 366.6 MB, free: 5.082 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.1075, allocations: 7.938 kB / 366.6 MB, free: 5.074 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001714/0.1077, allocations: 40.83 kB / 366.7 MB, free: 5.031 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002526/0.1079, allocations: 51.97 kB / 366.7 MB, free: 4.98 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001462/0.1094, allocations: 1.748 MB / 368.5 MB, free: 3.09 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001276/0.1096, allocations: 8 kB / 368.5 MB, free: 3.082 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.087e-05/0.1096, allocations: 15.97 kB / 368.5 MB, free: 3.066 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (32): * Single equations (assignments): 31 * 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,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001277/0.1097, allocations: 142 kB / 368.6 MB, free: 2.918 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.703e-05/0.1098, allocations: 31.59 kB / 368.7 MB, free: 2.887 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.539e-05/0.1098, allocations: 30.66 kB / 368.7 MB, free: 2.859 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.1099, allocations: 8.062 kB / 368.7 MB, free: 2.852 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.1099, allocations: 0 / 368.7 MB, free: 2.852 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-06/0.1099, allocations: 3.984 kB / 368.7 MB, free: 2.848 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001084/0.111, allocations: 0.7858 MB / 369.5 MB, free: 1.984 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.111, allocations: 0 / 369.5 MB, free: 1.984 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002774/0.1113, allocations: 63.91 kB / 369.5 MB, free: 1.922 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001216/0.1114, allocations: 32.83 kB / 369.6 MB, free: 1.887 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.975e-05/0.1114, allocations: 12.03 kB / 369.6 MB, free: 1.875 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001157/0.1126, allocations: 1.489 MB / 371.1 MB, free: 252 kB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.1126, allocations: 0 / 371.1 MB, free: 252 kB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1534/0.266, allocations: 479.1 kB / 371.5 MB, free: 19.91 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.857e-05/0.2661, allocations: 97.64 kB / 371.6 MB, free: 19.82 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.392e-05/0.2661, allocations: 10.73 kB / 371.7 MB, free: 19.82 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001564/0.2663, allocations: 8.547 kB / 371.7 MB, free: 19.82 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.23e-05/0.2664, allocations: 21.77 kB / 371.7 MB, free: 19.82 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.03e-05/0.2664, allocations: 6.203 kB / 371.7 MB, free: 19.82 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001044/0.2665, allocations: 138 kB / 371.8 MB, free: 19.75 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2665, allocations: 1.688 kB / 371.8 MB, free: 19.75 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004528/0.267, allocations: 66.62 kB / 371.9 MB, free: 19.75 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (29): * Single equations (assignments): 28 * 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.0001058/0.2671, allocations: 117.8 kB / 372 MB, free: 19.66 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006627/0.2678, allocations: 347.9 kB / 372.3 MB, free: 19.55 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.2678, allocations: 0 / 372.3 MB, free: 19.55 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003231/0.2681, allocations: 242.7 kB / 372.6 MB, free: 19.44 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004876/0.2686, allocations: 41.94 kB / 372.6 MB, free: 19.44 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001222/0.2699, allocations: 0.8603 MB / 373.5 MB, free: 18.97 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002044/0.2701, allocations: 0.7597 MB / 374.2 MB, free: 18.27 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.962e-05/0.2701, allocations: 26.33 kB / 374.3 MB, free: 18.26 MB / 302.1 MB Notification: Performance of SimCode: time 2.61e-07/0.2702, allocations: 0.9375 kB / 374.3 MB, free: 18.26 MB / 302.1 MB Notification: Performance of Templates: time 0.008938/0.2791, allocations: 3.856 MB / 378.1 MB, free: 17.96 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First.makefile (rm -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First.sim & ./Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/First/First.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches