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.001218/0.001218, allocations: 115.6 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001211/0.001211, allocations: 200.8 kB / 19.4 MB, free: 3.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.398/1.398, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 63.89 kB / 359.4 MB, free: 12.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2714/0.2726, allocations: 50.55 MB / 409.9 MB, free: 1.613 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.First): time 0.003666/0.2763, allocations: 2.359 MB / 412.3 MB, free: 15.25 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001181/0.2775, allocations: 0.6466 MB / 412.9 MB, free: 14.6 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001578/0.2777, allocations: 4 kB / 412.9 MB, free: 14.59 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001638/0.2779, allocations: 43.58 kB / 413 MB, free: 14.55 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001603/0.2781, allocations: 75.33 kB / 413 MB, free: 14.48 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002599/0.2784, allocations: 67.81 kB / 413.1 MB, free: 14.41 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002863/0.2787, allocations: 282.6 kB / 413.4 MB, free: 14.13 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002579/0.2789, allocations: 102.7 kB / 413.5 MB, free: 14.02 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002048/0.2791, allocations: 115.6 kB / 413.6 MB, free: 13.91 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001704/0.2793, allocations: 111.5 kB / 413.7 MB, free: 13.8 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.533e-05/0.2794, allocations: 24 kB / 413.7 MB, free: 13.78 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.865e-05/0.2794, allocations: 24 kB / 413.8 MB, free: 13.75 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.086e-05/0.2795, allocations: 51.78 kB / 413.8 MB, free: 13.7 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001099/0.2796, allocations: 123.4 kB / 413.9 MB, free: 13.58 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000343/0.28, allocations: 268.2 kB / 414.2 MB, free: 13.32 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.062e-06/0.28, allocations: 0 / 414.2 MB, free: 13.32 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.28, allocations: 3.938 kB / 414.2 MB, free: 13.32 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.052e-06/0.28, allocations: 0 / 414.2 MB, free: 13.32 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0007458/0.2807, allocations: 0.5224 MB / 414.7 MB, free: 12.75 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.2808, allocations: 12.03 kB / 414.7 MB, free: 12.74 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001665/0.281, allocations: 32.64 kB / 414.8 MB, free: 12.71 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003557/0.2813, allocations: 248.6 kB / 415 MB, free: 12.42 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.983e-05/0.2814, allocations: 16.81 kB / 415 MB, free: 12.41 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.983e-05/0.2814, allocations: 28.28 kB / 415 MB, free: 12.38 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003387/0.2818, allocations: 199.5 kB / 415.2 MB, free: 12.18 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.7e-05/0.2818, allocations: 8 kB / 415.3 MB, free: 12.17 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.946e-05/0.2818, allocations: 4 kB / 415.3 MB, free: 12.17 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.588e-06/0.2818, allocations: 8 kB / 415.3 MB, free: 12.16 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002593/0.2821, allocations: 133.7 kB / 415.4 MB, free: 12.03 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009433/0.283, allocations: 0.6307 MB / 416 MB, free: 11.35 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002994/0.2834, allocations: 178.5 kB / 416.2 MB, free: 11.16 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001601/0.2835, allocations: 100.8 kB / 416.3 MB, free: 11.06 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.219e-05/0.2836, allocations: 0 / 416.3 MB, free: 11.06 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.486e-05/0.2836, allocations: 34.56 kB / 416.3 MB, free: 11.02 MB / 334.1 MB Notification: Performance of pre-optimization done (n=24): time 1.142e-06/0.2836, allocations: 0 / 416.3 MB, free: 11.02 MB / 334.1 MB Notification: Performance of matching and sorting (n=32): time 0.001821/0.2854, allocations: 1.075 MB / 417.4 MB, free: 9.855 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.073e-05/0.2855, allocations: 59.34 kB / 417.5 MB, free: 9.785 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001704/0.2857, allocations: 183.2 kB / 417.6 MB, free: 9.598 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.38e-05/0.2857, allocations: 33.7 kB / 417.7 MB, free: 9.559 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.763e-05/0.2858, allocations: 136.7 kB / 417.8 MB, free: 9.418 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.118e-05/0.2859, allocations: 114.3 kB / 417.9 MB, free: 9.305 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.508e-05/0.2859, allocations: 53.7 kB / 418 MB, free: 9.246 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001157/0.2861, allocations: 330.8 kB / 418.3 MB, free: 8.914 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001342/0.2862, allocations: 71.97 kB / 418.4 MB, free: 8.844 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001603/0.2864, allocations: 106.8 kB / 418.5 MB, free: 8.73 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002914/0.2867, allocations: 193.5 kB / 418.7 MB, free: 8.535 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.2867, allocations: 7.938 kB / 418.7 MB, free: 8.527 MB / 334.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0004838/0.2872, allocations: 299.1 kB / 419 MB, free: 8.227 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.2872, allocations: 4 kB / 419 MB, free: 8.223 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.2872, allocations: 0 / 419 MB, free: 8.223 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001835/0.2874, allocations: 44.83 kB / 419 MB, free: 8.176 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002427/0.2877, allocations: 55.91 kB / 419.1 MB, free: 8.121 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001474/0.2891, allocations: 1.736 MB / 420.8 MB, free: 6.25 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001206/0.2893, allocations: 16.02 kB / 420.8 MB, free: 6.234 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.951e-05/0.2893, allocations: 16.06 kB / 420.8 MB, free: 6.219 MB / 334.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.0001377/0.2895, allocations: 141.7 kB / 421 MB, free: 6.07 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.497e-05/0.2895, allocations: 23.66 kB / 421 MB, free: 6.047 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.244e-05/0.2896, allocations: 34.64 kB / 421 MB, free: 6.012 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.2896, allocations: 4 kB / 421 MB, free: 6.008 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.2896, allocations: 0 / 421 MB, free: 6.008 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.2896, allocations: 0 / 421 MB, free: 6.008 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001042/0.2906, allocations: 0.7853 MB / 421.8 MB, free: 5.145 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.2907, allocations: 3.938 kB / 421.8 MB, free: 5.141 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002514/0.2909, allocations: 63.91 kB / 421.9 MB, free: 5.078 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001172/0.291, allocations: 36.92 kB / 421.9 MB, free: 5.039 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.999e-05/0.2911, allocations: 8 kB / 421.9 MB, free: 5.031 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001087/0.2922, allocations: 1.485 MB / 423.4 MB, free: 3.398 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.2922, allocations: 0 / 423.4 MB, free: 3.398 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006471/0.2928, allocations: 490.5 kB / 423.9 MB, free: 2.891 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.272e-05/0.2929, allocations: 92.83 kB / 424 MB, free: 2.781 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.844e-05/0.2929, allocations: 8 kB / 424 MB, free: 2.773 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001361/0.2931, allocations: 8 kB / 424 MB, free: 2.766 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.393e-05/0.2932, allocations: 24.02 kB / 424 MB, free: 2.742 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.456e-05/0.2932, allocations: 4 kB / 424 MB, free: 2.738 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001052/0.2933, allocations: 144.2 kB / 424.2 MB, free: 2.598 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2933, allocations: 4 kB / 424.2 MB, free: 2.594 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003614/0.2937, allocations: 68 kB / 424.2 MB, free: 2.527 MB / 334.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.0001207/0.2938, allocations: 99.25 kB / 424.3 MB, free: 2.422 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005849/0.2944, allocations: 342.4 kB / 424.7 MB, free: 2.074 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.2944, allocations: 128 / 424.7 MB, free: 2.074 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003529/0.2948, allocations: 242.5 kB / 424.9 MB, free: 1.824 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000497/0.2953, allocations: 51.89 kB / 425 MB, free: 1.773 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001338/0.2966, allocations: 0.7566 MB / 425.7 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003436/0.297, allocations: 0.7603 MB / 426.5 MB, free: 188 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.598e-05/0.2971, allocations: 19.44 kB / 426.5 MB, free: 172 kB / 334.1 MB Notification: Performance of SimCode: time 8.82e-07/0.2971, allocations: 7.938 kB / 426.5 MB, free: 164 kB / 334.1 MB Notification: Performance of Templates: time 0.005817/0.3029, allocations: 3.882 MB / 430.4 MB, free: 12.28 MB / 350.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