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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001349/0.001349, allocations: 75.75 kB / 21.25 MB, free: 396 kB / 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.001469/0.001469, allocations: 159.7 kB / 24.49 MB, free: 3.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.441/1.441, allocations: 177.1 MB / 204.7 MB, free: 8.898 MB / 190.1 MB " [Timeout remaining time 178] 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=1000,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=1000,variableFilter="time|damper.phi_rel|damper.w_rel|inertia3.phi|inertia3.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002123/0.002123, allocations: 63.09 kB / 325.5 MB, free: 228 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09993/0.1021, allocations: 53.38 MB / 378.9 MB, free: 15.54 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.004485/0.1065, allocations: 2.252 MB / 381.2 MB, free: 13.28 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001365/0.1079, allocations: 0.6232 MB / 381.8 MB, free: 12.65 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002102/0.1081, allocations: 11.94 kB / 381.8 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001776/0.1083, allocations: 35.64 kB / 381.8 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002231/0.1085, allocations: 71.36 kB / 381.9 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003066/0.1088, allocations: 67.84 kB / 382 MB, free: 12.47 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003886/0.1092, allocations: 254.8 kB / 382.2 MB, free: 12.22 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001783/0.1094, allocations: 60.48 kB / 382.3 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002556/0.1096, allocations: 115.6 kB / 382.4 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001832/0.1098, allocations: 87.5 kB / 382.5 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.955e-05/0.1099, allocations: 24 kB / 382.5 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.364e-05/0.11, allocations: 24 kB / 382.5 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.128e-05/0.11, allocations: 51.77 kB / 382.6 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001145/0.1101, allocations: 95.53 kB / 382.7 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000365/0.1105, allocations: 254.9 kB / 382.9 MB, free: 11.52 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.1105, allocations: 0 / 382.9 MB, free: 11.52 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1105, allocations: 3.938 kB / 382.9 MB, free: 11.51 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.01e-05/0.1105, allocations: 0 / 382.9 MB, free: 11.51 MB / 350.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.0007605/0.1113, allocations: 461.7 kB / 383.4 MB, free: 11.03 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.468e-05/0.1113, allocations: 8.031 kB / 383.4 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001893/0.1115, allocations: 36.78 kB / 383.4 MB, free: 10.99 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003532/0.1118, allocations: 174.8 kB / 383.6 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.407e-05/0.1119, allocations: 20.88 kB / 383.6 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.438e-05/0.1119, allocations: 20.38 kB / 383.6 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003776/0.1123, allocations: 211.1 kB / 383.8 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.018e-05/0.1123, allocations: 7.953 kB / 383.8 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.859e-05/0.1123, allocations: 4 kB / 383.8 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.705e-06/0.1123, allocations: 8 kB / 383.8 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002651/0.1126, allocations: 129.9 kB / 384 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009852/0.1136, allocations: 0.5885 MB / 384.6 MB, free: 9.762 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002794/0.1139, allocations: 134.5 kB / 384.7 MB, free: 9.621 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001367/0.114, allocations: 64.83 kB / 384.8 MB, free: 9.555 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.248e-05/0.114, allocations: 4 kB / 384.8 MB, free: 9.551 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.968e-05/0.114, allocations: 38.5 kB / 384.8 MB, free: 9.504 MB / 350.1 MB Notification: Performance of pre-optimization done (n=20): time 1.392e-06/0.114, allocations: 4 kB / 384.8 MB, free: 9.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=24): time 0.001659/0.1157, allocations: 0.7417 MB / 385.5 MB, free: 8.707 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.047e-05/0.1158, allocations: 55.34 kB / 385.6 MB, free: 8.641 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001885/0.1159, allocations: 162.5 kB / 385.8 MB, free: 8.473 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.724e-05/0.116, allocations: 33.7 kB / 385.8 MB, free: 8.434 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001098/0.1161, allocations: 148.4 kB / 385.9 MB, free: 8.285 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.396e-05/0.1162, allocations: 87.23 kB / 386 MB, free: 8.199 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.953e-05/0.1163, allocations: 45.7 kB / 386.1 MB, free: 8.148 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001649/0.1164, allocations: 330.8 kB / 386.4 MB, free: 7.816 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001338/0.1166, allocations: 59.97 kB / 386.4 MB, free: 7.758 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001612/0.1167, allocations: 101.2 kB / 386.5 MB, free: 7.645 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003119/0.117, allocations: 180.7 kB / 386.7 MB, free: 7.453 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-06/0.117, allocations: 0 / 386.7 MB, free: 7.453 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000492/0.1175, allocations: 250.1 kB / 387 MB, free: 7.199 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/0.1175, allocations: 6.656 kB / 387 MB, free: 7.195 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.1175, allocations: 0 / 387 MB, free: 7.195 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001771/0.1177, allocations: 40.81 kB / 387 MB, free: 7.152 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002184/0.1179, allocations: 51.92 kB / 387.1 MB, free: 7.102 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001374/0.1193, allocations: 1.351 MB / 388.4 MB, free: 5.645 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001275/0.1194, allocations: 11.97 kB / 388.4 MB, free: 5.633 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.191e-05/0.1195, allocations: 15.98 kB / 388.4 MB, free: 5.617 MB / 350.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.0001432/0.1196, allocations: 133.8 kB / 388.6 MB, free: 5.477 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.651e-05/0.1197, allocations: 23.86 kB / 388.6 MB, free: 5.453 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.458e-05/0.1197, allocations: 18.03 kB / 388.6 MB, free: 5.43 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.1197, allocations: 11.94 kB / 388.6 MB, free: 5.418 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.1197, allocations: 0 / 388.6 MB, free: 5.418 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.055e-06/0.1197, allocations: 7.922 kB / 388.6 MB, free: 5.41 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009254/0.1207, allocations: 0.561 MB / 389.2 MB, free: 4.797 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/0.1207, allocations: 0 / 389.2 MB, free: 4.797 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002209/0.1209, allocations: 51.91 kB / 389.2 MB, free: 4.746 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000117/0.121, allocations: 32.91 kB / 389.3 MB, free: 4.711 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.043e-05/0.121, allocations: 7.984 kB / 389.3 MB, free: 4.703 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001334/0.1223, allocations: 1.351 MB / 390.6 MB, free: 3.254 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.651e-06/0.1224, allocations: 7.938 kB / 390.6 MB, free: 3.246 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006236/0.123, allocations: 403 kB / 391 MB, free: 2.828 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.41e-05/0.123, allocations: 27.8 kB / 391.1 MB, free: 2.801 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.271e-05/0.123, allocations: 4 kB / 391.1 MB, free: 2.797 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001175/0.1232, allocations: 4 kB / 391.1 MB, free: 2.793 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.281e-05/0.1232, allocations: 24 kB / 391.1 MB, free: 2.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.38e-05/0.1232, allocations: 4 kB / 391.1 MB, free: 2.766 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001135/0.1233, allocations: 127.2 kB / 391.2 MB, free: 2.641 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1233, allocations: 0 / 391.2 MB, free: 2.641 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003503/0.1237, allocations: 56 kB / 391.3 MB, free: 2.586 MB / 350.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.0001324/0.1238, allocations: 103.2 kB / 391.4 MB, free: 2.477 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005892/0.1244, allocations: 286.7 kB / 391.7 MB, free: 2.184 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.1244, allocations: 3.938 kB / 391.7 MB, free: 2.18 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003442/0.1248, allocations: 210.5 kB / 391.9 MB, free: 1.961 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004206/0.1252, allocations: 40.3 kB / 391.9 MB, free: 1.922 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00136/0.1265, allocations: 0.6776 MB / 392.6 MB, free: 1.207 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001659/0.1267, allocations: 130.5 kB / 392.7 MB, free: 1.059 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.859e-05/0.1268, allocations: 29.92 kB / 392.7 MB, free: 1.027 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.068e-05/0.1269, allocations: 16.5 kB / 392.7 MB, free: 1.012 MB / 350.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1269, allocations: 4 kB / 392.8 MB, free: 1.008 MB / 350.1 MB Notification: Performance of Templates: time 0.00684/0.1337, allocations: 2.459 MB / 395.2 MB, free: 14.59 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.makefile [Timeout 660] (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 ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.257891398970969]