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.007768/0.007768, allocations: 106.8 kB / 21.98 MB, free: 5.215 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.001675/0.001675, allocations: 216.6 kB / 25.29 MB, free: 3.203 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.464/1.464, allocations: 230.6 MB / 259 MB, free: 8.035 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.002085/0.002085, allocations: 59.89 kB / 379.8 MB, free: 2.656 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2964/0.2985, allocations: 53.36 MB / 433.2 MB, free: 6.969 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.First): time 0.003926/0.3024, allocations: 2.387 MB / 435.5 MB, free: 4.578 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001252/0.3037, allocations: 0.666 MB / 436.2 MB, free: 3.906 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000128/0.3038, allocations: 7.938 kB / 436.2 MB, free: 3.898 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001721/0.304, allocations: 35.64 kB / 436.3 MB, free: 3.863 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001671/0.3041, allocations: 79.28 kB / 436.3 MB, free: 3.785 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002719/0.3044, allocations: 63.84 kB / 436.4 MB, free: 3.723 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003582/0.3048, allocations: 278.6 kB / 436.7 MB, free: 3.449 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000203/0.305, allocations: 79.03 kB / 436.7 MB, free: 3.371 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002342/0.3052, allocations: 115.6 kB / 436.9 MB, free: 3.258 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001879/0.3054, allocations: 119.5 kB / 437 MB, free: 3.141 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.429e-05/0.3054, allocations: 20 kB / 437 MB, free: 3.121 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.688e-05/0.3055, allocations: 28 kB / 437 MB, free: 3.094 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.576e-05/0.3056, allocations: 47.78 kB / 437.1 MB, free: 3.047 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001302/0.3057, allocations: 127.4 kB / 437.2 MB, free: 2.922 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003834/0.3061, allocations: 265.3 kB / 437.5 MB, free: 2.668 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.3061, allocations: 0 / 437.5 MB, free: 2.668 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.3061, allocations: 0 / 437.5 MB, free: 2.668 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.207e-05/0.3061, allocations: 0 / 437.5 MB, free: 2.668 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.0007924/0.3069, allocations: 469.5 kB / 437.9 MB, free: 2.18 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.559e-05/0.3069, allocations: 8.031 kB / 437.9 MB, free: 2.172 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001647/0.3071, allocations: 40.73 kB / 438 MB, free: 2.133 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003406/0.3074, allocations: 179.8 kB / 438.1 MB, free: 1.93 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.156e-05/0.3074, allocations: 16.81 kB / 438.2 MB, free: 1.914 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.061e-05/0.3075, allocations: 28.33 kB / 438.2 MB, free: 1.887 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003841/0.3079, allocations: 207.5 kB / 438.4 MB, free: 1.68 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.594e-05/0.3079, allocations: 0 / 438.4 MB, free: 1.68 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.681e-05/0.3079, allocations: 11.98 kB / 438.4 MB, free: 1.668 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.3079, allocations: 8 kB / 438.4 MB, free: 1.66 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00029/0.3082, allocations: 137.6 kB / 438.5 MB, free: 1.523 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009773/0.3092, allocations: 0.591 MB / 439.1 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003274/0.3095, allocations: 166.5 kB / 439.3 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001748/0.3097, allocations: 92.81 kB / 439.4 MB, free: 0.625 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.678e-05/0.3097, allocations: 4.031 kB / 439.4 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.154e-05/0.3098, allocations: 38.56 kB / 439.4 MB, free: 0.5742 MB / 334.1 MB Notification: Performance of pre-optimization done (n=24): time 1.413e-06/0.3098, allocations: 7.938 kB / 439.4 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of matching and sorting (n=32): time 0.001973/0.3117, allocations: 0.918 MB / 440.3 MB, free: 15.59 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.379e-05/0.3118, allocations: 63.34 kB / 440.4 MB, free: 15.52 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000193/0.312, allocations: 183.8 kB / 440.6 MB, free: 15.33 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.48e-05/0.312, allocations: 29.7 kB / 440.6 MB, free: 15.29 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.446e-05/0.3121, allocations: 140.9 kB / 440.8 MB, free: 15.15 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.751e-05/0.3122, allocations: 122.9 kB / 440.9 MB, free: 15.04 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.151e-05/0.3123, allocations: 53.7 kB / 440.9 MB, free: 14.98 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000172/0.3124, allocations: 330.8 kB / 441.3 MB, free: 14.64 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001562/0.3126, allocations: 71.97 kB / 441.3 MB, free: 14.57 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001755/0.3128, allocations: 107.2 kB / 441.4 MB, free: 14.46 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003499/0.3131, allocations: 196.1 kB / 441.6 MB, free: 14.26 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.3131, allocations: 0 / 441.6 MB, free: 14.26 MB / 350.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005387/0.3137, allocations: 291.3 kB / 441.9 MB, free: 13.97 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.3137, allocations: 4 kB / 441.9 MB, free: 13.96 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.77e-06/0.3137, allocations: 4 kB / 441.9 MB, free: 13.96 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001952/0.3139, allocations: 44.77 kB / 442 MB, free: 13.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002478/0.3141, allocations: 51.97 kB / 442 MB, free: 13.86 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001655/0.3158, allocations: 1.641 MB / 443.6 MB, free: 12.11 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001233/0.3159, allocations: 12.02 kB / 443.7 MB, free: 12.1 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.371e-05/0.3159, allocations: 20 kB / 443.7 MB, free: 12.08 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.0001484/0.3161, allocations: 129.8 kB / 443.8 MB, free: 11.95 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.255e-05/0.3161, allocations: 27.8 kB / 443.8 MB, free: 11.92 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.498e-05/0.3162, allocations: 34.64 kB / 443.9 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.558e-06/0.3162, allocations: 7.938 kB / 443.9 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.72e-06/0.3162, allocations: 0 / 443.9 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.3162, allocations: 0 / 443.9 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001191/0.3174, allocations: 0.7578 MB / 444.6 MB, free: 11.05 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.3174, allocations: 0 / 444.6 MB, free: 11.05 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002657/0.3177, allocations: 59.95 kB / 444.7 MB, free: 10.99 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001263/0.3178, allocations: 36.88 kB / 444.7 MB, free: 10.95 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.15e-05/0.3178, allocations: 8 kB / 444.7 MB, free: 10.94 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001297/0.3191, allocations: 1.389 MB / 446.1 MB, free: 9.434 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.051e-06/0.3191, allocations: 8.016 kB / 446.1 MB, free: 9.426 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007551/0.3199, allocations: 490.9 kB / 446.6 MB, free: 8.918 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.806e-05/0.3199, allocations: 19.86 kB / 446.6 MB, free: 8.898 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.042e-05/0.32, allocations: 12 kB / 446.6 MB, free: 8.887 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001363/0.3201, allocations: 8 kB / 446.6 MB, free: 8.879 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.07e-05/0.3202, allocations: 24 kB / 446.7 MB, free: 8.855 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.289e-05/0.3202, allocations: 4 kB / 446.7 MB, free: 8.852 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001364/0.3203, allocations: 136.4 kB / 446.8 MB, free: 8.719 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3203, allocations: 4 kB / 446.8 MB, free: 8.715 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003819/0.3207, allocations: 71.94 kB / 446.9 MB, free: 8.645 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.000136/0.3208, allocations: 103.2 kB / 447 MB, free: 8.535 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006554/0.3215, allocations: 334.6 kB / 447.3 MB, free: 8.195 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.3215, allocations: 4.125 kB / 447.3 MB, free: 8.191 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003708/0.3218, allocations: 230.5 kB / 447.5 MB, free: 7.953 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004253/0.3223, allocations: 49.09 kB / 447.6 MB, free: 7.906 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001382/0.3237, allocations: 0.7667 MB / 448.4 MB, free: 7.094 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004079/0.3241, allocations: 0.7564 MB / 449.1 MB, free: 6.312 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.343e-05/0.3241, allocations: 23.42 kB / 449.1 MB, free: 6.293 MB / 350.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3241, allocations: 0 / 449.1 MB, free: 6.293 MB / 350.1 MB Notification: Performance of Templates: time 0.006545/0.3307, allocations: 3.91 MB / 453 MB, free: 2.387 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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/First/First.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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.6973760589025915]