Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001965/0.001965, allocations: 81.06 kB / 20.68 MB, free: 1.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002344/0.002344, allocations: 151.7 kB / 23.94 MB, free: 4.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.447/1.447, allocations: 173.3 MB / 200.4 MB, free: 12.89 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Subtracter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|vOut.v",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Subtracter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|vOut.v",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.764e-06/1.764e-06, allocations: 0 / 319 MB, free: 3.559 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.762e-05/2.939e-05, allocations: 2.281 kB / 319 MB, free: 3.555 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Subtracter): time 0.003867/0.003897, allocations: 3.098 MB / 322.1 MB, free: 1.465 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001416/0.005313, allocations: 0.7684 MB / 322.8 MB, free: 0.9219 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001818/0.005495, allocations: 5.844 kB / 322.8 MB, free: 0.9219 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001935/0.005688, allocations: 67.66 kB / 322.9 MB, free: 0.8828 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002184/0.005907, allocations: 135.4 kB / 323 MB, free: 0.7812 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003341/0.006241, allocations: 142.2 kB / 323.2 MB, free: 0.6914 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004418/0.006683, allocations: 0.5082 MB / 323.7 MB, free: 424 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002446/0.006927, allocations: 116.6 kB / 323.8 MB, free: 360 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003754/0.007303, allocations: 282.7 kB / 324.1 MB, free: 228 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002262/0.007529, allocations: 148.4 kB / 324.2 MB, free: 172 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 8.553e-05/0.007614, allocations: 48.53 kB / 324.3 MB, free: 172 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.342e-05/0.007698, allocations: 53.22 kB / 324.3 MB, free: 168 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.279e-05/0.00778, allocations: 105.4 kB / 324.4 MB, free: 88 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001601/0.007941, allocations: 155.4 kB / 324.6 MB, free: 12 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007327/0.008673, allocations: 0.574 MB / 325.1 MB, free: 15.79 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.008678, allocations: 0 / 325.1 MB, free: 15.79 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.008679, allocations: 1.312 kB / 325.1 MB, free: 15.79 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.346e-05/0.008693, allocations: 0 / 325.1 MB, free: 15.79 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 87 * Number of variables: 87 Notification: Performance of Generate backend data structure: time 0.001288/0.009981, allocations: 0.6271 MB / 325.8 MB, free: 15.34 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/0.01002, allocations: 10.52 kB / 325.8 MB, free: 15.34 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.843e-05/0.01012, allocations: 49.27 kB / 325.8 MB, free: 15.31 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004844/0.0106, allocations: 268.7 kB / 326.1 MB, free: 15.08 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.599e-05/0.01063, allocations: 27.69 kB / 326.1 MB, free: 15.07 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.272e-05/0.01068, allocations: 30.38 kB / 326.1 MB, free: 15.06 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008461/0.01153, allocations: 495.7 kB / 326.6 MB, free: 14.75 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.561e-05/0.01154, allocations: 3.938 kB / 326.6 MB, free: 14.75 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.06e-05/0.01158, allocations: 15.28 kB / 326.7 MB, free: 14.73 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.112e-05/0.01159, allocations: 9.031 kB / 326.7 MB, free: 14.73 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006601/0.01225, allocations: 297.8 kB / 327 MB, free: 14.63 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002294/0.01455, allocations: 1.234 MB / 328.2 MB, free: 13.79 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006691/0.01522, allocations: 226.4 kB / 328.4 MB, free: 13.7 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002233/0.01544, allocations: 89.11 kB / 328.5 MB, free: 13.66 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.067e-05/0.01546, allocations: 2.281 kB / 328.5 MB, free: 13.66 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.342e-05/0.0155, allocations: 33.14 kB / 328.5 MB, free: 13.62 MB / 302.1 MB Notification: Performance of pre-optimization done (n=16): time 1.392e-06/0.0155, allocations: 0 / 328.5 MB, free: 13.62 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.002316/0.01782, allocations: 0.61 MB / 329.1 MB, free: 13.45 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.797e-05/0.01787, allocations: 53.59 kB / 329.2 MB, free: 13.38 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003394/0.01821, allocations: 277.7 kB / 329.5 MB, free: 13.21 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.76e-05/0.01825, allocations: 36.08 kB / 329.5 MB, free: 13.18 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001657/0.01841, allocations: 227.5 kB / 329.7 MB, free: 12.99 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.251e-05/0.01847, allocations: 63.47 kB / 329.8 MB, free: 12.94 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.058e-05/0.01856, allocations: 50.2 kB / 329.8 MB, free: 12.9 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001692/0.01873, allocations: 340.4 kB / 330.2 MB, free: 12.57 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002641/0.019, allocations: 85.44 kB / 330.2 MB, free: 12.55 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002937/0.01929, allocations: 163.5 kB / 330.4 MB, free: 12.42 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004904/0.01978, allocations: 251.6 kB / 330.7 MB, free: 12.26 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.01978, allocations: 1 kB / 330.7 MB, free: 12.26 MB / 302.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001051/0.02084, allocations: 423.6 kB / 331.1 MB, free: 12.09 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.02085, allocations: 5.156 kB / 331.1 MB, free: 12.09 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.02086, allocations: 2.375 kB / 331.1 MB, free: 12.09 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004705/0.02133, allocations: 117.2 kB / 331.2 MB, free: 12.05 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001655/0.02149, allocations: 46.88 kB / 331.2 MB, free: 12.04 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004605/0.0261, allocations: 3.285 MB / 334.5 MB, free: 9.18 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002725/0.02637, allocations: 36.56 kB / 334.6 MB, free: 9.156 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.314e-05/0.02641, allocations: 16.92 kB / 334.6 MB, free: 9.148 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (23): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0002244/0.02663, allocations: 159 kB / 334.7 MB, free: 9.004 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.998e-05/0.02669, allocations: 23.45 kB / 334.7 MB, free: 8.992 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.414e-05/0.02674, allocations: 27.89 kB / 334.8 MB, free: 8.977 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.02675, allocations: 3.375 kB / 334.8 MB, free: 8.977 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.02675, allocations: 0 / 334.8 MB, free: 8.977 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.02676, allocations: 0 / 334.8 MB, free: 8.977 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003647/0.02712, allocations: 255.5 kB / 335 MB, free: 8.758 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.02712, allocations: 0 / 335 MB, free: 8.758 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.527e-05/0.02721, allocations: 19.7 kB / 335 MB, free: 8.75 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003684/0.02758, allocations: 107.7 kB / 335.2 MB, free: 8.695 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.36e-05/0.02759, allocations: 5.656 kB / 335.2 MB, free: 8.691 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003905/0.0315, allocations: 3.195 MB / 338.4 MB, free: 5.727 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.0315, allocations: 64 / 338.4 MB, free: 5.727 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009775/0.03248, allocations: 439.4 kB / 338.8 MB, free: 5.438 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.743e-05/0.03253, allocations: 30.67 kB / 338.8 MB, free: 5.414 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.912e-05/0.03256, allocations: 1.375 kB / 338.8 MB, free: 5.414 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002343/0.0328, allocations: 24.14 kB / 338.8 MB, free: 5.406 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.343e-05/0.03286, allocations: 17.12 kB / 338.9 MB, free: 5.395 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.611e-05/0.03288, allocations: 7.844 kB / 338.9 MB, free: 5.391 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002331/0.03311, allocations: 196.8 kB / 339.1 MB, free: 5.262 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.03311, allocations: 3.938 kB / 339.1 MB, free: 5.258 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005751/0.03368, allocations: 102.8 kB / 339.2 MB, free: 5.234 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000129/0.03381, allocations: 99.53 kB / 339.3 MB, free: 5.145 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001174/0.03499, allocations: 0.5122 MB / 339.8 MB, free: 4.781 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.03499, allocations: 1.25 kB / 339.8 MB, free: 4.781 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004583/0.03545, allocations: 336.5 kB / 340.1 MB, free: 4.492 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000435/0.03588, allocations: 41.53 kB / 340.1 MB, free: 4.469 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001182/0.03707, allocations: 0.5472 MB / 340.7 MB, free: 4.09 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001777/0.03724, allocations: 178.7 kB / 340.9 MB, free: 3.961 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.88e-05/0.03733, allocations: 25.12 kB / 340.9 MB, free: 3.945 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.922e-05/0.03738, allocations: 19.38 kB / 340.9 MB, free: 3.934 MB / 302.1 MB Notification: Performance of SimCode: time 3.71e-07/0.03738, allocations: 4 kB / 340.9 MB, free: 3.93 MB / 302.1 MB Notification: Performance of Templates: time 0.008679/0.04606, allocations: 3.576 MB / 344.5 MB, free: 1.293 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/Subtracter/Subtracter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.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.52312034368515]