Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.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.001048/0.001048, allocations: 81.91 kB / 21.43 MB, free: 3.062 MB / 18.57 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.001006/0.001006, allocations: 160.6 kB / 24.82 MB, free: 9.312 MB / 18.57 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.116/1.116, allocations: 177 MB / 205.1 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] 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.Adder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|vOut.v",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Adder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|vOut.v",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 273.4 MB, free: 1.176 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.782e-05/1.915e-05, allocations: 2.312 kB / 273.4 MB, free: 1.172 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Adder): time 0.003025/0.003045, allocations: 3.172 MB / 276.5 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001414/0.004459, allocations: 0.7751 MB / 277.3 MB, free: 13.2 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002206/0.00468, allocations: 11.94 kB / 277.3 MB, free: 13.18 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001805/0.00486, allocations: 59.42 kB / 277.4 MB, free: 13.12 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002122/0.005072, allocations: 122.9 kB / 277.5 MB, free: 13 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003171/0.005389, allocations: 119.7 kB / 277.6 MB, free: 12.89 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003962/0.005786, allocations: 465.9 kB / 278.1 MB, free: 12.43 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001923/0.005978, allocations: 104.5 kB / 278.2 MB, free: 12.32 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003316/0.00631, allocations: 271.3 kB / 278.5 MB, free: 12.06 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001754/0.006485, allocations: 139.6 kB / 278.6 MB, free: 11.92 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.582e-05/0.006531, allocations: 44 kB / 278.6 MB, free: 11.88 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.61e-05/0.006607, allocations: 47.98 kB / 278.7 MB, free: 11.83 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.77e-05/0.006655, allocations: 87.69 kB / 278.8 MB, free: 11.75 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001049/0.006759, allocations: 143.6 kB / 278.9 MB, free: 11.61 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003028/0.007062, allocations: 291 kB / 279.2 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.445e-06/0.007065, allocations: 0 / 279.2 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.163e-06/0.007066, allocations: 4 kB / 279.2 MB, free: 11.32 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.042e-06/0.007072, allocations: 3.938 kB / 279.2 MB, free: 11.31 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.0007371/0.007809, allocations: 0.6828 MB / 279.9 MB, free: 10.59 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/0.00785, allocations: 15.98 kB / 279.9 MB, free: 10.58 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001605/0.00801, allocations: 80.66 kB / 280 MB, free: 10.5 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002612/0.008271, allocations: 255.9 kB / 280.2 MB, free: 10.22 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.072e-05/0.008292, allocations: 29.03 kB / 280.3 MB, free: 10.2 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.047e-05/0.008323, allocations: 28.38 kB / 280.3 MB, free: 10.17 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003079/0.008631, allocations: 314.1 kB / 280.6 MB, free: 9.828 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.008642, allocations: 4.172 kB / 280.6 MB, free: 9.824 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.208e-05/0.008664, allocations: 16.38 kB / 280.6 MB, free: 9.809 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.475e-05/0.008679, allocations: 11.94 kB / 280.6 MB, free: 9.797 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001188/0.008798, allocations: 100.5 kB / 280.7 MB, free: 9.695 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001163/0.009961, allocations: 1.038 MB / 281.8 MB, free: 8.59 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002098/0.01017, allocations: 131.2 kB / 281.9 MB, free: 8.449 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.862e-05/0.01022, allocations: 47.66 kB / 281.9 MB, free: 8.398 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.317e-05/0.01024, allocations: 0 / 281.9 MB, free: 8.398 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.027e-05/0.01027, allocations: 41.39 kB / 282 MB, free: 8.348 MB / 266.7 MB Notification: Performance of pre-optimization done (n=18): time 1.754e-06/0.01027, allocations: 0 / 282 MB, free: 8.348 MB / 266.7 MB Notification: Performance of matching and sorting (n=18): time 0.0006438/0.01092, allocations: 305 kB / 282.3 MB, free: 8.039 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.703e-05/0.01095, allocations: 59.33 kB / 282.3 MB, free: 7.969 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001882/0.01113, allocations: 304.1 kB / 282.6 MB, free: 7.656 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.014e-05/0.01115, allocations: 33.7 kB / 282.7 MB, free: 7.617 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001245/0.01128, allocations: 270.9 kB / 282.9 MB, free: 7.348 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.012e-05/0.01131, allocations: 55.48 kB / 283 MB, free: 7.293 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.979e-05/0.01137, allocations: 59.33 kB / 283 MB, free: 7.227 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001257/0.01149, allocations: 0.5079 MB / 283.5 MB, free: 6.707 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.328e-05/0.01154, allocations: 23.98 kB / 283.6 MB, free: 6.684 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.233e-05/0.01163, allocations: 128.5 kB / 283.7 MB, free: 6.512 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001408/0.01177, allocations: 184.3 kB / 283.9 MB, free: 6.285 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.01177, allocations: 3.938 kB / 283.9 MB, free: 6.281 MB / 266.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0002916/0.01206, allocations: 256.2 kB / 284.1 MB, free: 6.023 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.01208, allocations: 7.938 kB / 284.1 MB, free: 6.016 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.01209, allocations: 4 kB / 284.1 MB, free: 6.012 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002842/0.01237, allocations: 103.8 kB / 284.2 MB, free: 5.906 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.145e-05/0.01245, allocations: 35.92 kB / 284.3 MB, free: 5.871 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001435/0.01389, allocations: 2.342 MB / 286.6 MB, free: 3.414 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.98e-05/0.01399, allocations: 23.84 kB / 286.6 MB, free: 3.391 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.382e-05/0.014, allocations: 15.98 kB / 286.7 MB, free: 3.375 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 2 (add.opAmp.satNeg,add.opAmp.satPos) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,8)} Notification: Performance of prepare postOptimizeDAE: time 0.00011/0.01411, allocations: 168.5 kB / 286.8 MB, free: 3.199 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.551e-05/0.01415, allocations: 35.8 kB / 286.8 MB, free: 3.164 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.061e-05/0.01418, allocations: 30.11 kB / 286.9 MB, free: 3.133 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.01418, allocations: 0 / 286.9 MB, free: 3.133 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-06/0.01418, allocations: 0 / 286.9 MB, free: 3.133 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.012e-06/0.01419, allocations: 7.922 kB / 286.9 MB, free: 3.125 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004727/0.01466, allocations: 0.4936 MB / 287.4 MB, free: 2.594 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.01466, allocations: 0 / 287.4 MB, free: 2.594 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.213e-05/0.0147, allocations: 27.92 kB / 287.4 MB, free: 2.566 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002212/0.01493, allocations: 87.59 kB / 287.5 MB, free: 2.477 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.105e-06/0.01493, allocations: 8 kB / 287.5 MB, free: 2.469 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001174/0.01611, allocations: 2.312 MB / 289.8 MB, free: 40 kB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.01611, allocations: 3.938 kB / 289.8 MB, free: 36 kB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002736/0.01638, allocations: 343.7 kB / 290.2 MB, free: 15.68 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.839e-05/0.01641, allocations: 31.8 kB / 290.2 MB, free: 15.64 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.264e-05/0.01642, allocations: 0 / 290.2 MB, free: 15.64 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.417e-05/0.01651, allocations: 19.98 kB / 290.2 MB, free: 15.62 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.716e-05/0.01656, allocations: 19.97 kB / 290.2 MB, free: 15.61 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.673e-06/0.01656, allocations: 0 / 290.2 MB, free: 15.61 MB / 282.7 MB Notification: Performance of sorting global known variables: time 9.441e-05/0.01666, allocations: 201.1 kB / 290.4 MB, free: 15.41 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01666, allocations: 4 kB / 290.4 MB, free: 15.4 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003131/0.01697, allocations: 99.78 kB / 290.5 MB, free: 15.3 MB / 282.7 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 (add.opAmp.satPos,add.opAmp.satNeg) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001033/0.01707, allocations: 103.2 kB / 290.6 MB, free: 15.2 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003201/0.01739, allocations: 323.3 kB / 290.9 MB, free: 14.86 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.684e-06/0.0174, allocations: 0.625 kB / 290.9 MB, free: 14.86 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001633/0.01756, allocations: 272.3 kB / 291.2 MB, free: 14.57 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002385/0.0178, allocations: 36.34 kB / 291.2 MB, free: 14.54 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007892/0.01859, allocations: 0.5142 MB / 291.8 MB, free: 14 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.67e-05/0.01864, allocations: 96.41 kB / 291.8 MB, free: 13.89 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.335e-05/0.01871, allocations: 22.28 kB / 291.9 MB, free: 13.86 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001019/0.01881, allocations: 114.2 kB / 292 MB, free: 13.75 MB / 282.7 MB Notification: Performance of SimCode: time 6.52e-07/0.01881, allocations: 0 / 292 MB, free: 13.75 MB / 282.7 MB Notification: Performance of Templates: time 0.005674/0.02448, allocations: 3.687 MB / 295.7 MB, free: 10.11 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/Adder/Adder.csv","",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,add.R,add.R1,add.R2,add.V0,add.Vns,add.Vps,add.k1,add.k2,add.opAmp.Tau,add.opAmp.V0,add.opAmp.Vns,add.opAmp.Vps,add.opAmp.initOpAmp,add.opAmp.useFirstOrder,add.opAmp.useSupply,add.r.R,add.r.T,add.r.T_ref,add.r.alpha,add.r1.R,add.r1.T,add.r1.T_ref,add.r1.alpha,add.r2.R,add.r2.T,add.r2.T_ref,add.r2.alpha,add.v2,f,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 filterSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.diff.mat", vars={"vOut.v"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] filterSimulationResults("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/Adder/Adder.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.diff.ref.mat", vars={"vOut.v"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.892702731769532]