Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002423/0.002423, allocations: 99.53 kB / 21.73 MB, free: 2.688 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001846/0.001846, allocations: 162.5 kB / 25.03 MB, free: 8.941 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.469/1.469, allocations: 158.6 MB / 186.8 MB, free: 2.91 MB / 170.7 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_3.2.3_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_3.2.3_Modelica.Mechanics.Rotational.Examples.First") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.984e-06/1.984e-06, allocations: 0 / 250.4 MB, free: 7.832 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.327e-05/3.526e-05, allocations: 2.312 kB / 250.4 MB, free: 7.828 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.First): time 0.007169/0.007204, allocations: 2.338 MB / 252.7 MB, free: 5.473 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002204/0.009408, allocations: 0.6163 MB / 253.3 MB, free: 4.848 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002243/0.009633, allocations: 11.94 kB / 253.3 MB, free: 4.836 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002697/0.009902, allocations: 39.53 kB / 253.4 MB, free: 4.797 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003533/0.01026, allocations: 79.27 kB / 253.4 MB, free: 4.719 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003608/0.01062, allocations: 55.92 kB / 253.5 MB, free: 4.664 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006176/0.01123, allocations: 286.5 kB / 253.8 MB, free: 4.383 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003212/0.01156, allocations: 67.23 kB / 253.8 MB, free: 4.316 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004824/0.01204, allocations: 163.6 kB / 254 MB, free: 4.156 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003265/0.01236, allocations: 91.7 kB / 254.1 MB, free: 4.066 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 7.344e-05/0.01244, allocations: 20 kB / 254.1 MB, free: 4.047 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.087e-05/0.01252, allocations: 20 kB / 254.1 MB, free: 4.027 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 9.466e-05/0.01261, allocations: 47.83 kB / 254.2 MB, free: 3.98 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002057/0.01282, allocations: 87.75 kB / 254.3 MB, free: 3.895 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006377/0.01346, allocations: 263.1 kB / 254.5 MB, free: 3.637 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.197e-05/0.01347, allocations: 4 kB / 254.5 MB, free: 3.633 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.01347, allocations: 0 / 254.5 MB, free: 3.633 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.098e-05/0.01348, allocations: 0 / 254.5 MB, free: 3.633 MB / 234.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.001467/0.01495, allocations: 0.5698 MB / 255.1 MB, free: 3.027 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.446e-05/0.01501, allocations: 11.98 kB / 255.1 MB, free: 3.016 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001719/0.01518, allocations: 48.75 kB / 255.2 MB, free: 2.969 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003399/0.01552, allocations: 177 kB / 255.3 MB, free: 2.766 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.166e-05/0.01556, allocations: 20.86 kB / 255.3 MB, free: 2.742 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.111e-05/0.01561, allocations: 20.38 kB / 255.4 MB, free: 2.723 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003912/0.016, allocations: 188.6 kB / 255.6 MB, free: 2.531 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.542e-05/0.01602, allocations: 8.078 kB / 255.6 MB, free: 2.523 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.604e-05/0.01605, allocations: 12.38 kB / 255.6 MB, free: 2.512 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.061e-05/0.01606, allocations: 11.94 kB / 255.6 MB, free: 2.5 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003087/0.01637, allocations: 129.9 kB / 255.7 MB, free: 2.375 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00112/0.01749, allocations: 0.5913 MB / 256.3 MB, free: 1.746 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003539/0.01784, allocations: 187 kB / 256.5 MB, free: 1.551 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001858/0.01803, allocations: 91.59 kB / 256.6 MB, free: 1.457 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.763e-05/0.01806, allocations: 4 kB / 256.6 MB, free: 1.453 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.635e-05/0.0181, allocations: 41.39 kB / 256.6 MB, free: 1.402 MB / 234.7 MB Notification: Performance of pre-optimization done (n=24): time 1.362e-06/0.0181, allocations: 4 kB / 256.6 MB, free: 1.398 MB / 234.7 MB Notification: Performance of matching and sorting (n=32): time 0.002114/0.02022, allocations: 0.9296 MB / 257.5 MB, free: 416 kB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.03e-05/0.02027, allocations: 55.41 kB / 257.6 MB, free: 348 kB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002423/0.02051, allocations: 234.8 kB / 257.8 MB, free: 96 kB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 3.207e-05/0.02054, allocations: 33.7 kB / 257.9 MB, free: 56 kB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001799/0.02072, allocations: 195.5 kB / 258.1 MB, free: 15.86 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001336/0.02086, allocations: 131 kB / 258.2 MB, free: 15.73 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001136/0.02097, allocations: 67.36 kB / 258.3 MB, free: 15.65 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0003147/0.02128, allocations: 0.5156 MB / 258.8 MB, free: 15.12 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001631/0.02145, allocations: 67.97 kB / 258.8 MB, free: 15.06 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002069/0.02165, allocations: 119 kB / 258.9 MB, free: 14.93 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003952/0.02205, allocations: 212.6 kB / 259.2 MB, free: 14.71 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.02205, allocations: 0 / 259.2 MB, free: 14.71 MB / 250.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.000603/0.02265, allocations: 313.2 kB / 259.5 MB, free: 14.39 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.088e-05/0.02268, allocations: 11.94 kB / 259.5 MB, free: 14.38 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.02268, allocations: 0 / 259.5 MB, free: 14.38 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002258/0.02291, allocations: 43.67 kB / 259.5 MB, free: 14.34 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002679/0.02317, allocations: 55.91 kB / 259.6 MB, free: 14.28 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002207/0.02538, allocations: 2.231 MB / 261.8 MB, free: 11.93 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001148/0.0255, allocations: 8 kB / 261.8 MB, free: 11.93 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.178e-05/0.02552, allocations: 12 kB / 261.8 MB, free: 11.91 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 0.0001979/0.02572, allocations: 184.5 kB / 262 MB, free: 11.72 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.089e-05/0.02578, allocations: 27.91 kB / 262 MB, free: 11.7 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.876e-05/0.02585, allocations: 30.84 kB / 262.1 MB, free: 11.67 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/0.02585, allocations: 4 kB / 262.1 MB, free: 11.66 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.323e-05/0.02586, allocations: 11.97 kB / 262.1 MB, free: 11.65 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.123e-06/0.02587, allocations: 3.984 kB / 262.1 MB, free: 11.65 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001282/0.02715, allocations: 0.7722 MB / 262.9 MB, free: 10.81 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.02715, allocations: 4 kB / 262.9 MB, free: 10.81 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000265/0.02742, allocations: 55.91 kB / 262.9 MB, free: 10.75 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001454/0.02757, allocations: 47.75 kB / 263 MB, free: 10.7 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.928e-05/0.02758, allocations: 4 kB / 263 MB, free: 10.7 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001721/0.02931, allocations: 1.881 MB / 264.8 MB, free: 8.691 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.169e-06/0.02931, allocations: 4 kB / 264.8 MB, free: 8.688 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008504/0.03016, allocations: 0.5415 MB / 265.4 MB, free: 8.109 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.549e-05/0.0302, allocations: 19.86 kB / 265.4 MB, free: 8.09 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.907e-05/0.03023, allocations: 8 kB / 265.4 MB, free: 8.082 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001303/0.03036, allocations: 8 kB / 265.4 MB, free: 8.074 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.472e-05/0.03043, allocations: 31.83 kB / 265.5 MB, free: 8.043 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.339e-05/0.03044, allocations: 4 kB / 265.5 MB, free: 8.039 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001472/0.03059, allocations: 171.4 kB / 265.6 MB, free: 7.871 MB / 250.7 MB Notification: Performance of sort global known variables: time 8e-08/0.03059, allocations: 0 / 265.6 MB, free: 7.871 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003878/0.03098, allocations: 68 kB / 265.7 MB, free: 7.805 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 0.0001618/0.03114, allocations: 115 kB / 265.8 MB, free: 7.68 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0007575/0.0319, allocations: 413.8 kB / 266.2 MB, free: 7.254 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.0319, allocations: 0 / 266.2 MB, free: 7.254 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004535/0.03235, allocations: 309.3 kB / 266.5 MB, free: 6.93 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004603/0.03281, allocations: 55.31 kB / 266.6 MB, free: 6.879 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001379/0.03419, allocations: 0.6501 MB / 267.2 MB, free: 6.184 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001751/0.03437, allocations: 146.6 kB / 267.4 MB, free: 6.023 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 8.818e-05/0.03446, allocations: 22.28 kB / 267.4 MB, free: 5.996 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.435e-05/0.03452, allocations: 20.5 kB / 267.4 MB, free: 5.977 MB / 250.7 MB Notification: Performance of SimCode: time 5.21e-07/0.03452, allocations: 0 / 267.4 MB, free: 5.977 MB / 250.7 MB Notification: Performance of Templates: time 0.008052/0.04257, allocations: 2.701 MB / 270.1 MB, free: 3.297 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First.sim & ./Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/First/First.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 4.460715673980303]