Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.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.001359/0.001359, allocations: 107.6 kB / 21.19 MB, free: 0.6484 MB / 14.72 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.001512/0.001512, allocations: 214.1 kB / 24.48 MB, free: 3.957 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.466/1.466, allocations: 230.6 MB / 258.2 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Electrical.Analog.Examples.OpAmps.Subtracter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|vOut.v",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001529/0.001529, allocations: 47.91 kB / 379 MB, free: 2.543 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2458/0.2473, allocations: 53.37 MB / 432.4 MB, free: 6.719 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Subtracter): time 0.004535/0.2518, allocations: 3.12 MB / 435.5 MB, free: 3.582 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001565/0.2534, allocations: 0.826 MB / 436.3 MB, free: 2.754 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001837/0.2536, allocations: 11.88 kB / 436.3 MB, free: 2.742 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001924/0.2538, allocations: 67.36 kB / 436.4 MB, free: 2.676 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002399/0.254, allocations: 126.9 kB / 436.5 MB, free: 2.551 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003579/0.2544, allocations: 151.8 kB / 436.7 MB, free: 2.402 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005497/0.2549, allocations: 0.4902 MB / 437.2 MB, free: 1.91 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002521/0.2552, allocations: 129.4 kB / 437.3 MB, free: 1.781 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003032/0.2555, allocations: 195.3 kB / 437.5 MB, free: 1.59 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002609/0.2557, allocations: 199.1 kB / 437.7 MB, free: 1.395 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.542e-05/0.2558, allocations: 56 kB / 437.7 MB, free: 1.34 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.486e-05/0.2559, allocations: 48 kB / 437.8 MB, free: 1.293 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.961e-05/0.256, allocations: 103.7 kB / 437.9 MB, free: 1.191 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001797/0.2562, allocations: 183.2 kB / 438 MB, free: 1.012 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000603/0.2568, allocations: 0.5698 MB / 438.6 MB, free: 456 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.2568, allocations: 0 / 438.6 MB, free: 456 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.133e-06/0.2568, allocations: 0 / 438.6 MB, free: 456 kB / 334.1 MB Notification: Performance of Transformations before backend: time 7.614e-06/0.2568, allocations: 3.938 kB / 438.6 MB, free: 452 kB / 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.001136/0.2579, allocations: 0.6417 MB / 439.3 MB, free: 15.77 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.297e-05/0.258, allocations: 8.031 kB / 439.3 MB, free: 15.76 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001891/0.2581, allocations: 48.7 kB / 439.3 MB, free: 15.71 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004917/0.2586, allocations: 274.7 kB / 439.6 MB, free: 15.42 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.852e-05/0.2587, allocations: 29.38 kB / 439.6 MB, free: 15.39 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.477e-05/0.2587, allocations: 36.12 kB / 439.6 MB, free: 15.35 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007778/0.2595, allocations: 489 kB / 440.1 MB, free: 14.84 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.456e-05/0.2595, allocations: 0 / 440.1 MB, free: 14.84 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.838e-05/0.2595, allocations: 12 kB / 440.1 MB, free: 14.83 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.325e-05/0.2596, allocations: 8 kB / 440.1 MB, free: 14.82 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006428/0.2602, allocations: 307.8 kB / 440.4 MB, free: 14.52 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002164/0.2624, allocations: 1.233 MB / 441.7 MB, free: 13.21 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006373/0.263, allocations: 226.7 kB / 441.9 MB, free: 12.98 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002148/0.2632, allocations: 88.81 kB / 442 MB, free: 12.89 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.091e-05/0.2632, allocations: 4 kB / 442 MB, free: 12.89 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.575e-05/0.2633, allocations: 34.5 kB / 442 MB, free: 12.84 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.503e-06/0.2633, allocations: 0 / 442 MB, free: 12.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.002164/0.2654, allocations: 0.6029 MB / 442.6 MB, free: 12.23 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.994e-05/0.2655, allocations: 51.41 kB / 442.7 MB, free: 12.17 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003317/0.2658, allocations: 289.8 kB / 443 MB, free: 11.88 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.675e-05/0.2658, allocations: 33.7 kB / 443 MB, free: 11.84 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001605/0.266, allocations: 236.1 kB / 443.2 MB, free: 11.61 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.553e-05/0.266, allocations: 55.53 kB / 443.3 MB, free: 11.55 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.371e-05/0.2661, allocations: 57.66 kB / 443.3 MB, free: 11.49 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001467/0.2663, allocations: 334.8 kB / 443.7 MB, free: 11.15 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002282/0.2665, allocations: 83.95 kB / 443.7 MB, free: 11.07 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000269/0.2668, allocations: 161.3 kB / 443.9 MB, free: 10.88 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004641/0.2672, allocations: 253.2 kB / 444.1 MB, free: 10.6 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.529e-06/0.2672, allocations: 4 kB / 444.2 MB, free: 10.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001013/0.2683, allocations: 413.7 kB / 444.6 MB, free: 10.18 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.2683, allocations: 12.05 kB / 444.6 MB, free: 10.17 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.305e-06/0.2683, allocations: 4 kB / 444.6 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004616/0.2687, allocations: 117.6 kB / 444.7 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001663/0.2689, allocations: 35.98 kB / 444.7 MB, free: 10.01 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004188/0.2731, allocations: 3.304 MB / 448 MB, free: 6.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002383/0.2733, allocations: 35.84 kB / 448.1 MB, free: 6.465 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.408e-05/0.2734, allocations: 12 kB / 448.1 MB, free: 6.453 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.0001912/0.2735, allocations: 160 kB / 448.2 MB, free: 6.289 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.553e-05/0.2736, allocations: 23.86 kB / 448.3 MB, free: 6.266 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.025e-05/0.2737, allocations: 22.12 kB / 448.3 MB, free: 6.246 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/0.2737, allocations: 7.984 kB / 448.3 MB, free: 6.238 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/0.2737, allocations: 4.062 kB / 448.3 MB, free: 6.234 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.2737, allocations: 0 / 448.3 MB, free: 6.234 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003456/0.274, allocations: 261.1 kB / 448.5 MB, free: 5.949 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.274, allocations: 0 / 448.5 MB, free: 5.949 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.707e-05/0.2741, allocations: 11.98 kB / 448.6 MB, free: 5.938 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003875/0.2745, allocations: 113.7 kB / 448.7 MB, free: 5.82 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.225e-05/0.2745, allocations: 4 kB / 448.7 MB, free: 5.816 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003635/0.2781, allocations: 3.195 MB / 451.9 MB, free: 2.418 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.07e-06/0.2781, allocations: 3.938 kB / 451.9 MB, free: 2.414 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009302/0.2791, allocations: 428.8 kB / 452.3 MB, free: 1.973 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.192e-05/0.2791, allocations: 31.88 kB / 452.3 MB, free: 1.941 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.533e-05/0.2792, allocations: 11.98 kB / 452.3 MB, free: 1.93 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002261/0.2794, allocations: 19.98 kB / 452.3 MB, free: 1.91 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.872e-05/0.2795, allocations: 19.91 kB / 452.4 MB, free: 1.891 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.464e-05/0.2795, allocations: 8 kB / 452.4 MB, free: 1.883 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002168/0.2797, allocations: 197.2 kB / 452.6 MB, free: 1.688 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2797, allocations: 0 / 452.6 MB, free: 1.688 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005361/0.2802, allocations: 103.8 kB / 452.7 MB, free: 1.586 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.0001203/0.2803, allocations: 99.25 kB / 452.8 MB, free: 1.48 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001163/0.2815, allocations: 0.5128 MB / 453.3 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.2815, allocations: 0 / 453.3 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004592/0.282, allocations: 336.4 kB / 453.6 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000401/0.2824, allocations: 44.92 kB / 453.6 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001186/0.2836, allocations: 0.5888 MB / 454.2 MB, free: 15.92 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000173/0.2837, allocations: 172.8 kB / 454.4 MB, free: 15.73 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.953e-05/0.2838, allocations: 19.44 kB / 454.4 MB, free: 15.71 MB / 366.1 MB Notification: Performance of SimCode: time 7.61e-07/0.2838, allocations: 4 kB / 454.4 MB, free: 15.71 MB / 366.1 MB Notification: Performance of Templates: time 0.009359/0.2932, allocations: 6.747 MB / 461.2 MB, free: 8.969 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/Subtracter/Subtracter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.595361510000657]