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.001316/0.001316, allocations: 109.1 kB / 21.18 MB, free: 0.7656 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.001406/0.001406, allocations: 213.5 kB / 24.5 MB, free: 4.148 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.448/1.448, allocations: 230.5 MB / 258.2 MB, free: 7.977 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.003124/0.003124, allocations: 63.91 kB / 379.1 MB, free: 2.461 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2827/0.2858, allocations: 53.41 MB / 432.5 MB, free: 6.734 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Adder): time 0.004862/0.2907, allocations: 3.248 MB / 435.7 MB, free: 3.473 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001583/0.2923, allocations: 0.8101 MB / 436.5 MB, free: 2.656 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001798/0.2925, allocations: 8 kB / 436.5 MB, free: 2.648 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001951/0.2927, allocations: 63.36 kB / 436.6 MB, free: 2.586 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002305/0.2929, allocations: 123 kB / 436.7 MB, free: 2.465 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003189/0.2932, allocations: 115.8 kB / 436.8 MB, free: 2.352 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004651/0.2937, allocations: 442.1 kB / 437.3 MB, free: 1.918 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002442/0.2939, allocations: 116.4 kB / 437.4 MB, free: 1.805 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002755/0.2942, allocations: 179.3 kB / 437.6 MB, free: 1.629 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002542/0.2944, allocations: 183.2 kB / 437.7 MB, free: 1.449 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.729e-05/0.2945, allocations: 44 kB / 437.8 MB, free: 1.406 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.429e-05/0.2946, allocations: 44 kB / 437.8 MB, free: 1.363 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.537e-05/0.2947, allocations: 99.61 kB / 437.9 MB, free: 1.266 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001869/0.2949, allocations: 195.1 kB / 438.1 MB, free: 1.074 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005743/0.2954, allocations: 0.5149 MB / 438.6 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.2954, allocations: 0 / 438.6 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of FrontEnd: time 9.52e-07/0.2954, allocations: 0 / 438.6 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.224e-06/0.2955, allocations: 0 / 438.6 MB, free: 0.5625 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.001007/0.2965, allocations: 0.5908 MB / 439.2 MB, free: 15.93 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.542e-05/0.2965, allocations: 8.031 kB / 439.2 MB, free: 15.93 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001849/0.2967, allocations: 56.59 kB / 439.3 MB, free: 15.88 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004552/0.2971, allocations: 257.8 kB / 439.5 MB, free: 15.6 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.958e-05/0.2972, allocations: 25.03 kB / 439.6 MB, free: 15.57 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.862e-05/0.2972, allocations: 32.38 kB / 439.6 MB, free: 15.54 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005392/0.2978, allocations: 302.4 kB / 439.9 MB, free: 15.25 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.42e-05/0.2978, allocations: 4 kB / 439.9 MB, free: 15.24 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.199e-05/0.2978, allocations: 15.94 kB / 439.9 MB, free: 15.23 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.146e-05/0.2978, allocations: 8 kB / 439.9 MB, free: 15.22 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004485/0.2983, allocations: 254.5 kB / 440.2 MB, free: 14.97 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001927/0.3002, allocations: 1.154 MB / 441.3 MB, free: 13.74 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004107/0.3006, allocations: 182.7 kB / 441.5 MB, free: 13.55 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000152/0.3008, allocations: 84.77 kB / 441.6 MB, free: 13.46 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.805e-05/0.3008, allocations: 3.984 kB / 441.6 MB, free: 13.46 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.528e-05/0.3008, allocations: 38.56 kB / 441.6 MB, free: 13.41 MB / 350.1 MB Notification: Performance of pre-optimization done (n=18): time 1.342e-06/0.3008, allocations: 0 / 441.6 MB, free: 13.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=18): time 0.001359/0.3022, allocations: 420.5 kB / 442 MB, free: 13 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.735e-05/0.3022, allocations: 59.41 kB / 442.1 MB, free: 12.93 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003401/0.3026, allocations: 300.2 kB / 442.4 MB, free: 12.63 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.813e-05/0.3026, allocations: 29.7 kB / 442.4 MB, free: 12.59 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001573/0.3027, allocations: 216.3 kB / 442.6 MB, free: 12.38 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.781e-05/0.3028, allocations: 67.47 kB / 442.7 MB, free: 12.31 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.401e-05/0.3029, allocations: 45.7 kB / 442.7 MB, free: 12.26 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001562/0.303, allocations: 338.8 kB / 443.1 MB, free: 11.92 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001508/0.3032, allocations: 67.97 kB / 443.1 MB, free: 11.86 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001978/0.3034, allocations: 137.4 kB / 443.3 MB, free: 11.69 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003381/0.3037, allocations: 224.2 kB / 443.5 MB, free: 11.44 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.3037, allocations: 4 kB / 443.5 MB, free: 11.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006895/0.3044, allocations: 346.1 kB / 443.8 MB, free: 11.09 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/0.3044, allocations: 8 kB / 443.8 MB, free: 11.08 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.174e-06/0.3045, allocations: 0 / 443.8 MB, free: 11.08 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004119/0.3049, allocations: 96.77 kB / 443.9 MB, free: 10.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001577/0.305, allocations: 43.95 kB / 444 MB, free: 10.94 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003047/0.3081, allocations: 2.072 MB / 446 MB, free: 8.742 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002332/0.3083, allocations: 35.72 kB / 446.1 MB, free: 8.707 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.996e-05/0.3083, allocations: 8 kB / 446.1 MB, free: 8.699 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.000222/0.3085, allocations: 149.8 kB / 446.2 MB, free: 8.543 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.438e-05/0.3086, allocations: 35.75 kB / 446.3 MB, free: 8.508 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.972e-05/0.3087, allocations: 26.19 kB / 446.3 MB, free: 8.48 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.3087, allocations: 7.938 kB / 446.3 MB, free: 8.473 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.044e-06/0.3087, allocations: 4 kB / 446.3 MB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.237e-06/0.3087, allocations: 0 / 446.3 MB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001071/0.3098, allocations: 0.6543 MB / 446.9 MB, free: 7.762 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/0.3098, allocations: 4 kB / 447 MB, free: 7.758 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.845e-05/0.3098, allocations: 19.98 kB / 447 MB, free: 7.738 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003172/0.3102, allocations: 92.72 kB / 447.1 MB, free: 7.645 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.443e-05/0.3102, allocations: 4 kB / 447.1 MB, free: 7.641 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002541/0.3127, allocations: 2.057 MB / 449.1 MB, free: 5.465 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.3127, allocations: 0 / 449.1 MB, free: 5.465 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006766/0.3134, allocations: 371 kB / 449.5 MB, free: 5.086 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.974e-05/0.3134, allocations: 27.81 kB / 449.5 MB, free: 5.059 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.029e-05/0.3135, allocations: 4 kB / 449.5 MB, free: 5.055 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000202/0.3137, allocations: 19.98 kB / 449.5 MB, free: 5.035 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.586e-05/0.3137, allocations: 23.95 kB / 449.6 MB, free: 5.012 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.199e-05/0.3138, allocations: 4 kB / 449.6 MB, free: 5.008 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002281/0.314, allocations: 211.1 kB / 449.8 MB, free: 4.805 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.314, allocations: 0 / 449.8 MB, free: 4.805 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004859/0.3145, allocations: 99.78 kB / 449.9 MB, free: 4.707 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.0001299/0.3146, allocations: 98.81 kB / 450 MB, free: 4.602 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000667/0.3153, allocations: 322.3 kB / 450.3 MB, free: 4.273 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.3153, allocations: 0 / 450.3 MB, free: 4.273 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003172/0.3156, allocations: 218.5 kB / 450.5 MB, free: 4.047 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003913/0.316, allocations: 57.75 kB / 450.5 MB, free: 3.988 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001057/0.317, allocations: 0.5561 MB / 451.1 MB, free: 3.398 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004719/0.3175, allocations: 0.7755 MB / 451.9 MB, free: 2.594 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.913e-05/0.3176, allocations: 23.44 kB / 451.9 MB, free: 2.57 MB / 350.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3176, allocations: 0 / 451.9 MB, free: 2.57 MB / 350.1 MB Notification: Performance of Templates: time 0.007657/0.3252, allocations: 4.949 MB / 456.9 MB, free: 13.63 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.3924835729412735]