Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001656/0.001656, allocations: 108.9 kB / 20.37 MB, free: 2.102 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001973/0.001973, allocations: 212.7 kB / 23.54 MB, free: 5.391 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.477/1.477, allocations: 230.2 MB / 256.7 MB, free: 8.629 MB / 206.1 MB [Timeout remaining time 88] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Subtracter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|vOut.v",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.001898/0.001898, allocations: 67.89 kB / 376.9 MB, free: 3.754 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2589/0.2608, allocations: 53.33 MB / 430.2 MB, free: 7.48 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Subtracter): time 0.004662/0.2655, allocations: 3.392 MB / 433.6 MB, free: 4.066 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001657/0.2671, allocations: 0.8649 MB / 434.5 MB, free: 3.199 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001938/0.2673, allocations: 8 kB / 434.5 MB, free: 3.191 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000199/0.2675, allocations: 63.36 kB / 434.6 MB, free: 3.129 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002572/0.2678, allocations: 130.9 kB / 434.7 MB, free: 3 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003817/0.2682, allocations: 151.8 kB / 434.8 MB, free: 2.852 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005291/0.2687, allocations: 0.4941 MB / 435.3 MB, free: 2.355 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002608/0.269, allocations: 129 kB / 435.5 MB, free: 2.223 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002889/0.2692, allocations: 183.4 kB / 435.6 MB, free: 2.043 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002427/0.2695, allocations: 203.1 kB / 435.8 MB, free: 1.844 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.711e-05/0.2696, allocations: 52 kB / 435.9 MB, free: 1.793 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001029/0.2697, allocations: 51.94 kB / 435.9 MB, free: 1.742 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.281e-05/0.2698, allocations: 99.67 kB / 436 MB, free: 1.645 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002168/0.27, allocations: 226.9 kB / 436.3 MB, free: 1.422 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006287/0.2706, allocations: 0.5655 MB / 436.8 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.2706, allocations: 4 kB / 436.8 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.2706, allocations: 0 / 436.8 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.127e-06/0.2706, allocations: 0 / 436.8 MB, free: 0.8555 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.001168/0.2718, allocations: 0.7092 MB / 437.5 MB, free: 100 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.2718, allocations: 8.031 kB / 437.5 MB, free: 92 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002008/0.272, allocations: 60.64 kB / 437.6 MB, free: 32 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005091/0.2725, allocations: 324.8 kB / 437.9 MB, free: 15.67 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.083e-05/0.2726, allocations: 21.38 kB / 437.9 MB, free: 15.65 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.093e-05/0.2726, allocations: 44.12 kB / 438 MB, free: 15.61 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007005/0.2733, allocations: 390.2 kB / 438.4 MB, free: 15.21 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.2733, allocations: 0 / 438.4 MB, free: 15.21 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.435e-05/0.2734, allocations: 8 kB / 438.4 MB, free: 15.21 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.014e-05/0.2734, allocations: 12 kB / 438.4 MB, free: 15.2 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006418/0.274, allocations: 307.7 kB / 438.7 MB, free: 14.89 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002262/0.2763, allocations: 1.451 MB / 440.1 MB, free: 13.35 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006191/0.2769, allocations: 218.8 kB / 440.4 MB, free: 13.13 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002176/0.2771, allocations: 88.81 kB / 440.4 MB, free: 13.04 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.045e-05/0.2771, allocations: 0 / 440.4 MB, free: 13.04 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.986e-05/0.2772, allocations: 38.56 kB / 440.5 MB, free: 12.99 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.353e-06/0.2772, allocations: 0 / 440.5 MB, free: 12.99 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.002185/0.2793, allocations: 0.7576 MB / 441.2 MB, free: 12.19 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.486e-05/0.2794, allocations: 59.34 kB / 441.3 MB, free: 12.12 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003761/0.2798, allocations: 312.5 kB / 441.6 MB, free: 11.81 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.713e-05/0.2798, allocations: 29.7 kB / 441.6 MB, free: 11.77 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001641/0.28, allocations: 236.1 kB / 441.9 MB, free: 11.54 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.077e-05/0.28, allocations: 63.47 kB / 441.9 MB, free: 11.47 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.106e-05/0.2801, allocations: 49.7 kB / 442 MB, free: 11.42 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001468/0.2802, allocations: 334.8 kB / 442.3 MB, free: 11.08 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002199/0.2805, allocations: 87.95 kB / 442.4 MB, free: 11 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002663/0.2807, allocations: 157.4 kB / 442.5 MB, free: 10.81 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004728/0.2812, allocations: 255.7 kB / 442.8 MB, free: 10.53 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.2812, allocations: 4 kB / 442.8 MB, free: 10.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001014/0.2822, allocations: 419 kB / 443.2 MB, free: 10.1 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/0.2822, allocations: 8 kB / 443.2 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.094e-06/0.2822, allocations: 0 / 443.2 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004663/0.2827, allocations: 117.7 kB / 443.3 MB, free: 9.973 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001606/0.2829, allocations: 39.86 kB / 443.4 MB, free: 9.934 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004274/0.2871, allocations: 3.564 MB / 446.9 MB, free: 6.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000264/0.2874, allocations: 31.78 kB / 447 MB, free: 6.059 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.036e-05/0.2874, allocations: 19.98 kB / 447 MB, free: 6.039 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.0002188/0.2877, allocations: 157.8 kB / 447.1 MB, free: 5.875 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.117e-05/0.2877, allocations: 31.75 kB / 447.2 MB, free: 5.844 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.86e-05/0.2878, allocations: 30.31 kB / 447.2 MB, free: 5.812 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.948e-06/0.2878, allocations: 4 kB / 447.2 MB, free: 5.809 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.2878, allocations: 3.938 kB / 447.2 MB, free: 5.805 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.2878, allocations: 0 / 447.2 MB, free: 5.805 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004301/0.2882, allocations: 365.4 kB / 447.6 MB, free: 5.398 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.2882, allocations: 0 / 447.6 MB, free: 5.398 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.033e-05/0.2883, allocations: 16.06 kB / 447.6 MB, free: 5.383 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003801/0.2887, allocations: 121.6 kB / 447.7 MB, free: 5.258 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.778e-05/0.2887, allocations: 11.98 kB / 447.7 MB, free: 5.246 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003784/0.2925, allocations: 3.464 MB / 451.2 MB, free: 1.504 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/0.2925, allocations: 8.062 kB / 451.2 MB, free: 1.496 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009146/0.2934, allocations: 432.7 kB / 451.6 MB, free: 1.051 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001006/0.2935, allocations: 108.8 kB / 451.7 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.14e-05/0.2935, allocations: 8 kB / 451.7 MB, free: 0.918 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002215/0.2938, allocations: 27.98 kB / 451.7 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.08e-05/0.2938, allocations: 11.92 kB / 451.7 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.497e-05/0.2938, allocations: 7.984 kB / 451.8 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002497/0.2941, allocations: 227.1 kB / 452 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2941, allocations: 0 / 452 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005178/0.2946, allocations: 95.84 kB / 452.1 MB, free: 0.5547 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.0001689/0.2948, allocations: 103.2 kB / 452.2 MB, free: 456 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001268/0.296, allocations: 0.5049 MB / 452.7 MB, free: 15.91 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.296, allocations: 0.5 kB / 452.7 MB, free: 15.91 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005269/0.2966, allocations: 340 kB / 453 MB, free: 15.56 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004109/0.297, allocations: 56.22 kB / 453.1 MB, free: 15.5 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001208/0.2982, allocations: 0.6108 MB / 453.7 MB, free: 14.86 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004163/0.2986, allocations: 0.7794 MB / 454.5 MB, free: 14.06 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.591e-05/0.2987, allocations: 23.44 kB / 454.5 MB, free: 14.04 MB / 366.1 MB Notification: Performance of SimCode: time 9.62e-07/0.2987, allocations: 3.938 kB / 454.5 MB, free: 14.03 MB / 366.1 MB Notification: Performance of Templates: time 0.00974/0.3084, allocations: 6.801 MB / 461.3 MB, free: 7.238 MB / 366.1 MB [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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