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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=2000,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=2000,variableFilter="time|vOut.v",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001487/0.001487, allocations: 122.8 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00193/0.00193, allocations: 202 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.438/1.438, allocations: 227.4 MB / 246.9 MB, free: 10.53 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001194/0.001194, allocations: 63.89 kB / 358.7 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3147/0.3159, allocations: 50.55 MB / 409.3 MB, free: 1.594 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Subtracter): time 0.004896/0.3208, allocations: 3.375 MB / 412.7 MB, free: 14.2 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001655/0.3225, allocations: 0.861 MB / 413.5 MB, free: 13.34 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001671/0.3227, allocations: 8 kB / 413.5 MB, free: 13.33 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002058/0.3229, allocations: 67.3 kB / 413.6 MB, free: 13.26 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002336/0.3232, allocations: 131 kB / 413.7 MB, free: 13.13 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003785/0.3236, allocations: 147.7 kB / 413.9 MB, free: 12.99 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005427/0.3241, allocations: 0.498 MB / 414.4 MB, free: 12.49 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003582/0.3245, allocations: 173 kB / 414.5 MB, free: 12.31 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003058/0.3248, allocations: 183.4 kB / 414.7 MB, free: 12.13 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002704/0.3251, allocations: 207.1 kB / 414.9 MB, free: 11.93 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.422e-05/0.3252, allocations: 52 kB / 415 MB, free: 11.88 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.613e-05/0.3253, allocations: 51.98 kB / 415 MB, free: 11.83 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001435/0.3254, allocations: 99.69 kB / 415.1 MB, free: 11.73 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001861/0.3256, allocations: 222.9 kB / 415.3 MB, free: 11.51 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005063/0.3261, allocations: 0.5657 MB / 415.9 MB, free: 10.95 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.3261, allocations: 0 / 415.9 MB, free: 10.95 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3261, allocations: 0 / 415.9 MB, free: 10.95 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.546e-06/0.3262, allocations: 0 / 415.9 MB, free: 10.95 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.0011/0.3273, allocations: 0.7018 MB / 416.6 MB, free: 10.2 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.327e-05/0.3273, allocations: 11.97 kB / 416.6 MB, free: 10.19 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002224/0.3275, allocations: 52.45 kB / 416.7 MB, free: 10.14 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004927/0.328, allocations: 328.6 kB / 417 MB, free: 9.773 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.95e-05/0.3281, allocations: 29.38 kB / 417 MB, free: 9.746 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.622e-05/0.3281, allocations: 32.12 kB / 417 MB, free: 9.715 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007414/0.3289, allocations: 390.2 kB / 417.4 MB, free: 9.32 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.439e-05/0.3289, allocations: 0 / 417.4 MB, free: 9.32 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.836e-05/0.329, allocations: 16 kB / 417.4 MB, free: 9.305 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.181e-05/0.329, allocations: 8 kB / 417.4 MB, free: 9.297 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006265/0.3296, allocations: 299.8 kB / 417.7 MB, free: 9.004 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00234/0.332, allocations: 1.439 MB / 419.2 MB, free: 7.473 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006157/0.3326, allocations: 242.7 kB / 419.4 MB, free: 7.227 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002155/0.3328, allocations: 88.83 kB / 419.5 MB, free: 7.137 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.407e-05/0.3328, allocations: 4 kB / 419.5 MB, free: 7.133 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.388e-05/0.3329, allocations: 42.55 kB / 419.5 MB, free: 7.082 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.292e-06/0.3329, allocations: 0 / 419.5 MB, free: 7.082 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.002174/0.3351, allocations: 0.7547 MB / 420.3 MB, free: 6.277 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.741e-05/0.3351, allocations: 55.41 kB / 420.4 MB, free: 6.211 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003457/0.3355, allocations: 312.5 kB / 420.7 MB, free: 5.902 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.242e-05/0.3355, allocations: 29.7 kB / 420.7 MB, free: 5.867 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001578/0.3357, allocations: 235.6 kB / 420.9 MB, free: 5.629 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.622e-05/0.3357, allocations: 59.19 kB / 421 MB, free: 5.57 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.553e-05/0.3358, allocations: 49.61 kB / 421 MB, free: 5.516 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001319/0.336, allocations: 338.8 kB / 421.4 MB, free: 5.176 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002049/0.3362, allocations: 79.95 kB / 421.4 MB, free: 5.098 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002838/0.3365, allocations: 169.4 kB / 421.6 MB, free: 4.898 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005368/0.337, allocations: 251.4 kB / 421.8 MB, free: 4.621 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.654e-06/0.337, allocations: 0 / 421.8 MB, free: 4.621 MB / 334.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0009979/0.338, allocations: 426.8 kB / 422.3 MB, free: 4.191 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.3381, allocations: 8 kB / 422.3 MB, free: 4.184 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.3381, allocations: 3.984 kB / 422.3 MB, free: 4.18 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005055/0.3386, allocations: 121.6 kB / 422.4 MB, free: 4.055 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001685/0.3388, allocations: 31.98 kB / 422.4 MB, free: 4.023 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004243/0.343, allocations: 3.56 MB / 426 MB, free: 188 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002073/0.3433, allocations: 39.61 kB / 426 MB, free: 148 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.985e-05/0.3433, allocations: 12 kB / 426 MB, free: 136 kB / 334.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.000196/0.3435, allocations: 153.8 kB / 426.2 MB, free: 15.97 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.703e-05/0.3436, allocations: 31.56 kB / 426.2 MB, free: 15.94 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.822e-05/0.3436, allocations: 34.31 kB / 426.3 MB, free: 15.91 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.221e-05/0.3436, allocations: 4 kB / 426.3 MB, free: 15.9 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.3437, allocations: 0 / 426.3 MB, free: 15.9 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.814e-06/0.3437, allocations: 0 / 426.3 MB, free: 15.9 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003999/0.3441, allocations: 373.2 kB / 426.6 MB, free: 15.49 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.3441, allocations: 0 / 426.6 MB, free: 15.49 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.195e-05/0.3442, allocations: 16 kB / 426.6 MB, free: 15.47 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003631/0.3445, allocations: 113.6 kB / 426.7 MB, free: 15.36 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.71e-05/0.3446, allocations: 8.047 kB / 426.8 MB, free: 15.35 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003815/0.3484, allocations: 3.471 MB / 430.2 MB, free: 11.6 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.3484, allocations: 0 / 430.2 MB, free: 11.6 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009345/0.3493, allocations: 435.8 kB / 430.6 MB, free: 11.15 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.166e-05/0.3494, allocations: 105 kB / 430.8 MB, free: 11.03 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.793e-05/0.3495, allocations: 4 kB / 430.8 MB, free: 11.03 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002123/0.3497, allocations: 23.98 kB / 430.8 MB, free: 11 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.418e-05/0.3497, allocations: 27.89 kB / 430.8 MB, free: 10.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.347e-05/0.3498, allocations: 4 kB / 430.8 MB, free: 10.97 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002686/0.35, allocations: 223.1 kB / 431 MB, free: 10.75 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.35, allocations: 0 / 431 MB, free: 10.75 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004874/0.3505, allocations: 103.7 kB / 431.1 MB, free: 10.65 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.0001503/0.3507, allocations: 103.2 kB / 431.2 MB, free: 10.54 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001104/0.3518, allocations: 0.5092 MB / 431.7 MB, free: 10.01 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.277e-06/0.3518, allocations: 4.188 kB / 431.7 MB, free: 10 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000505/0.3523, allocations: 341.1 kB / 432.1 MB, free: 9.645 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004224/0.3528, allocations: 60.28 kB / 432.1 MB, free: 9.586 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001112/0.3539, allocations: 0.57 MB / 432.7 MB, free: 8.996 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003392/0.3543, allocations: 0.7795 MB / 433.5 MB, free: 8.188 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.676e-05/0.3543, allocations: 22.98 kB / 433.5 MB, free: 8.168 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.435e-05/0.3544, allocations: 23.42 kB / 433.5 MB, free: 8.145 MB / 350.1 MB Notification: Performance of SimCode: time 1.793e-06/0.3544, allocations: 0 / 433.5 MB, free: 8.145 MB / 350.1 MB Notification: Performance of Templates: time 0.008162/0.3626, allocations: 4.014 MB / 437.5 MB, free: 4.164 MB / 350.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.makefile (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) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches