Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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 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.FirstGrounded,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.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_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001219/0.001219, allocations: 119.8 kB / 18.41 MB, free: 4.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001293/0.001293, allocations: 203.5 kB / 19.36 MB, free: 3.723 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.337/1.337, allocations: 227.4 MB / 247.5 MB, free: 10.33 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001146/0.001146, allocations: 57.69 kB / 308.4 MB, free: 15.88 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09255/0.09371, allocations: 50.53 MB / 358.9 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.003523/0.09728, allocations: 2.346 MB / 361.3 MB, free: 10.96 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001019/0.09832, allocations: 0.6544 MB / 361.9 MB, free: 10.3 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001155/0.09844, allocations: 7.938 kB / 361.9 MB, free: 10.29 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001386/0.0986, allocations: 31.66 kB / 361.9 MB, free: 10.26 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001272/0.09873, allocations: 75.34 kB / 362 MB, free: 10.19 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002309/0.09897, allocations: 63.84 kB / 362.1 MB, free: 10.12 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002597/0.09924, allocations: 258.8 kB / 362.3 MB, free: 9.871 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001739/0.09942, allocations: 92.27 kB / 362.4 MB, free: 9.777 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001682/0.0996, allocations: 107.5 kB / 362.5 MB, free: 9.672 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001333/0.09974, allocations: 103.5 kB / 362.6 MB, free: 9.57 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.275e-05/0.09978, allocations: 20 kB / 362.7 MB, free: 9.551 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.312e-05/0.09985, allocations: 28 kB / 362.7 MB, free: 9.523 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.655e-05/0.09989, allocations: 47.83 kB / 362.7 MB, free: 9.477 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.955e-05/0.1, allocations: 115.4 kB / 362.8 MB, free: 9.363 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002531/0.1003, allocations: 259 kB / 363.1 MB, free: 9.109 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.1003, allocations: 3.938 kB / 363.1 MB, free: 9.105 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1003, allocations: 4 kB / 363.1 MB, free: 9.102 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.971e-06/0.1003, allocations: 0 / 363.1 MB, free: 9.102 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.000667/0.101, allocations: 0.5029 MB / 363.6 MB, free: 8.551 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.356e-05/0.101, allocations: 12.02 kB / 363.6 MB, free: 8.539 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001505/0.1012, allocations: 32.66 kB / 363.6 MB, free: 8.508 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002932/0.1015, allocations: 246.2 kB / 363.9 MB, free: 8.227 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.713e-05/0.1015, allocations: 12.81 kB / 363.9 MB, free: 8.211 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.57e-05/0.1015, allocations: 28.27 kB / 363.9 MB, free: 8.184 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003335/0.1019, allocations: 214.1 kB / 364.1 MB, free: 7.961 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.745e-05/0.1019, allocations: 7.984 kB / 364.1 MB, free: 7.953 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.937e-05/0.1019, allocations: 8 kB / 364.1 MB, free: 7.945 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.874e-06/0.1019, allocations: 8 kB / 364.2 MB, free: 7.938 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002555/0.1022, allocations: 129.7 kB / 364.3 MB, free: 7.812 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009324/0.1031, allocations: 0.7014 MB / 365 MB, free: 7.059 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002497/0.1034, allocations: 146.5 kB / 365.1 MB, free: 6.906 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001226/0.1035, allocations: 72.81 kB / 365.2 MB, free: 6.832 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.834e-05/0.1036, allocations: 0 / 365.2 MB, free: 6.832 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.561e-05/0.1036, allocations: 38.56 kB / 365.2 MB, free: 6.785 MB / 302.1 MB Notification: Performance of pre-optimization done (n=20): time 1.001e-06/0.1036, allocations: 0 / 365.2 MB, free: 6.785 MB / 302.1 MB Notification: Performance of matching and sorting (n=24): time 0.001449/0.1051, allocations: 0.8866 MB / 366.1 MB, free: 5.809 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.156e-05/0.1051, allocations: 51.41 kB / 366.2 MB, free: 5.746 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001547/0.1053, allocations: 184.2 kB / 366.4 MB, free: 5.551 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.97e-05/0.1053, allocations: 33.7 kB / 366.4 MB, free: 5.512 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.122e-05/0.1054, allocations: 140.3 kB / 366.5 MB, free: 5.371 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.905e-05/0.1054, allocations: 94.64 kB / 366.6 MB, free: 5.277 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.598e-05/0.1055, allocations: 45.7 kB / 366.7 MB, free: 5.227 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001173/0.1056, allocations: 326.8 kB / 367 MB, free: 4.898 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001152/0.1058, allocations: 59.97 kB / 367 MB, free: 4.84 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001386/0.1059, allocations: 100.2 kB / 367.1 MB, free: 4.727 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002524/0.1062, allocations: 177.9 kB / 367.3 MB, free: 4.539 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.133e-06/0.1062, allocations: 0 / 367.3 MB, free: 4.539 MB / 302.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003976/0.1066, allocations: 250 kB / 367.6 MB, free: 4.285 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.1066, allocations: 8 kB / 367.6 MB, free: 4.277 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.1066, allocations: 3.984 kB / 367.6 MB, free: 4.273 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001435/0.1068, allocations: 32.78 kB / 367.6 MB, free: 4.238 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002046/0.107, allocations: 51.97 kB / 367.6 MB, free: 4.188 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001102/0.1081, allocations: 1.477 MB / 369.1 MB, free: 2.566 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001097/0.1082, allocations: 8.062 kB / 369.1 MB, free: 2.559 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.687e-05/0.1082, allocations: 16 kB / 369.1 MB, free: 2.543 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.0001123/0.1084, allocations: 133.7 kB / 369.3 MB, free: 2.402 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.131e-05/0.1084, allocations: 19.72 kB / 369.3 MB, free: 2.383 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.021e-05/0.1085, allocations: 33.8 kB / 369.3 MB, free: 2.352 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.1085, allocations: 7.938 kB / 369.3 MB, free: 2.344 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.1085, allocations: 0 / 369.3 MB, free: 2.344 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.1085, allocations: 0 / 369.3 MB, free: 2.344 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008408/0.1093, allocations: 0.6496 MB / 370 MB, free: 1.621 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.1093, allocations: 7.984 kB / 370 MB, free: 1.613 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000205/0.1096, allocations: 39.98 kB / 370 MB, free: 1.574 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001088/0.1097, allocations: 36.97 kB / 370.1 MB, free: 1.535 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.773e-05/0.1097, allocations: 16.05 kB / 370.1 MB, free: 1.52 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1558/0.2655, allocations: 1.472 MB / 371.6 MB, free: 19.56 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.2655, allocations: 1.062 kB / 371.6 MB, free: 19.56 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006781/0.2662, allocations: 405.6 kB / 372 MB, free: 19.4 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.784e-05/0.2663, allocations: 95.92 kB / 372.1 MB, free: 19.3 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.733e-05/0.2663, allocations: 7.453 kB / 372.1 MB, free: 19.3 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001343/0.2665, allocations: 7.453 kB / 372.1 MB, free: 19.3 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.604e-05/0.2665, allocations: 24.09 kB / 372.1 MB, free: 19.3 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.615e-05/0.2665, allocations: 9.297 kB / 372.1 MB, free: 19.3 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.891e-05/0.2666, allocations: 127.1 kB / 372.2 MB, free: 19.23 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2667, allocations: 0 / 372.2 MB, free: 19.23 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003843/0.267, allocations: 56.97 kB / 372.3 MB, free: 19.23 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.0001028/0.2672, allocations: 104.7 kB / 372.4 MB, free: 19.14 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005269/0.2677, allocations: 297.8 kB / 372.7 MB, free: 19.03 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.2677, allocations: 0 / 372.7 MB, free: 19.03 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002783/0.268, allocations: 214.3 kB / 372.9 MB, free: 18.92 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000399/0.2684, allocations: 40.84 kB / 372.9 MB, free: 18.92 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001052/0.2695, allocations: 0.6767 MB / 373.6 MB, free: 18.61 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001765/0.2696, allocations: 0.7513 MB / 374.3 MB, free: 17.9 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.222e-05/0.2697, allocations: 21 kB / 374.4 MB, free: 17.89 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.452e-05/0.2698, allocations: 19.7 kB / 374.4 MB, free: 17.89 MB / 302.1 MB Notification: Performance of SimCode: time 2.71e-07/0.2698, allocations: 0 / 374.4 MB, free: 17.89 MB / 302.1 MB Notification: Performance of Templates: time 0.005959/0.2757, allocations: 2.379 MB / 376.8 MB, free: 17.74 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.makefile (rm -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.sim & ./Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/FirstGrounded/FirstGrounded.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches