Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00095/0.00095, allocations: 80.8 kB / 21.5 MB, free: 2.996 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001001/0.001001, allocations: 168.8 kB / 24.91 MB, free: 9.156 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9461/0.9461, allocations: 177.1 MB / 205.3 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Adder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|vOut.v",fileNamePrefix="Modelica_4.1.0_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_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.254e-06/2.254e-06, allocations: 0 / 273.5 MB, free: 1.223 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.61e-05/2.835e-05, allocations: 6.312 kB / 273.5 MB, free: 1.215 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Adder): time 0.003844/0.003872, allocations: 3.211 MB / 276.7 MB, free: 13.99 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001652/0.005524, allocations: 0.8177 MB / 277.6 MB, free: 13.16 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002168/0.005741, allocations: 11.94 kB / 277.6 MB, free: 13.15 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001857/0.005927, allocations: 59.42 kB / 277.6 MB, free: 13.09 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002309/0.006158, allocations: 118.9 kB / 277.8 MB, free: 12.98 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003599/0.006518, allocations: 139.8 kB / 277.9 MB, free: 12.84 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004521/0.00697, allocations: 462 kB / 278.3 MB, free: 12.39 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000201/0.007171, allocations: 115 kB / 278.5 MB, free: 12.27 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003976/0.007568, allocations: 255.5 kB / 278.7 MB, free: 12.02 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001788/0.007747, allocations: 147.6 kB / 278.8 MB, free: 11.88 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.294e-05/0.00779, allocations: 44 kB / 278.9 MB, free: 11.84 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.747e-05/0.007878, allocations: 44 kB / 278.9 MB, free: 11.79 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.981e-05/0.007927, allocations: 95.61 kB / 279 MB, free: 11.7 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.291e-05/0.00802, allocations: 135.7 kB / 279.2 MB, free: 11.57 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003308/0.008351, allocations: 290.9 kB / 279.4 MB, free: 11.28 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.008355, allocations: 4 kB / 279.4 MB, free: 11.28 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.001e-06/0.008356, allocations: 0 / 279.4 MB, free: 11.28 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.152e-06/0.008362, allocations: 0 / 279.4 MB, free: 11.28 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.0006237/0.008986, allocations: 0.566 MB / 280 MB, free: 10.69 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.244e-05/0.009018, allocations: 8.031 kB / 280 MB, free: 10.68 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001491/0.009167, allocations: 64.88 kB / 280.1 MB, free: 10.62 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002582/0.009425, allocations: 201.2 kB / 280.3 MB, free: 10.39 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.038e-05/0.009446, allocations: 25.03 kB / 280.3 MB, free: 10.37 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.596e-05/0.009472, allocations: 28.38 kB / 280.3 MB, free: 10.34 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003177/0.009789, allocations: 347.3 kB / 280.7 MB, free: 9.969 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.0098, allocations: 4.188 kB / 280.7 MB, free: 9.965 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.797e-05/0.009818, allocations: 12.38 kB / 280.7 MB, free: 9.953 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.253e-06/0.009825, allocations: 7.938 kB / 280.7 MB, free: 9.945 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001059/0.009931, allocations: 88.47 kB / 280.8 MB, free: 9.859 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00101/0.01094, allocations: 0.8937 MB / 281.7 MB, free: 8.914 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001791/0.01112, allocations: 106.5 kB / 281.8 MB, free: 8.801 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.747e-05/0.01117, allocations: 36.84 kB / 281.8 MB, free: 8.762 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.803e-05/0.01119, allocations: 7.938 kB / 281.8 MB, free: 8.754 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.077e-05/0.01121, allocations: 30.56 kB / 281.9 MB, free: 8.715 MB / 266.7 MB Notification: Performance of pre-optimization done (n=15): time 1.663e-06/0.01121, allocations: 0 / 281.9 MB, free: 8.715 MB / 266.7 MB Notification: Performance of matching and sorting (n=15): time 0.0006338/0.01184, allocations: 314.1 kB / 282.2 MB, free: 8.398 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.783e-05/0.01187, allocations: 59.34 kB / 282.2 MB, free: 8.328 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001685/0.01204, allocations: 244.9 kB / 282.5 MB, free: 8.074 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.042e-05/0.01206, allocations: 29.7 kB / 282.5 MB, free: 8.039 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.05e-05/0.01215, allocations: 212.1 kB / 282.7 MB, free: 7.828 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.088e-05/0.01218, allocations: 51.52 kB / 282.7 MB, free: 7.777 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.554e-05/0.01224, allocations: 53.62 kB / 282.8 MB, free: 7.719 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.913e-05/0.01232, allocations: 334.8 kB / 283.1 MB, free: 7.383 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.263e-05/0.01236, allocations: 19.98 kB / 283.1 MB, free: 7.363 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.358e-05/0.01243, allocations: 106.3 kB / 283.2 MB, free: 7.223 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001222/0.01255, allocations: 147.8 kB / 283.4 MB, free: 7.043 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.01256, allocations: 0 / 283.4 MB, free: 7.043 MB / 266.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0002803/0.01284, allocations: 226 kB / 283.6 MB, free: 6.812 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.01286, allocations: 8 kB / 283.6 MB, free: 6.805 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.01286, allocations: 4 kB / 283.6 MB, free: 6.801 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002933/0.01316, allocations: 97.09 kB / 283.7 MB, free: 6.703 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002569/0.01341, allocations: 39.92 kB / 283.8 MB, free: 6.664 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001176/0.01459, allocations: 1.562 MB / 285.3 MB, free: 5.016 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001023/0.01469, allocations: 31.77 kB / 285.3 MB, free: 4.984 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.139e-05/0.0147, allocations: 8 kB / 285.4 MB, free: 4.977 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (22): * 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: 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,7)} Notification: Performance of prepare postOptimizeDAE: time 9.187e-05/0.01479, allocations: 121.8 kB / 285.5 MB, free: 4.848 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.12e-05/0.01483, allocations: 23.92 kB / 285.5 MB, free: 4.824 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.877e-05/0.01485, allocations: 29.7 kB / 285.5 MB, free: 4.797 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.01486, allocations: 3.984 kB / 285.5 MB, free: 4.793 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.344e-06/0.01486, allocations: 4 kB / 285.5 MB, free: 4.789 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.01486, allocations: 4 kB / 285.5 MB, free: 4.785 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004237/0.01529, allocations: 378.2 kB / 285.9 MB, free: 4.387 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.01529, allocations: 3.938 kB / 285.9 MB, free: 4.383 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.772e-05/0.01533, allocations: 19.98 kB / 285.9 MB, free: 4.363 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001977/0.01553, allocations: 100.7 kB / 286 MB, free: 4.262 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.404e-06/0.01553, allocations: 0 / 286 MB, free: 4.262 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009345/0.01647, allocations: 1.532 MB / 287.6 MB, free: 2.645 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.01647, allocations: 7.969 kB / 287.6 MB, free: 2.637 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000223/0.01669, allocations: 248.6 kB / 287.8 MB, free: 2.375 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.2e-05/0.01671, allocations: 19.86 kB / 287.8 MB, free: 2.355 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.392e-05/0.01673, allocations: 4 kB / 287.8 MB, free: 2.352 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.596e-05/0.0168, allocations: 19.98 kB / 287.9 MB, free: 2.332 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.585e-05/0.01685, allocations: 15.97 kB / 287.9 MB, free: 2.316 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.213e-06/0.01686, allocations: 4 kB / 287.9 MB, free: 2.312 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.935e-05/0.01693, allocations: 90.64 kB / 288 MB, free: 2.223 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01693, allocations: 0 / 288 MB, free: 2.223 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003083/0.01724, allocations: 95.78 kB / 288.1 MB, free: 2.129 MB / 266.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * 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: 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,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001172/0.01735, allocations: 80.42 kB / 288.1 MB, free: 2.043 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003237/0.01768, allocations: 242.9 kB / 288.4 MB, free: 1.793 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 7.884e-06/0.01768, allocations: 4 kB / 288.4 MB, free: 1.789 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001401/0.01782, allocations: 190.5 kB / 288.6 MB, free: 1.59 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002222/0.01805, allocations: 45.28 kB / 288.6 MB, free: 1.547 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008606/0.01891, allocations: 0.5161 MB / 289.1 MB, free: 1.008 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.778e-05/0.01897, allocations: 92.23 kB / 289.2 MB, free: 0.8984 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.137e-05/0.01904, allocations: 26.28 kB / 289.2 MB, free: 0.8711 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.693e-05/0.01913, allocations: 83.36 kB / 289.3 MB, free: 0.7891 MB / 266.7 MB Notification: Performance of SimCode: time 1.813e-06/0.01913, allocations: 0 / 289.3 MB, free: 0.7891 MB / 266.7 MB Notification: Performance of Templates: time 0.005855/0.02499, allocations: 3.446 MB / 292.8 MB, free: 13.4 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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] Reference file matches [Calling sys.exit(0), Time elapsed: 2.6503741261549294]