Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.First.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001601/0.001601, allocations: 116.1 kB / 21.18 MB, free: 0.5898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001961/0.001961, allocations: 209.9 kB / 24.47 MB, free: 3.996 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.423/1.423, allocations: 230.4 MB / 258.1 MB, free: 8.148 MB / 206.1 MB " [Timeout remaining time 178] 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.First,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|damper.phi_rel|damper.w_rel|inertia3.phi|inertia3.w",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.First") translateModel(Modelica.Mechanics.Rotational.Examples.First,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|damper.phi_rel|damper.w_rel|inertia3.phi|inertia3.w",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.First") [Timeout 660] "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.001943/0.001943, allocations: 59.84 kB / 378.7 MB, free: 2.895 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2861/0.2881, allocations: 53.32 MB / 432 MB, free: 7.371 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.First): time 0.004014/0.2921, allocations: 2.384 MB / 434.4 MB, free: 4.98 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001256/0.2934, allocations: 0.6505 MB / 435.1 MB, free: 4.324 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001278/0.2935, allocations: 8 kB / 435.1 MB, free: 4.316 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001601/0.2936, allocations: 39.53 kB / 435.1 MB, free: 4.277 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000179/0.2938, allocations: 83.27 kB / 435.2 MB, free: 4.195 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002748/0.2941, allocations: 67.84 kB / 435.3 MB, free: 4.129 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003355/0.2944, allocations: 274.7 kB / 435.5 MB, free: 3.859 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001981/0.2946, allocations: 74.77 kB / 435.6 MB, free: 3.781 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002279/0.2949, allocations: 119.5 kB / 435.7 MB, free: 3.664 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001764/0.295, allocations: 107.5 kB / 435.8 MB, free: 3.559 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.579e-05/0.2951, allocations: 20 kB / 435.9 MB, free: 3.539 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.088e-05/0.2951, allocations: 28 kB / 435.9 MB, free: 3.512 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.762e-05/0.2952, allocations: 51.83 kB / 435.9 MB, free: 3.461 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001182/0.2953, allocations: 119.4 kB / 436 MB, free: 3.344 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003752/0.2957, allocations: 280.8 kB / 436.3 MB, free: 3.074 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.2957, allocations: 0 / 436.3 MB, free: 3.074 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.2957, allocations: 0 / 436.3 MB, free: 3.074 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.083e-06/0.2957, allocations: 4 kB / 436.3 MB, free: 3.07 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.0008288/0.2965, allocations: 0.5221 MB / 436.9 MB, free: 2.5 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.527e-05/0.2966, allocations: 8.922 kB / 436.9 MB, free: 2.492 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001671/0.2967, allocations: 48.67 kB / 436.9 MB, free: 2.445 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003773/0.2971, allocations: 248.6 kB / 437.1 MB, free: 2.16 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.036e-05/0.2971, allocations: 16.81 kB / 437.2 MB, free: 2.145 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.088e-05/0.2972, allocations: 24.33 kB / 437.2 MB, free: 2.121 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003577/0.2975, allocations: 199.6 kB / 437.4 MB, free: 1.922 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.558e-05/0.2976, allocations: 0 / 437.4 MB, free: 1.922 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.885e-05/0.2976, allocations: 15.98 kB / 437.4 MB, free: 1.906 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.173e-05/0.2976, allocations: 4 kB / 437.4 MB, free: 1.902 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002876/0.2979, allocations: 141.7 kB / 437.5 MB, free: 1.762 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001005/0.2989, allocations: 0.6192 MB / 438.2 MB, free: 1.094 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003299/0.2992, allocations: 166.5 kB / 438.3 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001655/0.2994, allocations: 88.83 kB / 438.4 MB, free: 0.832 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.388e-05/0.2994, allocations: 4 kB / 438.4 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.242e-05/0.2994, allocations: 38.55 kB / 438.5 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of pre-optimization done (n=24): time 1.202e-06/0.2994, allocations: 0 / 438.5 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of matching and sorting (n=32): time 0.002001/0.3014, allocations: 1.085 MB / 439.5 MB, free: 15.61 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.447e-05/0.3015, allocations: 59.34 kB / 439.6 MB, free: 15.54 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001966/0.3017, allocations: 178.9 kB / 439.8 MB, free: 15.36 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.754e-05/0.3017, allocations: 33.7 kB / 439.8 MB, free: 15.32 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001022/0.3018, allocations: 144.8 kB / 439.9 MB, free: 15.17 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.73e-05/0.3019, allocations: 115 kB / 440.1 MB, free: 15.06 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.037e-05/0.302, allocations: 57.7 kB / 440.1 MB, free: 15 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000157/0.3022, allocations: 330.8 kB / 440.4 MB, free: 14.66 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001535/0.3023, allocations: 75.89 kB / 440.5 MB, free: 14.59 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001738/0.3025, allocations: 111.1 kB / 440.6 MB, free: 14.47 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003254/0.3028, allocations: 193 kB / 440.8 MB, free: 14.28 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.3028, allocations: 4 kB / 440.8 MB, free: 14.27 MB / 350.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005051/0.3033, allocations: 287.2 kB / 441.1 MB, free: 13.98 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/0.3033, allocations: 11.12 kB / 441.1 MB, free: 13.98 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.3033, allocations: 0 / 441.1 MB, free: 13.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001864/0.3035, allocations: 40.89 kB / 441.1 MB, free: 13.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002483/0.3038, allocations: 63.91 kB / 441.2 MB, free: 13.87 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001724/0.3055, allocations: 1.744 MB / 442.9 MB, free: 11.99 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001217/0.3056, allocations: 12.02 kB / 443 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.923e-05/0.3056, allocations: 15.94 kB / 443 MB, free: 11.96 MB / 350.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.0001542/0.3058, allocations: 133.8 kB / 443.1 MB, free: 11.82 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.241e-05/0.3058, allocations: 27.8 kB / 443.1 MB, free: 11.8 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.968e-05/0.3059, allocations: 34.72 kB / 443.2 MB, free: 11.76 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.581e-06/0.3059, allocations: 4 kB / 443.2 MB, free: 11.75 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-06/0.3059, allocations: 3.984 kB / 443.2 MB, free: 11.75 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.3059, allocations: 0 / 443.2 MB, free: 11.75 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001187/0.3071, allocations: 0.782 MB / 444 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.3071, allocations: 0 / 444 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002621/0.3074, allocations: 59.91 kB / 444 MB, free: 10.83 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001194/0.3075, allocations: 36.83 kB / 444.1 MB, free: 10.79 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.782e-05/0.3075, allocations: 4 kB / 444.1 MB, free: 10.79 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001324/0.3088, allocations: 1.489 MB / 445.5 MB, free: 9.16 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.3088, allocations: 4.031 kB / 445.5 MB, free: 9.156 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007065/0.3095, allocations: 478.6 kB / 446 MB, free: 8.66 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.511e-05/0.3096, allocations: 105 kB / 446.1 MB, free: 8.539 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.781e-05/0.3097, allocations: 4 kB / 446.1 MB, free: 8.535 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001356/0.3098, allocations: 12 kB / 446.1 MB, free: 8.523 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.998e-05/0.3099, allocations: 27.91 kB / 446.2 MB, free: 8.496 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.443e-05/0.3099, allocations: 8 kB / 446.2 MB, free: 8.488 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001168/0.31, allocations: 136.3 kB / 446.3 MB, free: 8.355 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.31, allocations: 0 / 446.3 MB, free: 8.355 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003823/0.3104, allocations: 68 kB / 446.4 MB, free: 8.289 MB / 350.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.0001349/0.3105, allocations: 111.1 kB / 446.5 MB, free: 8.168 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006406/0.3111, allocations: 334.6 kB / 446.8 MB, free: 7.828 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.3111, allocations: 0 / 446.8 MB, free: 7.828 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003623/0.3115, allocations: 230.5 kB / 447 MB, free: 7.59 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000452/0.312, allocations: 57.42 kB / 447.1 MB, free: 7.535 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001374/0.3133, allocations: 0.7696 MB / 447.9 MB, free: 6.719 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004141/0.3137, allocations: 0.7525 MB / 448.6 MB, free: 5.938 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.135e-05/0.3138, allocations: 23.44 kB / 448.6 MB, free: 5.918 MB / 350.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3138, allocations: 3.938 kB / 448.6 MB, free: 5.914 MB / 350.1 MB Notification: Performance of Templates: time 0.006518/0.3203, allocations: 3.912 MB / 452.5 MB, free: 2.004 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.First.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.First.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.First.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.First.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.First.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.First -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.First.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.First_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/First/First.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.First.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.340343801770359]