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.001667/0.001667, allocations: 115.3 kB / 19.18 MB, free: 3.871 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.001805/0.001805, allocations: 206.5 kB / 22.13 MB, free: 0.9258 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.538/1.538, allocations: 230.4 MB / 255.4 MB, free: 15.02 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.002264/0.002264, allocations: 71.83 kB / 374.7 MB, free: 9.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1097/0.112, allocations: 53.32 MB / 428.1 MB, free: 4.359 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.First): time 0.004191/0.1162, allocations: 2.378 MB / 430.4 MB, free: 1.969 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001489/0.1177, allocations: 0.6543 MB / 431.1 MB, free: 1.309 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002305/0.1179, allocations: 4 kB / 431.1 MB, free: 1.305 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002147/0.1181, allocations: 39.59 kB / 431.1 MB, free: 1.266 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002687/0.1184, allocations: 79.33 kB / 431.2 MB, free: 1.188 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003043/0.1187, allocations: 67.84 kB / 431.3 MB, free: 1.121 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004043/0.1191, allocations: 270.7 kB / 431.5 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002123/0.1193, allocations: 74.77 kB / 431.6 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002686/0.1196, allocations: 115.6 kB / 431.7 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002296/0.1198, allocations: 119.4 kB / 431.8 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.413e-05/0.1198, allocations: 24 kB / 431.9 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.222e-05/0.1199, allocations: 20 kB / 431.9 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.961e-05/0.12, allocations: 51.78 kB / 431.9 MB, free: 464 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001381/0.1201, allocations: 123.4 kB / 432 MB, free: 340 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003767/0.1205, allocations: 282.7 kB / 432.3 MB, free: 56 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.1205, allocations: 0 / 432.3 MB, free: 56 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1205, allocations: 0 / 432.3 MB, free: 56 kB / 350.1 MB Notification: Performance of Transformations before backend: time 8.857e-06/0.1205, allocations: 0 / 432.3 MB, free: 56 kB / 350.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.1999/0.3204, allocations: 0.5148 MB / 432.8 MB, free: 11.3 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.3204, allocations: 9 kB / 432.8 MB, free: 11.3 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000168/0.3206, allocations: 39.81 kB / 432.9 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003237/0.3209, allocations: 247.5 kB / 433.1 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.109e-05/0.3209, allocations: 19.47 kB / 433.1 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.784e-05/0.321, allocations: 27.39 kB / 433.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003499/0.3213, allocations: 193.2 kB / 433.4 MB, free: 11.03 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.815e-05/0.3214, allocations: 1.844 kB / 433.4 MB, free: 11.03 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.022e-05/0.3214, allocations: 10.88 kB / 433.4 MB, free: 11.03 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.787e-06/0.3214, allocations: 7.469 kB / 433.4 MB, free: 11.03 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002787/0.3217, allocations: 138 kB / 433.5 MB, free: 11.03 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008296/0.3225, allocations: 0.6262 MB / 434.1 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000283/0.3228, allocations: 168.1 kB / 434.3 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001493/0.3229, allocations: 87.23 kB / 434.4 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.246e-05/0.3229, allocations: 3.406 kB / 434.4 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.959e-05/0.323, allocations: 41.67 kB / 434.4 MB, free: 10.66 MB / 350.1 MB Notification: Performance of pre-optimization done (n=24): time 1.393e-06/0.323, allocations: 0.5938 kB / 434.4 MB, free: 10.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.001638/0.3246, allocations: 1.081 MB / 435.5 MB, free: 10.14 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.136e-05/0.3246, allocations: 56.72 kB / 435.6 MB, free: 10.08 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001542/0.3248, allocations: 186.7 kB / 435.8 MB, free: 9.973 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.629e-05/0.3248, allocations: 30.08 kB / 435.8 MB, free: 9.941 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.197e-05/0.3249, allocations: 142.8 kB / 435.9 MB, free: 9.84 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.577e-05/0.3249, allocations: 119.7 kB / 436 MB, free: 9.762 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.635e-05/0.325, allocations: 55.25 kB / 436.1 MB, free: 9.746 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.763e-05/0.3251, allocations: 334.5 kB / 436.4 MB, free: 9.434 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001336/0.3252, allocations: 65.89 kB / 436.5 MB, free: 9.426 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001525/0.3253, allocations: 102.1 kB / 436.6 MB, free: 9.375 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002873/0.3256, allocations: 195.9 kB / 436.8 MB, free: 9.277 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.3256, allocations: 4.656 kB / 436.8 MB, free: 9.277 MB / 350.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0004461/0.3261, allocations: 290.2 kB / 437.1 MB, free: 9.148 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.3261, allocations: 5.781 kB / 437.1 MB, free: 9.148 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.3261, allocations: 0 / 437.1 MB, free: 9.148 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001669/0.3263, allocations: 44.86 kB / 437.1 MB, free: 9.133 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002409/0.3265, allocations: 60.25 kB / 437.2 MB, free: 9.129 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001104/0.3276, allocations: 1.737 MB / 438.9 MB, free: 7.477 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001164/0.3277, allocations: 8.094 kB / 438.9 MB, free: 7.473 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.64e-05/0.3277, allocations: 17.72 kB / 438.9 MB, free: 7.469 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 9.479e-05/0.3278, allocations: 133.1 kB / 439.1 MB, free: 7.34 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.508e-05/0.3279, allocations: 31.11 kB / 439.1 MB, free: 7.324 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.974e-05/0.3279, allocations: 36.44 kB / 439.1 MB, free: 7.301 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.3279, allocations: 4.781 kB / 439.1 MB, free: 7.301 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.3279, allocations: 1.094 kB / 439.1 MB, free: 7.301 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.3279, allocations: 1.078 kB / 439.1 MB, free: 7.301 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009322/0.3289, allocations: 0.7802 MB / 439.9 MB, free: 6.773 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.3289, allocations: 5.516 kB / 439.9 MB, free: 6.773 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002574/0.3291, allocations: 58.67 kB / 440 MB, free: 6.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001081/0.3292, allocations: 34.44 kB / 440 MB, free: 6.758 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.73e-05/0.3293, allocations: 6.375 kB / 440 MB, free: 6.754 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000825/0.3301, allocations: 1.494 MB / 441.5 MB, free: 5.289 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.3301, allocations: 7.594 kB / 441.5 MB, free: 5.285 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006037/0.3307, allocations: 481.9 kB / 442 MB, free: 4.992 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.232e-05/0.3307, allocations: 101 kB / 442.1 MB, free: 4.883 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.787e-05/0.3308, allocations: 6 kB / 442.1 MB, free: 4.879 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001351/0.3309, allocations: 12.55 kB / 442.1 MB, free: 4.875 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.508e-05/0.331, allocations: 22.52 kB / 442.1 MB, free: 4.871 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.309e-05/0.331, allocations: 6 kB / 442.1 MB, free: 4.871 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.725e-05/0.3311, allocations: 138.5 kB / 442.3 MB, free: 4.777 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3311, allocations: 0 / 442.3 MB, free: 4.777 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003663/0.3314, allocations: 68.31 kB / 442.3 MB, free: 4.766 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.0001051/0.3315, allocations: 109.2 kB / 442.4 MB, free: 4.668 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005326/0.3321, allocations: 332 kB / 442.8 MB, free: 4.48 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.3321, allocations: 1.406 kB / 442.8 MB, free: 4.48 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002953/0.3324, allocations: 236.7 kB / 443 MB, free: 4.328 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004149/0.3328, allocations: 43.22 kB / 443 MB, free: 4.312 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001096/0.3339, allocations: 0.7731 MB / 443.8 MB, free: 3.789 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001863/0.3341, allocations: 0.7557 MB / 444.6 MB, free: 3.086 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.635e-05/0.3341, allocations: 23.11 kB / 444.6 MB, free: 3.078 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3341, allocations: 0 / 444.6 MB, free: 3.078 MB / 350.1 MB Notification: Performance of Templates: time 0.007121/0.3413, allocations: 3.919 MB / 448.5 MB, free: 2.703 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.794955650926568]