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.001606/0.001606, allocations: 112.2 kB / 21.19 MB, free: 0.7578 MB / 14.72 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.001769/0.001769, allocations: 209.8 kB / 24.49 MB, free: 4.133 MB / 14.72 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 1.395/1.395, allocations: 230.6 MB / 258.3 MB, free: 8.234 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001622/0.001622, allocations: 47.92 kB / 379.1 MB, free: 2.652 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2411/0.2427, allocations: 53.37 MB / 432.4 MB, free: 6.922 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Adder): time 0.004599/0.2473, allocations: 3.229 MB / 435.7 MB, free: 3.68 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001441/0.2488, allocations: 0.8219 MB / 436.5 MB, free: 2.852 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000153/0.2489, allocations: 11.94 kB / 436.5 MB, free: 2.84 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001796/0.2491, allocations: 55.44 kB / 436.5 MB, free: 2.785 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002122/0.2493, allocations: 119 kB / 436.7 MB, free: 2.668 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000334/0.2496, allocations: 139.8 kB / 436.8 MB, free: 2.531 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004859/0.2501, allocations: 442.2 kB / 437.2 MB, free: 2.098 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000224/0.2504, allocations: 112.4 kB / 437.3 MB, free: 1.988 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002842/0.2506, allocations: 175.4 kB / 437.5 MB, free: 1.816 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002459/0.2509, allocations: 183.2 kB / 437.7 MB, free: 1.637 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.672e-05/0.2509, allocations: 44 kB / 437.7 MB, free: 1.594 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.887e-05/0.251, allocations: 44 kB / 437.8 MB, free: 1.551 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.466e-05/0.2511, allocations: 87.64 kB / 437.9 MB, free: 1.465 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001843/0.2513, allocations: 199.1 kB / 438.1 MB, free: 1.27 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000555/0.2519, allocations: 0.5032 MB / 438.6 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.2519, allocations: 0 / 438.6 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.2519, allocations: 3.938 kB / 438.6 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.013e-06/0.2519, allocations: 0 / 438.6 MB, free: 0.7656 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.001067/0.2529, allocations: 0.6025 MB / 439.2 MB, free: 132 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.393e-05/0.253, allocations: 15.97 kB / 439.2 MB, free: 116 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000182/0.2532, allocations: 48.69 kB / 439.2 MB, free: 68 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004441/0.2536, allocations: 257.8 kB / 439.5 MB, free: 15.79 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.493e-05/0.2536, allocations: 25.03 kB / 439.5 MB, free: 15.77 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.075e-05/0.2537, allocations: 28.38 kB / 439.5 MB, free: 15.74 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006577/0.2543, allocations: 353.4 kB / 439.9 MB, free: 15.39 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.2543, allocations: 0 / 439.9 MB, free: 15.39 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.297e-05/0.2544, allocations: 16 kB / 439.9 MB, free: 15.37 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-06/0.2544, allocations: 4 kB / 439.9 MB, free: 15.37 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006025/0.255, allocations: 282.4 kB / 440.2 MB, free: 15.09 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002024/0.257, allocations: 1.214 MB / 441.4 MB, free: 13.8 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000561/0.2576, allocations: 209 kB / 441.6 MB, free: 13.59 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002077/0.2578, allocations: 88.75 kB / 441.7 MB, free: 13.5 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.173e-05/0.2578, allocations: 4 kB / 441.7 MB, free: 13.5 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.039e-05/0.2578, allocations: 34.56 kB / 441.7 MB, free: 13.45 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 1.403e-06/0.2578, allocations: 3.938 kB / 441.7 MB, free: 13.45 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.002066/0.2599, allocations: 0.5598 MB / 442.3 MB, free: 12.88 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.064e-05/0.2599, allocations: 55.41 kB / 442.3 MB, free: 12.82 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000341/0.2603, allocations: 304.1 kB / 442.6 MB, free: 12.51 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.857e-05/0.2603, allocations: 37.69 kB / 442.7 MB, free: 12.47 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000157/0.2605, allocations: 216.3 kB / 442.9 MB, free: 12.25 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.263e-05/0.2605, allocations: 59.52 kB / 442.9 MB, free: 12.2 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.045e-05/0.2606, allocations: 49.66 kB / 443 MB, free: 12.14 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001514/0.2608, allocations: 334.8 kB / 443.3 MB, free: 11.8 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002157/0.261, allocations: 83.95 kB / 443.4 MB, free: 11.72 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002588/0.2612, allocations: 162.2 kB / 443.6 MB, free: 11.53 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004707/0.2617, allocations: 249.1 kB / 443.8 MB, free: 11.25 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.2617, allocations: 0 / 443.8 MB, free: 11.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000975/0.2627, allocations: 402 kB / 444.2 MB, free: 10.85 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.2627, allocations: 7.938 kB / 444.2 MB, free: 10.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.2627, allocations: 8.141 kB / 444.2 MB, free: 10.83 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004186/0.2631, allocations: 112.7 kB / 444.3 MB, free: 10.72 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001515/0.2633, allocations: 35.92 kB / 444.4 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003094/0.2664, allocations: 2.063 MB / 446.4 MB, free: 8.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002236/0.2666, allocations: 39.72 kB / 446.5 MB, free: 8.461 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.947e-05/0.2666, allocations: 16.06 kB / 446.5 MB, free: 8.445 MB / 350.1 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 0.0001612/0.2668, allocations: 145.8 kB / 446.6 MB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.488e-05/0.2668, allocations: 27.86 kB / 446.6 MB, free: 8.266 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.97e-05/0.2669, allocations: 25.84 kB / 446.7 MB, free: 8.238 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.223e-06/0.2669, allocations: 7.938 kB / 446.7 MB, free: 8.23 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.2669, allocations: 4 kB / 446.7 MB, free: 8.227 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.2669, allocations: 3.938 kB / 446.7 MB, free: 8.223 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001302/0.2682, allocations: 0.6974 MB / 447.4 MB, free: 7.469 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.2682, allocations: 0 / 447.4 MB, free: 7.469 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.354e-05/0.2683, allocations: 12 kB / 447.4 MB, free: 7.457 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000325/0.2686, allocations: 100.8 kB / 447.5 MB, free: 7.355 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.793e-05/0.2686, allocations: 7.938 kB / 447.5 MB, free: 7.348 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002907/0.2715, allocations: 2.059 MB / 449.6 MB, free: 5.18 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.2715, allocations: 3.938 kB / 449.6 MB, free: 5.176 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008569/0.2724, allocations: 408.5 kB / 450 MB, free: 4.758 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.801e-05/0.2725, allocations: 35.73 kB / 450 MB, free: 4.723 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.867e-05/0.2725, allocations: 0 / 450 MB, free: 4.723 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002027/0.2727, allocations: 23.98 kB / 450 MB, free: 4.699 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.063e-05/0.2727, allocations: 15.97 kB / 450 MB, free: 4.684 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.418e-05/0.2727, allocations: 7.938 kB / 450 MB, free: 4.676 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002351/0.273, allocations: 211.1 kB / 450.2 MB, free: 4.473 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.273, allocations: 4 kB / 450.2 MB, free: 4.469 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004802/0.2735, allocations: 83.89 kB / 450.3 MB, free: 4.387 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: 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.0001311/0.2736, allocations: 99.23 kB / 450.4 MB, free: 4.277 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007382/0.2743, allocations: 344.3 kB / 450.8 MB, free: 3.934 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.2743, allocations: 0 / 450.8 MB, free: 3.934 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003674/0.2747, allocations: 227.2 kB / 451 MB, free: 3.699 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003666/0.2751, allocations: 40.91 kB / 451 MB, free: 3.652 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001146/0.2762, allocations: 0.5922 MB / 451.6 MB, free: 3.027 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004048/0.2766, allocations: 0.7675 MB / 452.4 MB, free: 2.234 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.688e-05/0.2767, allocations: 23.42 kB / 452.4 MB, free: 2.211 MB / 350.1 MB Notification: Performance of SimCode: time 5.01e-07/0.2767, allocations: 0 / 452.4 MB, free: 2.211 MB / 350.1 MB Notification: Performance of Templates: time 0.00714/0.2838, allocations: 4.769 MB / 457.2 MB, free: 13.45 MB / 366.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.92648597387597]