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.001324/0.001324, allocations: 108.6 kB / 21.19 MB, free: 0.7578 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.001452/0.001452, allocations: 193.1 kB / 24.47 MB, free: 4.152 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.466/1.466, allocations: 225.6 MB / 253.3 MB, free: 13.02 MB / 206.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 0.001537/0.001537, allocations: 47.92 kB / 371.7 MB, free: 9.328 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2433/0.2449, allocations: 52.18 MB / 423.9 MB, free: 14.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Subtracter): time 0.004973/0.2498, allocations: 3.395 MB / 427.3 MB, free: 11.27 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001555/0.2514, allocations: 0.822 MB / 428.1 MB, free: 10.44 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001692/0.2516, allocations: 4 kB / 428.1 MB, free: 10.44 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002164/0.2518, allocations: 71.3 kB / 428.2 MB, free: 10.37 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002515/0.252, allocations: 123 kB / 428.3 MB, free: 10.25 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003194/0.2523, allocations: 135.8 kB / 428.5 MB, free: 10.11 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005455/0.2529, allocations: 0.4941 MB / 428.9 MB, free: 9.617 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002503/0.2531, allocations: 121.4 kB / 429.1 MB, free: 9.496 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002665/0.2534, allocations: 195.2 kB / 429.3 MB, free: 9.305 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002645/0.2537, allocations: 199.2 kB / 429.4 MB, free: 9.109 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.18e-05/0.2538, allocations: 55.98 kB / 429.5 MB, free: 9.055 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.363e-05/0.2538, allocations: 48 kB / 429.6 MB, free: 9.008 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.073e-05/0.2539, allocations: 91.69 kB / 429.6 MB, free: 8.918 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002143/0.2541, allocations: 222.9 kB / 429.9 MB, free: 8.699 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006151/0.2548, allocations: 0.5616 MB / 430.4 MB, free: 8.141 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.2548, allocations: 8 kB / 430.4 MB, free: 8.133 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.2548, allocations: 0 / 430.4 MB, free: 8.133 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.975e-06/0.2548, allocations: 0 / 430.4 MB, free: 8.133 MB / 334.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.001204/0.256, allocations: 0.6262 MB / 431.1 MB, free: 7.477 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.256, allocations: 8.031 kB / 431.1 MB, free: 7.469 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.381e-05/0.2561, allocations: 44.66 kB / 431.1 MB, free: 7.426 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005201/0.2566, allocations: 274.7 kB / 431.4 MB, free: 7.129 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.474e-05/0.2567, allocations: 25.38 kB / 431.4 MB, free: 7.102 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.86e-05/0.2567, allocations: 40.12 kB / 431.4 MB, free: 7.062 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007328/0.2575, allocations: 394.1 kB / 431.8 MB, free: 6.664 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/0.2575, allocations: 0 / 431.8 MB, free: 6.664 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.769e-05/0.2575, allocations: 16 kB / 431.8 MB, free: 6.648 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.058e-05/0.2575, allocations: 8 kB / 431.8 MB, free: 6.641 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006857/0.2582, allocations: 307.8 kB / 432.1 MB, free: 6.34 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002376/0.2606, allocations: 1.392 MB / 433.5 MB, free: 4.859 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006433/0.2612, allocations: 218.8 kB / 433.8 MB, free: 4.637 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002315/0.2614, allocations: 92.8 kB / 433.8 MB, free: 4.543 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.985e-05/0.2615, allocations: 0 / 433.8 MB, free: 4.543 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.99e-05/0.2615, allocations: 42.5 kB / 433.9 MB, free: 4.492 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.142e-06/0.2615, allocations: 0 / 433.9 MB, free: 4.492 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.002248/0.2637, allocations: 0.6039 MB / 434.5 MB, free: 3.879 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.024e-05/0.2638, allocations: 55.41 kB / 434.5 MB, free: 3.812 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003838/0.2642, allocations: 316.5 kB / 434.9 MB, free: 3.504 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.498e-05/0.2642, allocations: 25.7 kB / 434.9 MB, free: 3.473 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001718/0.2644, allocations: 232.2 kB / 435.1 MB, free: 3.242 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.71e-05/0.2644, allocations: 63.47 kB / 435.2 MB, free: 3.18 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.508e-05/0.2645, allocations: 53.66 kB / 435.2 MB, free: 3.121 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001559/0.2647, allocations: 338.8 kB / 435.5 MB, free: 2.781 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002307/0.2649, allocations: 83.95 kB / 435.6 MB, free: 2.699 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002749/0.2652, allocations: 165.3 kB / 435.8 MB, free: 2.504 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005076/0.2657, allocations: 248.2 kB / 436 MB, free: 2.23 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.716e-06/0.2657, allocations: 0 / 436 MB, free: 2.23 MB / 334.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001056/0.2667, allocations: 426.9 kB / 436.5 MB, free: 1.801 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.2668, allocations: 10.56 kB / 436.5 MB, free: 1.793 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.824e-06/0.2668, allocations: 4 kB / 436.5 MB, free: 1.789 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004697/0.2672, allocations: 109.6 kB / 436.6 MB, free: 1.676 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001717/0.2674, allocations: 47.91 kB / 436.6 MB, free: 1.629 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004419/0.2718, allocations: 3.354 MB / 440 MB, free: 14.04 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002849/0.2721, allocations: 35.77 kB / 440 MB, free: 14.01 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.441e-05/0.2721, allocations: 15.98 kB / 440 MB, free: 13.99 MB / 350.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.0002069/0.2723, allocations: 161.7 kB / 440.2 MB, free: 13.82 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.959e-05/0.2724, allocations: 35.81 kB / 440.2 MB, free: 13.79 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.843e-05/0.2725, allocations: 30.23 kB / 440.2 MB, free: 13.75 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.2725, allocations: 0 / 440.2 MB, free: 13.75 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.2725, allocations: 4 kB / 440.3 MB, free: 13.75 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.2725, allocations: 0 / 440.3 MB, free: 13.75 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004336/0.2729, allocations: 336.4 kB / 440.6 MB, free: 13.38 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.2729, allocations: 0 / 440.6 MB, free: 13.38 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.992e-05/0.273, allocations: 15.98 kB / 440.6 MB, free: 13.36 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004134/0.2734, allocations: 121.6 kB / 440.7 MB, free: 13.24 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.571e-05/0.2734, allocations: 8 kB / 440.7 MB, free: 13.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003889/0.2773, allocations: 3.252 MB / 444 MB, free: 9.758 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.2773, allocations: 4.172 kB / 444 MB, free: 9.754 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009567/0.2783, allocations: 440.6 kB / 444.4 MB, free: 9.301 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.819e-05/0.2783, allocations: 27.84 kB / 444.4 MB, free: 9.273 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.665e-05/0.2784, allocations: 8 kB / 444.4 MB, free: 9.266 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002325/0.2786, allocations: 27.98 kB / 444.5 MB, free: 9.238 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.731e-05/0.2787, allocations: 11.97 kB / 444.5 MB, free: 9.227 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.417e-05/0.2787, allocations: 4 kB / 444.5 MB, free: 9.223 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002687/0.2789, allocations: 227.1 kB / 444.7 MB, free: 9 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2789, allocations: 0 / 444.7 MB, free: 9 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000524/0.2795, allocations: 103.8 kB / 444.8 MB, free: 8.898 MB / 350.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.0001394/0.2796, allocations: 99.25 kB / 444.9 MB, free: 8.789 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001163/0.2808, allocations: 0.5049 MB / 445.4 MB, free: 8.258 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.2808, allocations: 0 / 445.4 MB, free: 8.258 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004968/0.2813, allocations: 341.7 kB / 445.7 MB, free: 7.898 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004334/0.2817, allocations: 43.5 kB / 445.8 MB, free: 7.859 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001351/0.2831, allocations: 0.6147 MB / 446.4 MB, free: 7.215 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004247/0.2835, allocations: 0.7756 MB / 447.2 MB, free: 6.41 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.167e-05/0.2835, allocations: 27.42 kB / 447.2 MB, free: 6.383 MB / 350.1 MB Notification: Performance of SimCode: time 4.71e-07/0.2835, allocations: 0 / 447.2 MB, free: 6.383 MB / 350.1 MB Notification: Performance of Templates: time 0.009661/0.2932, allocations: 6.753 MB / 454 MB, free: 15.63 MB / 366.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/Subtracter/Subtracter.csv","/var/lib/jenkins1/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: 7.926051651826128]