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.001875/0.001875, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.00197/0.00197, allocations: 210.5 kB / 24.48 MB, free: 3.934 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.485/1.485, allocations: 230.5 MB / 258.1 MB, free: 7.797 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.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 0.001983/0.001983, allocations: 63.89 kB / 379 MB, free: 2.293 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2635/0.2655, allocations: 53.42 MB / 432.4 MB, free: 6.5 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Adder): time 0.00462/0.2701, allocations: 2.968 MB / 435.4 MB, free: 3.52 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001497/0.2716, allocations: 0.7713 MB / 436.2 MB, free: 2.742 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001652/0.2717, allocations: 7.938 kB / 436.2 MB, free: 2.734 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001737/0.2719, allocations: 63.42 kB / 436.2 MB, free: 2.672 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002248/0.2721, allocations: 119 kB / 436.4 MB, free: 2.555 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003037/0.2725, allocations: 115.8 kB / 436.5 MB, free: 2.441 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004467/0.2729, allocations: 446.1 kB / 436.9 MB, free: 2.004 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002258/0.2731, allocations: 112 kB / 437 MB, free: 1.898 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002511/0.2734, allocations: 167.4 kB / 437.2 MB, free: 1.734 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002258/0.2736, allocations: 167.1 kB / 437.3 MB, free: 1.57 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.122e-05/0.2737, allocations: 44 kB / 437.4 MB, free: 1.527 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001046/0.2738, allocations: 48 kB / 437.4 MB, free: 1.48 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.36e-05/0.2738, allocations: 87.69 kB / 437.5 MB, free: 1.395 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001634/0.274, allocations: 163.2 kB / 437.7 MB, free: 1.234 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005604/0.2746, allocations: 0.5205 MB / 438.2 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.2746, allocations: 0 / 438.2 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.2746, allocations: 0 / 438.2 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.955e-06/0.2746, allocations: 7.938 kB / 438.2 MB, free: 0.707 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.0009566/0.2755, allocations: 0.583 MB / 438.8 MB, free: 92 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/0.2756, allocations: 19.92 kB / 438.8 MB, free: 72 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002014/0.2758, allocations: 52.64 kB / 438.9 MB, free: 20 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004754/0.2762, allocations: 261.8 kB / 439.1 MB, free: 15.74 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.519e-05/0.2763, allocations: 25.03 kB / 439.1 MB, free: 15.71 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.698e-05/0.2763, allocations: 28.38 kB / 439.2 MB, free: 15.69 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005989/0.2769, allocations: 409.2 kB / 439.6 MB, free: 15.26 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.2769, allocations: 0 / 439.6 MB, free: 15.26 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.553e-05/0.277, allocations: 16 kB / 439.6 MB, free: 15.25 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.868e-06/0.277, allocations: 8 kB / 439.6 MB, free: 15.24 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004797/0.2775, allocations: 254.5 kB / 439.8 MB, free: 14.99 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001843/0.2793, allocations: 1.011 MB / 440.8 MB, free: 13.91 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004126/0.2797, allocations: 170.8 kB / 441 MB, free: 13.74 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001479/0.2799, allocations: 79.58 kB / 441.1 MB, free: 13.66 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.188e-05/0.2799, allocations: 0 / 441.1 MB, free: 13.66 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.119e-05/0.28, allocations: 38.56 kB / 441.1 MB, free: 13.61 MB / 350.1 MB Notification: Performance of pre-optimization done (n=18): time 1.302e-06/0.28, allocations: 3.938 kB / 441.1 MB, free: 13.61 MB / 350.1 MB Notification: Performance of matching and sorting (n=18): time 0.001362/0.2813, allocations: 414.2 kB / 441.5 MB, free: 13.2 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.482e-05/0.2814, allocations: 55.41 kB / 441.6 MB, free: 13.13 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003087/0.2817, allocations: 269.8 kB / 441.9 MB, free: 12.86 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.755e-05/0.2817, allocations: 29.7 kB / 441.9 MB, free: 12.82 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001649/0.2819, allocations: 228.1 kB / 442.1 MB, free: 12.59 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.417e-05/0.2819, allocations: 63.47 kB / 442.2 MB, free: 12.53 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.521e-05/0.282, allocations: 49.66 kB / 442.2 MB, free: 12.48 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001549/0.2822, allocations: 338.8 kB / 442.5 MB, free: 12.14 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001329/0.2823, allocations: 63.97 kB / 442.6 MB, free: 12.07 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001928/0.2825, allocations: 145.3 kB / 442.7 MB, free: 11.9 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003201/0.2828, allocations: 220.6 kB / 443 MB, free: 11.65 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.2828, allocations: 0 / 443 MB, free: 11.65 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006756/0.2835, allocations: 346.1 kB / 443.3 MB, free: 11.3 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.2835, allocations: 7.938 kB / 443.3 MB, free: 11.3 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.2835, allocations: 4 kB / 443.3 MB, free: 11.29 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004038/0.2839, allocations: 96.7 kB / 443.4 MB, free: 11.2 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001589/0.2841, allocations: 43.92 kB / 443.5 MB, free: 11.15 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002687/0.2868, allocations: 2.03 MB / 445.5 MB, free: 9.016 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001889/0.2869, allocations: 31.78 kB / 445.5 MB, free: 8.984 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.963e-05/0.287, allocations: 12 kB / 445.5 MB, free: 8.973 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: 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.0001844/0.2871, allocations: 153.8 kB / 445.7 MB, free: 8.812 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.511e-05/0.2872, allocations: 27.8 kB / 445.7 MB, free: 8.785 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.088e-05/0.2873, allocations: 26.11 kB / 445.7 MB, free: 8.762 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.2873, allocations: 4.062 kB / 445.7 MB, free: 8.758 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.495e-06/0.2873, allocations: 4 kB / 445.7 MB, free: 8.754 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.6e-06/0.2873, allocations: 3.984 kB / 445.7 MB, free: 8.75 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009989/0.2883, allocations: 0.5637 MB / 446.3 MB, free: 8.148 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/0.2883, allocations: 3.938 kB / 446.3 MB, free: 8.145 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.5e-05/0.2883, allocations: 15.94 kB / 446.3 MB, free: 8.129 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003244/0.2887, allocations: 96.98 kB / 446.4 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.454e-05/0.2887, allocations: 4 kB / 446.4 MB, free: 8.027 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002442/0.2911, allocations: 2.014 MB / 448.4 MB, free: 5.906 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.2911, allocations: 4.031 kB / 448.4 MB, free: 5.902 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005918/0.2917, allocations: 352.6 kB / 448.8 MB, free: 5.539 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.023e-05/0.2918, allocations: 27.78 kB / 448.8 MB, free: 5.512 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.984e-05/0.2918, allocations: 4 kB / 448.8 MB, free: 5.508 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001892/0.292, allocations: 23.92 kB / 448.8 MB, free: 5.484 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.61e-05/0.292, allocations: 15.97 kB / 448.9 MB, free: 5.469 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.273e-05/0.2921, allocations: 4 kB / 448.9 MB, free: 5.465 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001993/0.2923, allocations: 197.2 kB / 449 MB, free: 5.27 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2923, allocations: 0 / 449 MB, free: 5.27 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005113/0.2928, allocations: 103.7 kB / 449.2 MB, free: 5.168 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 (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.0001428/0.2929, allocations: 103.5 kB / 449.3 MB, free: 5.059 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006407/0.2936, allocations: 314.1 kB / 449.6 MB, free: 4.742 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.2936, allocations: 4 kB / 449.6 MB, free: 4.738 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003352/0.2939, allocations: 228.9 kB / 449.8 MB, free: 4.504 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003764/0.2943, allocations: 47.64 kB / 449.8 MB, free: 4.461 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001087/0.2954, allocations: 0.5654 MB / 450.4 MB, free: 3.859 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001867/0.2955, allocations: 164.8 kB / 450.6 MB, free: 3.68 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.732e-05/0.2956, allocations: 19.44 kB / 450.6 MB, free: 3.66 MB / 350.1 MB Notification: Performance of SimCode: time 1.353e-06/0.2956, allocations: 0 / 450.6 MB, free: 3.66 MB / 350.1 MB Notification: Performance of Templates: time 0.007347/0.3029, allocations: 4.916 MB / 455.5 MB, free: 14.75 MB / 366.1 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/Adder/Adder.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.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:time,vOut.v [Calling sys.exit(0), Time elapsed: 7.275609857868403]