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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009901/0.0009901, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001213/0.002203, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.001199/0.001199, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002279/0.003478, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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 0.9797/0.9797, allocations: 177.4 MB / 189.9 MB, free: 4.816 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08468/1.064, allocations: 53.87 MB / 243.8 MB, free: 14.89 MB / 250.7 MB " [Timeout remaining time 179] 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=1000,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=1000,variableFilter="time|damper.phi_rel|damper.w_rel|inertia3.phi|inertia3.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 0 / 245 MB, free: 13.65 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.381e-05/1.506e-05, allocations: 2.312 kB / 245 MB, free: 13.64 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.First): time 0.002491/0.002506, allocations: 2.432 MB / 247.4 MB, free: 11.2 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009394/0.003446, allocations: 0.6618 MB / 248.1 MB, free: 10.53 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001145/0.00356, allocations: 7.938 kB / 248.1 MB, free: 10.52 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 8.877e-05/0.003649, allocations: 35.59 kB / 248.1 MB, free: 10.49 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001407/0.00379, allocations: 87.27 kB / 248.2 MB, free: 10.4 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001589/0.003949, allocations: 71.83 kB / 248.3 MB, free: 10.33 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002281/0.004177, allocations: 282.5 kB / 248.6 MB, free: 10.05 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001447/0.004321, allocations: 82.48 kB / 248.7 MB, free: 9.973 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002553/0.004577, allocations: 178.7 kB / 248.8 MB, free: 9.801 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001326/0.004709, allocations: 87.7 kB / 248.9 MB, free: 9.715 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.936e-05/0.004739, allocations: 20 kB / 248.9 MB, free: 9.695 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.8e-05/0.004817, allocations: 35.92 kB / 249 MB, free: 9.66 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.155e-05/0.004848, allocations: 35.88 kB / 249 MB, free: 9.625 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 6.601e-05/0.004914, allocations: 71.88 kB / 249.1 MB, free: 9.555 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002297/0.005144, allocations: 167.3 kB / 249.2 MB, free: 9.391 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.531e-05/0.005159, allocations: 0 / 249.2 MB, free: 9.391 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.00516, allocations: 0 / 249.2 MB, free: 9.391 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.689e-05/0.005177, allocations: 0 / 249.2 MB, free: 9.391 MB / 250.7 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.000553/0.00573, allocations: 487.8 kB / 249.7 MB, free: 8.891 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.974e-05/0.00576, allocations: 12.03 kB / 249.7 MB, free: 8.879 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004367/0.006197, allocations: 126 kB / 249.8 MB, free: 8.738 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002039/0.006401, allocations: 170 kB / 250 MB, free: 8.543 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.605e-05/0.006417, allocations: 16.88 kB / 250 MB, free: 8.527 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.177e-05/0.006448, allocations: 28.36 kB / 250.1 MB, free: 8.5 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001722/0.006621, allocations: 153.3 kB / 250.2 MB, free: 8.344 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.421e-05/0.006635, allocations: 4.141 kB / 250.2 MB, free: 8.34 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.35e-05/0.006648, allocations: 16.31 kB / 250.2 MB, free: 8.324 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.295e-06/0.006657, allocations: 7.938 kB / 250.2 MB, free: 8.316 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.282e-05/0.006729, allocations: 59.47 kB / 250.3 MB, free: 8.258 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005073/0.007237, allocations: 394 kB / 250.7 MB, free: 7.855 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001425/0.007379, allocations: 110.5 kB / 250.8 MB, free: 7.738 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.245e-05/0.007432, allocations: 52.83 kB / 250.8 MB, free: 7.684 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.883e-05/0.00745, allocations: 4 kB / 250.8 MB, free: 7.68 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.555e-05/0.007476, allocations: 34.56 kB / 250.9 MB, free: 7.637 MB / 250.7 MB Notification: Performance of pre-optimization done (n=24): time 1.573e-06/0.007478, allocations: 0 / 250.9 MB, free: 7.637 MB / 250.7 MB Notification: Performance of matching and sorting (n=32): time 0.001078/0.008555, allocations: 0.7214 MB / 251.6 MB, free: 6.863 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.809e-05/0.008583, allocations: 59.34 kB / 251.7 MB, free: 6.793 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.431e-05/0.008678, allocations: 163.4 kB / 251.8 MB, free: 6.621 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.643e-05/0.008694, allocations: 29.7 kB / 251.8 MB, free: 6.586 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.555e-05/0.00875, allocations: 136.8 kB / 252 MB, free: 6.449 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.801e-05/0.008818, allocations: 118.9 kB / 252.1 MB, free: 6.332 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.444e-05/0.008872, allocations: 53.64 kB / 252.1 MB, free: 6.273 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.251e-05/0.008955, allocations: 334.8 kB / 252.5 MB, free: 5.938 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.987e-05/0.008985, allocations: 24 kB / 252.5 MB, free: 5.914 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.044e-05/0.009035, allocations: 62.55 kB / 252.6 MB, free: 5.844 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001109/0.009146, allocations: 132.5 kB / 252.7 MB, free: 5.707 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.009147, allocations: 0 / 252.7 MB, free: 5.707 MB / 250.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0001796/0.009327, allocations: 163.5 kB / 252.8 MB, free: 5.539 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.009341, allocations: 4 kB / 252.9 MB, free: 5.535 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.009346, allocations: 4 kB / 252.9 MB, free: 5.531 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001193/0.009465, allocations: 48.75 kB / 252.9 MB, free: 5.48 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001764/0.009641, allocations: 67.97 kB / 253 MB, free: 5.414 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008046/0.01045, allocations: 1.435 MB / 254.4 MB, free: 3.895 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.409e-05/0.01051, allocations: 8 kB / 254.4 MB, free: 3.887 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.377e-06/0.01052, allocations: 8 kB / 254.4 MB, free: 3.879 MB / 250.7 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 8.157e-05/0.0106, allocations: 129.8 kB / 254.5 MB, free: 3.742 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.862e-05/0.01063, allocations: 27.91 kB / 254.6 MB, free: 3.715 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.077e-05/0.01066, allocations: 30.66 kB / 254.6 MB, free: 3.688 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.01066, allocations: 4 kB / 254.6 MB, free: 3.684 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.01067, allocations: 0 / 254.6 MB, free: 3.684 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.01067, allocations: 7.922 kB / 254.6 MB, free: 3.676 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004872/0.01116, allocations: 497.1 kB / 255.1 MB, free: 3.148 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.01116, allocations: 0 / 255.1 MB, free: 3.148 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001633/0.01133, allocations: 67.89 kB / 255.2 MB, free: 3.082 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.878e-05/0.01134, allocations: 15.91 kB / 255.2 MB, free: 3.066 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.897e-05/0.01142, allocations: 36.81 kB / 255.2 MB, free: 3.027 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.16e-05/0.01144, allocations: 8 kB / 255.2 MB, free: 3.02 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006615/0.0121, allocations: 1.233 MB / 256.5 MB, free: 1.695 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.0121, allocations: 8 kB / 256.5 MB, free: 1.688 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000266/0.01237, allocations: 326.8 kB / 256.8 MB, free: 1.34 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.607e-05/0.01238, allocations: 8 kB / 256.8 MB, free: 1.332 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.329e-05/0.01245, allocations: 8 kB / 256.8 MB, free: 1.324 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.273e-05/0.01249, allocations: 23.95 kB / 256.8 MB, free: 1.301 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.734e-06/0.0125, allocations: 4 kB / 256.8 MB, free: 1.297 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0003232/0.01282, allocations: 48.83 kB / 256.9 MB, free: 1.246 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01282, allocations: 4 kB / 256.9 MB, free: 1.242 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002253/0.01304, allocations: 64 kB / 256.9 MB, free: 1.18 MB / 250.7 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 9.589e-05/0.01314, allocations: 80.36 kB / 257 MB, free: 1.094 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002849/0.01343, allocations: 267.2 kB / 257.3 MB, free: 0.8164 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.2e-05/0.01344, allocations: 4 kB / 257.3 MB, free: 0.8125 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001356/0.01357, allocations: 212.4 kB / 257.5 MB, free: 0.5898 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002299/0.0138, allocations: 67.84 kB / 257.6 MB, free: 0.5234 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003504/0.01731, allocations: 0.5557 MB / 258.1 MB, free: 15.93 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.759e-05/0.01737, allocations: 88.92 kB / 258.2 MB, free: 15.82 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.261e-05/0.01745, allocations: 22.38 kB / 258.2 MB, free: 15.8 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.866e-05/0.01755, allocations: 95.34 kB / 258.3 MB, free: 15.71 MB / 266.7 MB Notification: Performance of SimCode: time 1.422e-06/0.01755, allocations: 4 kB / 258.3 MB, free: 15.71 MB / 266.7 MB Notification: Performance of Templates: time 0.004865/0.02241, allocations: 3.004 MB / 261.3 MB, free: 12.75 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First.makefile [Timeout 660] (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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/First/First.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.48279067594558]