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.001351/0.001351, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.001521/0.001521, allocations: 215.6 kB / 24.48 MB, free: 3.84 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.448/1.448, allocations: 230.6 MB / 258.2 MB, free: 7.809 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.001629/0.001629, allocations: 47.92 kB / 379 MB, free: 2.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2431/0.2447, allocations: 53.37 MB / 432.4 MB, free: 6.707 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Subtracter): time 0.004853/0.2496, allocations: 3.12 MB / 435.5 MB, free: 3.57 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001603/0.2512, allocations: 0.8299 MB / 436.3 MB, free: 2.738 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001816/0.2513, allocations: 4 kB / 436.3 MB, free: 2.734 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002049/0.2515, allocations: 67.3 kB / 436.4 MB, free: 2.668 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002662/0.2518, allocations: 127 kB / 436.5 MB, free: 2.543 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003885/0.2522, allocations: 151.8 kB / 436.7 MB, free: 2.395 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005432/0.2527, allocations: 0.4902 MB / 437.1 MB, free: 1.902 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000264/0.253, allocations: 121 kB / 437.3 MB, free: 1.785 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003154/0.2533, allocations: 199.3 kB / 437.5 MB, free: 1.59 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002506/0.2536, allocations: 171.1 kB / 437.6 MB, free: 1.422 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.07e-05/0.2536, allocations: 52 kB / 437.7 MB, free: 1.371 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001171/0.2538, allocations: 52 kB / 437.7 MB, free: 1.32 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.807e-05/0.2539, allocations: 99.62 kB / 437.8 MB, free: 1.223 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000192/0.254, allocations: 183.2 kB / 438 MB, free: 1.043 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006477/0.2547, allocations: 0.5672 MB / 438.6 MB, free: 488 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.2547, allocations: 0 / 438.6 MB, free: 488 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.2547, allocations: 4 kB / 438.6 MB, free: 484 kB / 334.1 MB Notification: Performance of Transformations before backend: time 1.179e-05/0.2547, allocations: 0 / 438.6 MB, free: 484 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.001235/0.2559, allocations: 0.6417 MB / 439.2 MB, free: 15.8 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.256, allocations: 12.02 kB / 439.2 MB, free: 15.79 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001923/0.2562, allocations: 52.66 kB / 439.3 MB, free: 15.74 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004913/0.2567, allocations: 266.7 kB / 439.5 MB, free: 15.45 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.617e-05/0.2567, allocations: 29.38 kB / 439.6 MB, free: 15.42 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.317e-05/0.2568, allocations: 36.11 kB / 439.6 MB, free: 15.38 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007696/0.2575, allocations: 497 kB / 440.1 MB, free: 14.86 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/0.2575, allocations: 0 / 440.1 MB, free: 14.86 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.573e-05/0.2576, allocations: 16 kB / 440.1 MB, free: 14.84 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.261e-05/0.2576, allocations: 8 kB / 440.1 MB, free: 14.84 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00065/0.2582, allocations: 295.8 kB / 440.4 MB, free: 14.55 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002212/0.2605, allocations: 1.241 MB / 441.6 MB, free: 13.23 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006392/0.2611, allocations: 222.7 kB / 441.9 MB, free: 13 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002231/0.2613, allocations: 92.81 kB / 442 MB, free: 12.91 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.955e-05/0.2613, allocations: 7.938 kB / 442 MB, free: 12.9 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.875e-05/0.2614, allocations: 30.56 kB / 442 MB, free: 12.86 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.573e-06/0.2614, allocations: 4 kB / 442 MB, free: 12.86 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.002212/0.2636, allocations: 0.6067 MB / 442.6 MB, free: 12.24 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.23e-05/0.2636, allocations: 51.41 kB / 442.7 MB, free: 12.18 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003381/0.264, allocations: 285.8 kB / 442.9 MB, free: 11.89 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.71e-05/0.264, allocations: 29.7 kB / 443 MB, free: 11.86 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001688/0.2642, allocations: 232.1 kB / 443.2 MB, free: 11.63 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.214e-05/0.2642, allocations: 59.52 kB / 443.2 MB, free: 11.57 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.382e-05/0.2643, allocations: 57.66 kB / 443.3 MB, free: 11.51 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001598/0.2645, allocations: 338.8 kB / 443.6 MB, free: 11.17 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000218/0.2647, allocations: 83.95 kB / 443.7 MB, free: 11.09 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000273/0.265, allocations: 161.4 kB / 443.9 MB, free: 10.89 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004737/0.2654, allocations: 245.2 kB / 444.1 MB, free: 10.62 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.2654, allocations: 0 / 444.1 MB, free: 10.62 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001031/0.2665, allocations: 421.7 kB / 444.5 MB, free: 10.2 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.906e-05/0.2665, allocations: 7.984 kB / 444.5 MB, free: 10.19 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/0.2665, allocations: 4 kB / 444.5 MB, free: 10.19 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004837/0.267, allocations: 117.6 kB / 444.6 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001657/0.2671, allocations: 39.98 kB / 444.7 MB, free: 10.03 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004372/0.2715, allocations: 3.292 MB / 448 MB, free: 6.531 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002546/0.2718, allocations: 39.77 kB / 448 MB, free: 6.492 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.198e-05/0.2718, allocations: 12.19 kB / 448 MB, free: 6.48 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.0002143/0.272, allocations: 153.8 kB / 448.2 MB, free: 6.32 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.374e-05/0.2721, allocations: 27.86 kB / 448.2 MB, free: 6.293 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.163e-05/0.2721, allocations: 26.19 kB / 448.2 MB, free: 6.27 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.61e-06/0.2721, allocations: 7.984 kB / 448.2 MB, free: 6.262 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.2721, allocations: 3.938 kB / 448.2 MB, free: 6.258 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.2721, allocations: 3.938 kB / 448.2 MB, free: 6.254 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003409/0.2725, allocations: 253.1 kB / 448.5 MB, free: 5.977 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.2725, allocations: 0 / 448.5 MB, free: 5.977 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.825e-05/0.2725, allocations: 11.98 kB / 448.5 MB, free: 5.965 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003732/0.2729, allocations: 117.6 kB / 448.6 MB, free: 5.844 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.218e-05/0.2729, allocations: 3.938 kB / 448.6 MB, free: 5.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003732/0.2767, allocations: 3.199 MB / 451.8 MB, free: 2.438 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.17e-06/0.2767, allocations: 3.938 kB / 451.8 MB, free: 2.434 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009428/0.2776, allocations: 424.8 kB / 452.2 MB, free: 1.996 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.603e-05/0.2777, allocations: 27.8 kB / 452.3 MB, free: 1.969 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.231e-05/0.2777, allocations: 8 kB / 452.3 MB, free: 1.961 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002193/0.2779, allocations: 23.98 kB / 452.3 MB, free: 1.938 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.918e-05/0.278, allocations: 23.84 kB / 452.3 MB, free: 1.914 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.407e-05/0.278, allocations: 4 kB / 452.3 MB, free: 1.91 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002193/0.2782, allocations: 201.2 kB / 452.5 MB, free: 1.711 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2782, allocations: 0 / 452.5 MB, free: 1.711 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005312/0.2787, allocations: 103.8 kB / 452.6 MB, free: 1.609 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.0001201/0.2789, allocations: 99.25 kB / 452.7 MB, free: 1.504 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001181/0.28, allocations: 0.512 MB / 453.2 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.28, allocations: 0 / 453.2 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004841/0.2805, allocations: 341.7 kB / 453.6 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003823/0.2809, allocations: 32.48 kB / 453.6 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001225/0.2821, allocations: 0.6006 MB / 454.2 MB, free: 15.94 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001782/0.2823, allocations: 172.8 kB / 454.4 MB, free: 15.75 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.851e-05/0.2824, allocations: 19.44 kB / 454.4 MB, free: 15.73 MB / 366.1 MB Notification: Performance of SimCode: time 3.81e-07/0.2824, allocations: 0 / 454.4 MB, free: 15.73 MB / 366.1 MB Notification: Performance of Templates: time 0.009973/0.2924, allocations: 6.753 MB / 461.1 MB, free: 8.992 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.876955712214112]