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.001032/0.001032, allocations: 75.75 kB / 21.97 MB, free: 2.602 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.001041/0.001041, allocations: 163.5 kB / 25.33 MB, free: 9.074 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 0.9434/0.9434, allocations: 158.6 MB / 187.2 MB, free: 2.895 MB / 170.7 MB " [Timeout remaining time 179] 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.713e-06/1.713e-06, allocations: 0 / 251 MB, free: 7.527 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.611e-05/1.782e-05, allocations: 2.312 kB / 251 MB, free: 7.523 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.First): time 0.002665/0.002683, allocations: 2.385 MB / 253.4 MB, free: 5.121 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001201/0.003884, allocations: 0.6164 MB / 254 MB, free: 4.496 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001153/0.004, allocations: 7.938 kB / 254 MB, free: 4.488 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001325/0.004132, allocations: 39.59 kB / 254.1 MB, free: 4.449 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001396/0.004272, allocations: 83.22 kB / 254.2 MB, free: 4.367 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001913/0.004463, allocations: 55.84 kB / 254.2 MB, free: 4.312 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002365/0.004699, allocations: 290.5 kB / 254.5 MB, free: 4.027 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001523/0.004852, allocations: 71.3 kB / 254.6 MB, free: 3.957 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001772/0.005029, allocations: 155.6 kB / 254.7 MB, free: 3.805 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001106/0.00514, allocations: 83.72 kB / 254.8 MB, free: 3.723 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.05e-05/0.00517, allocations: 24 kB / 254.8 MB, free: 3.699 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.609e-05/0.005196, allocations: 20 kB / 254.8 MB, free: 3.68 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 3.579e-05/0.005232, allocations: 55.75 kB / 254.9 MB, free: 3.625 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 6.151e-05/0.005293, allocations: 83.83 kB / 255 MB, free: 3.543 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002/0.005493, allocations: 179.3 kB / 255.1 MB, free: 3.367 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.445e-06/0.005496, allocations: 0 / 255.1 MB, free: 3.367 MB / 234.7 MB Notification: Performance of FrontEnd: time 7.71e-07/0.005497, allocations: 0 / 255.1 MB, free: 3.367 MB / 234.7 MB Notification: Performance of Transformations before backend: time 4.078e-06/0.005501, allocations: 4 kB / 255.2 MB, free: 3.363 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.0004893/0.00599, allocations: 0.5506 MB / 255.7 MB, free: 2.777 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.006027, allocations: 11.98 kB / 255.7 MB, free: 2.766 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.7e-05/0.006084, allocations: 44.75 kB / 255.8 MB, free: 2.723 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001903/0.006275, allocations: 181 kB / 255.9 MB, free: 2.52 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.703e-05/0.006292, allocations: 16.88 kB / 256 MB, free: 2.5 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.018e-05/0.006332, allocations: 24.38 kB / 256 MB, free: 2.477 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002079/0.00654, allocations: 165.4 kB / 256.1 MB, free: 2.305 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.387e-05/0.006554, allocations: 8.141 kB / 256.1 MB, free: 2.297 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.528e-05/0.006569, allocations: 4.375 kB / 256.1 MB, free: 2.293 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.338e-06/0.006578, allocations: 11.88 kB / 256.2 MB, free: 2.281 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001192/0.006698, allocations: 86.92 kB / 256.2 MB, free: 2.199 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000575/0.007273, allocations: 0.5404 MB / 256.8 MB, free: 1.617 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001807/0.007453, allocations: 146.7 kB / 256.9 MB, free: 1.465 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.181e-05/0.007535, allocations: 67.66 kB / 257 MB, free: 1.395 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.672e-05/0.007552, allocations: 4 kB / 257 MB, free: 1.391 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.075e-05/0.007572, allocations: 37.39 kB / 257 MB, free: 1.344 MB / 234.7 MB Notification: Performance of pre-optimization done (n=24): time 1.183e-06/0.007574, allocations: 0 / 257 MB, free: 1.344 MB / 234.7 MB Notification: Performance of matching and sorting (n=32): time 0.001025/0.008599, allocations: 0.7864 MB / 257.8 MB, free: 0.4961 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.566e-05/0.008625, allocations: 55.41 kB / 257.9 MB, free: 440 kB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001093/0.008734, allocations: 226.1 kB / 258.1 MB, free: 196 kB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.452e-05/0.008748, allocations: 33.7 kB / 258.1 MB, free: 156 kB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.493e-05/0.008833, allocations: 191.6 kB / 258.3 MB, free: 15.95 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.717e-05/0.00889, allocations: 122.9 kB / 258.4 MB, free: 15.84 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.112e-05/0.008952, allocations: 59.36 kB / 258.5 MB, free: 15.77 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001156/0.009067, allocations: 0.5039 MB / 259 MB, free: 15.25 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.952e-05/0.009127, allocations: 39.91 kB / 259 MB, free: 15.21 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.175e-05/0.009208, allocations: 79.06 kB / 259.1 MB, free: 15.12 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001576/0.009366, allocations: 148.6 kB / 259.3 MB, free: 14.97 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.009367, allocations: 0 / 259.3 MB, free: 14.97 MB / 250.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0002554/0.009623, allocations: 245.1 kB / 259.5 MB, free: 14.72 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.009636, allocations: 11.94 kB / 259.5 MB, free: 14.71 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.009641, allocations: 0 / 259.5 MB, free: 14.71 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001292/0.009771, allocations: 39.66 kB / 259.6 MB, free: 14.66 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001493/0.00992, allocations: 59.91 kB / 259.6 MB, free: 14.61 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001378/0.0113, allocations: 2.114 MB / 261.7 MB, free: 12.38 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.375e-05/0.01136, allocations: 11.98 kB / 261.7 MB, free: 12.36 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.879e-06/0.01137, allocations: 4 kB / 261.7 MB, free: 12.36 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.556e-05/0.01146, allocations: 172.5 kB / 261.9 MB, free: 12.18 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.43e-05/0.01149, allocations: 27.91 kB / 261.9 MB, free: 12.15 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.467e-05/0.01152, allocations: 26.66 kB / 262 MB, free: 12.13 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.01152, allocations: 8.031 kB / 262 MB, free: 12.12 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.01153, allocations: 7.922 kB / 262 MB, free: 12.11 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.01153, allocations: 0 / 262 MB, free: 12.11 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005862/0.01211, allocations: 0.6746 MB / 262.7 MB, free: 11.38 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.01212, allocations: 0 / 262.7 MB, free: 11.38 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001437/0.01226, allocations: 63.91 kB / 262.7 MB, free: 11.31 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.43e-05/0.01233, allocations: 35.75 kB / 262.7 MB, free: 11.27 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.305e-05/0.01235, allocations: 4 kB / 262.8 MB, free: 11.27 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007346/0.01308, allocations: 1.807 MB / 264.6 MB, free: 9.336 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.01308, allocations: 0 / 264.6 MB, free: 9.336 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000377/0.01346, allocations: 458.5 kB / 265 MB, free: 8.852 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.664e-05/0.01348, allocations: 15.86 kB / 265 MB, free: 8.836 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.561e-05/0.01349, allocations: 12 kB / 265 MB, free: 8.824 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.522e-05/0.01356, allocations: 11.98 kB / 265 MB, free: 8.812 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.554e-05/0.0136, allocations: 27.84 kB / 265.1 MB, free: 8.785 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.122e-05/0.01361, allocations: 15.98 kB / 265.1 MB, free: 8.77 MB / 250.7 MB Notification: Performance of sorting global known variables: time 6.569e-05/0.01368, allocations: 155.2 kB / 265.2 MB, free: 8.617 MB / 250.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01368, allocations: 0 / 265.2 MB, free: 8.617 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002317/0.01391, allocations: 64 kB / 265.3 MB, free: 8.555 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 7.817e-05/0.01399, allocations: 107.2 kB / 265.4 MB, free: 8.438 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0003642/0.01435, allocations: 349.5 kB / 265.7 MB, free: 8.074 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.01436, allocations: 0 / 265.7 MB, free: 8.074 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001823/0.01454, allocations: 277.3 kB / 266 MB, free: 7.781 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002617/0.0148, allocations: 39.16 kB / 266.1 MB, free: 7.746 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001026/0.01583, allocations: 0.6425 MB / 266.7 MB, free: 7.059 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.51e-05/0.0159, allocations: 92.69 kB / 266.8 MB, free: 6.949 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 5.788e-05/0.01596, allocations: 18.3 kB / 266.8 MB, free: 6.934 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.461e-05/0.016, allocations: 24.5 kB / 266.8 MB, free: 6.91 MB / 250.7 MB Notification: Performance of SimCode: time 9.81e-07/0.01601, allocations: 0 / 266.8 MB, free: 6.91 MB / 250.7 MB Notification: Performance of Templates: time 0.004631/0.02064, allocations: 2.709 MB / 269.5 MB, free: 4.227 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","",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.715318163856864]