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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00133/0.00133, allocations: 107.2 kB / 20.44 MB, free: 1.207 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001426/0.001426, allocations: 215.4 kB / 23.73 MB, free: 4.406 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.549/1.549, allocations: 230.5 MB / 257.4 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] 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.001928/0.001928, allocations: 63.91 kB / 378.3 MB, free: 2.301 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.305/0.307, allocations: 53.41 MB / 431.7 MB, free: 6.523 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Subtracter): time 0.006356/0.3133, allocations: 3.128 MB / 434.8 MB, free: 3.379 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001621/0.315, allocations: 0.8065 MB / 435.6 MB, free: 2.57 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002149/0.3152, allocations: 11.88 kB / 435.6 MB, free: 2.559 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002296/0.3154, allocations: 67.36 kB / 435.7 MB, free: 2.492 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002737/0.3157, allocations: 134.9 kB / 435.8 MB, free: 2.359 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003938/0.3161, allocations: 127.9 kB / 435.9 MB, free: 2.234 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005292/0.3166, allocations: 0.4941 MB / 436.4 MB, free: 1.738 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000271/0.3169, allocations: 119.8 kB / 436.5 MB, free: 1.621 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002843/0.3172, allocations: 191.4 kB / 436.7 MB, free: 1.434 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002567/0.3174, allocations: 179.1 kB / 436.9 MB, free: 1.258 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.553e-05/0.3175, allocations: 48 kB / 437 MB, free: 1.211 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001073/0.3176, allocations: 55.94 kB / 437 MB, free: 1.156 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.846e-05/0.3177, allocations: 99.69 kB / 437.1 MB, free: 1.059 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001791/0.3179, allocations: 191.1 kB / 437.3 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006133/0.3185, allocations: 0.5835 MB / 437.9 MB, free: 296 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.3185, allocations: 0 / 437.9 MB, free: 296 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.3185, allocations: 0 / 437.9 MB, free: 296 kB / 334.1 MB Notification: Performance of Transformations before backend: time 1.297e-05/0.3185, allocations: 3.938 kB / 437.9 MB, free: 292 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.001119/0.3196, allocations: 0.6222 MB / 438.5 MB, free: 15.63 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.3197, allocations: 19.98 kB / 438.5 MB, free: 15.61 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000196/0.3198, allocations: 56.64 kB / 438.6 MB, free: 15.56 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005009/0.3203, allocations: 272.8 kB / 438.8 MB, free: 15.27 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.026e-05/0.3204, allocations: 29.38 kB / 438.9 MB, free: 15.24 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.611e-05/0.3204, allocations: 36.11 kB / 438.9 MB, free: 15.2 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006564/0.3211, allocations: 471 kB / 439.4 MB, free: 14.71 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.54e-05/0.3211, allocations: 0 / 439.4 MB, free: 14.71 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.61e-05/0.3211, allocations: 20 kB / 439.4 MB, free: 14.69 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.1e-05/0.3212, allocations: 8 kB / 439.4 MB, free: 14.68 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005081/0.3217, allocations: 279.9 kB / 439.7 MB, free: 14.41 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002015/0.3237, allocations: 1.165 MB / 440.8 MB, free: 13.16 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004349/0.3241, allocations: 194.8 kB / 441 MB, free: 12.96 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000148/0.3243, allocations: 79.59 kB / 441.1 MB, free: 12.88 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.682e-05/0.3243, allocations: 0 / 441.1 MB, free: 12.88 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.304e-05/0.3243, allocations: 42.55 kB / 441.1 MB, free: 12.83 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 1.022e-06/0.3243, allocations: 0 / 441.1 MB, free: 12.83 MB / 350.1 MB Notification: Performance of matching and sorting (n=19): time 0.001437/0.3258, allocations: 451 kB / 441.6 MB, free: 12.38 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.176e-05/0.3258, allocations: 55.41 kB / 441.6 MB, free: 12.31 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003278/0.3261, allocations: 285.7 kB / 441.9 MB, free: 12.03 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.007e-05/0.3262, allocations: 33.7 kB / 441.9 MB, free: 11.99 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001658/0.3263, allocations: 236.1 kB / 442.2 MB, free: 11.75 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.438e-05/0.3264, allocations: 63.42 kB / 442.2 MB, free: 11.69 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.478e-05/0.3265, allocations: 53.66 kB / 442.3 MB, free: 11.63 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001417/0.3266, allocations: 334.8 kB / 442.6 MB, free: 11.3 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001498/0.3268, allocations: 71.97 kB / 442.7 MB, free: 11.23 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001957/0.3269, allocations: 144.5 kB / 442.8 MB, free: 11.05 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003291/0.3273, allocations: 220.3 kB / 443 MB, free: 10.81 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.3273, allocations: 0 / 443 MB, free: 10.81 MB / 350.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.000706/0.328, allocations: 366.6 kB / 443.4 MB, free: 10.44 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.328, allocations: 8 kB / 443.4 MB, free: 10.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.328, allocations: 0 / 443.4 MB, free: 10.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004364/0.3284, allocations: 113.8 kB / 443.5 MB, free: 10.31 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001548/0.3286, allocations: 43.86 kB / 443.6 MB, free: 10.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003349/0.3319, allocations: 3.196 MB / 446.8 MB, free: 6.867 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001857/0.3321, allocations: 31.77 kB / 446.8 MB, free: 6.836 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.226e-05/0.3322, allocations: 16.06 kB / 446.8 MB, free: 6.82 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 2 (feedback.opAmp.satNeg,feedback.opAmp.satPos) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 22 * 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,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0001701/0.3323, allocations: 153.3 kB / 447 MB, free: 6.664 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.672e-05/0.3324, allocations: 31.88 kB / 447 MB, free: 6.633 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.417e-05/0.3324, allocations: 34.11 kB / 447 MB, free: 6.598 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.642e-06/0.3324, allocations: 7.938 kB / 447 MB, free: 6.59 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.3324, allocations: 0 / 447 MB, free: 6.59 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.714e-06/0.3325, allocations: 4.031 kB / 447 MB, free: 6.586 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003156/0.3328, allocations: 249.1 kB / 447.3 MB, free: 6.312 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.3328, allocations: 0 / 447.3 MB, free: 6.312 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.231e-05/0.3329, allocations: 19.98 kB / 447.3 MB, free: 6.293 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003411/0.3332, allocations: 109.6 kB / 447.4 MB, free: 6.18 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.48e-05/0.3332, allocations: 8 kB / 447.4 MB, free: 6.172 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003153/0.3364, allocations: 3.197 MB / 450.6 MB, free: 2.762 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3364, allocations: 0 / 450.6 MB, free: 2.762 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006028/0.337, allocations: 367.6 kB / 451 MB, free: 2.383 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.172e-05/0.337, allocations: 31.78 kB / 451 MB, free: 2.352 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.636e-05/0.3371, allocations: 12 kB / 451 MB, free: 2.34 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002196/0.3373, allocations: 24.05 kB / 451 MB, free: 2.316 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.811e-05/0.3373, allocations: 23.89 kB / 451.1 MB, free: 2.293 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.425e-05/0.3374, allocations: 12 kB / 451.1 MB, free: 2.281 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001999/0.3376, allocations: 193.2 kB / 451.3 MB, free: 2.09 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3376, allocations: 0 / 451.3 MB, free: 2.09 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004914/0.3381, allocations: 107.7 kB / 451.4 MB, free: 1.984 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: 2 (feedback.opAmp.satPos,feedback.opAmp.satNeg) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * 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,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001406/0.3382, allocations: 103.2 kB / 451.5 MB, free: 1.875 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006987/0.3389, allocations: 433.1 kB / 451.9 MB, free: 1.426 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.3389, allocations: 0 / 451.9 MB, free: 1.426 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004213/0.3393, allocations: 349.8 kB / 452.2 MB, free: 1.059 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003618/0.3397, allocations: 36.48 kB / 452.3 MB, free: 1.023 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001063/0.3407, allocations: 0.5939 MB / 452.9 MB, free: 416 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001754/0.3409, allocations: 185.3 kB / 453 MB, free: 204 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.217e-05/0.341, allocations: 26.27 kB / 453.1 MB, free: 180 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.041e-05/0.3411, allocations: 23.44 kB / 453.1 MB, free: 156 kB / 350.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3411, allocations: 0 / 453.1 MB, free: 156 kB / 350.1 MB Notification: Performance of Templates: time 0.009182/0.3502, allocations: 4.237 MB / 457.3 MB, free: 11.97 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,vOut.v Variables in the result:Vin,f,feedback.R1,feedback.R3,feedback.V0,feedback.Vns,feedback.Vps,feedback.k,feedback.opAmp.Tau,feedback.opAmp.V0,feedback.opAmp.Vns,feedback.opAmp.Vps,feedback.opAmp.initOpAmp,feedback.opAmp.useFirstOrder,feedback.opAmp.useSupply,feedback.r1.R,feedback.r1.T,feedback.r1.T_ref,feedback.r1.alpha,feedback.r2.R,feedback.r2.T,feedback.r2.T_ref,feedback.r2.alpha,feedback.r3.R,feedback.r3.T,feedback.r3.T_ref,feedback.r3.alpha,feedback.r4.R,feedback.r4.T,feedback.r4.T_ref,feedback.r4.alpha,feedback.v2,time,vIn1.V,vIn1.f,vIn1.offset,vIn1.phase,vIn1.signalSource.amplitude,vIn1.signalSource.continuous,vIn1.signalSource.f,vIn1.signalSource.offset,vIn1.signalSource.phase,vIn1.signalSource.startTime,vIn1.startTime,vIn2.V,vOut.v [Calling sys.exit(0), Time elapsed: 4.7975961193442345]