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.001325/0.001325, allocations: 103.6 kB / 21.19 MB, free: 0.5156 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.001447/0.001447, allocations: 210.1 kB / 24.48 MB, free: 3.836 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.457/1.457, allocations: 230.6 MB / 258.2 MB, free: 7.805 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.001601/0.001601, allocations: 51.92 kB / 379 MB, free: 2.441 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2651/0.2667, allocations: 53.37 MB / 432.4 MB, free: 6.711 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Adder): time 0.004605/0.2713, allocations: 2.965 MB / 435.3 MB, free: 3.734 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001564/0.2729, allocations: 0.7831 MB / 436.1 MB, free: 2.945 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001766/0.2731, allocations: 11.88 kB / 436.1 MB, free: 2.934 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001957/0.2733, allocations: 59.42 kB / 436.2 MB, free: 2.875 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002431/0.2735, allocations: 115 kB / 436.3 MB, free: 2.762 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003633/0.2739, allocations: 143.7 kB / 436.4 MB, free: 2.621 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000466/0.2744, allocations: 442.2 kB / 436.9 MB, free: 2.188 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002309/0.2746, allocations: 107.3 kB / 437 MB, free: 2.086 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002892/0.2749, allocations: 175.4 kB / 437.1 MB, free: 1.914 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002227/0.2751, allocations: 163.2 kB / 437.3 MB, free: 1.754 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.207e-05/0.2752, allocations: 44 kB / 437.3 MB, free: 1.711 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001024/0.2753, allocations: 44 kB / 437.4 MB, free: 1.668 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.855e-05/0.2753, allocations: 87.69 kB / 437.5 MB, free: 1.582 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000165/0.2755, allocations: 159.3 kB / 437.6 MB, free: 1.426 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005605/0.2761, allocations: 0.5095 MB / 438.1 MB, free: 0.918 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.2761, allocations: 0 / 438.1 MB, free: 0.918 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.2761, allocations: 4 kB / 438.1 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.183e-06/0.2761, allocations: 0 / 438.1 MB, free: 0.9141 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.001102/0.2772, allocations: 0.6025 MB / 438.7 MB, free: 284 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.038e-05/0.2772, allocations: 12.03 kB / 438.8 MB, free: 272 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001956/0.2774, allocations: 48.69 kB / 438.8 MB, free: 224 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004807/0.2779, allocations: 258 kB / 439.1 MB, free: 15.94 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.628e-05/0.2779, allocations: 25.03 kB / 439.1 MB, free: 15.91 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.505e-05/0.278, allocations: 28.38 kB / 439.1 MB, free: 15.89 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007015/0.2787, allocations: 434.5 kB / 439.5 MB, free: 15.44 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/0.2787, allocations: 0 / 439.5 MB, free: 15.44 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.761e-05/0.2787, allocations: 16 kB / 439.5 MB, free: 15.42 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.243e-05/0.2787, allocations: 8 kB / 439.6 MB, free: 15.41 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006071/0.2794, allocations: 274.4 kB / 439.8 MB, free: 15.14 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001926/0.2813, allocations: 1.067 MB / 440.9 MB, free: 14.02 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005803/0.2819, allocations: 202.8 kB / 441.1 MB, free: 13.81 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002166/0.2821, allocations: 88.75 kB / 441.2 MB, free: 13.72 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.343e-05/0.2821, allocations: 8 kB / 441.2 MB, free: 13.71 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.034e-05/0.2821, allocations: 38.5 kB / 441.2 MB, free: 13.66 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 1.633e-06/0.2821, allocations: 0 / 441.2 MB, free: 13.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.002116/0.2842, allocations: 0.5635 MB / 441.8 MB, free: 13.09 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.09e-05/0.2843, allocations: 51.41 kB / 441.8 MB, free: 13.03 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003115/0.2846, allocations: 269.8 kB / 442.1 MB, free: 12.76 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.634e-05/0.2846, allocations: 29.7 kB / 442.1 MB, free: 12.73 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001626/0.2848, allocations: 220.2 kB / 442.3 MB, free: 12.5 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.802e-05/0.2848, allocations: 67.45 kB / 442.4 MB, free: 12.44 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.193e-05/0.2849, allocations: 49.64 kB / 442.5 MB, free: 12.38 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002139/0.2851, allocations: 334.8 kB / 442.8 MB, free: 12.05 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002169/0.2854, allocations: 75.95 kB / 442.9 MB, free: 11.97 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002907/0.2856, allocations: 174.1 kB / 443 MB, free: 11.77 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004876/0.2861, allocations: 242.1 kB / 443.3 MB, free: 11.49 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.2861, allocations: 0 / 443.3 MB, free: 11.49 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.00101/0.2871, allocations: 404.7 kB / 443.7 MB, free: 11.09 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.2872, allocations: 8 kB / 443.7 MB, free: 11.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/0.2872, allocations: 4 kB / 443.7 MB, free: 11.08 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004371/0.2876, allocations: 104.8 kB / 443.8 MB, free: 10.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001605/0.2878, allocations: 39.92 kB / 443.8 MB, free: 10.94 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003263/0.291, allocations: 2.017 MB / 445.8 MB, free: 8.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002342/0.2913, allocations: 43.7 kB / 445.9 MB, free: 8.777 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.363e-05/0.2913, allocations: 16.06 kB / 445.9 MB, free: 8.762 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.0001774/0.2915, allocations: 149.8 kB / 446 MB, free: 8.605 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.513e-05/0.2915, allocations: 23.86 kB / 446.1 MB, free: 8.582 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.203e-05/0.2916, allocations: 21.78 kB / 446.1 MB, free: 8.562 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.2916, allocations: 4 kB / 446.1 MB, free: 8.559 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.2916, allocations: 4 kB / 446.1 MB, free: 8.555 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.324e-06/0.2916, allocations: 7.922 kB / 446.1 MB, free: 8.547 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001272/0.2929, allocations: 0.6083 MB / 446.7 MB, free: 7.895 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.2929, allocations: 0 / 446.7 MB, free: 7.895 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.489e-05/0.2929, allocations: 15.98 kB / 446.7 MB, free: 7.879 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003481/0.2933, allocations: 108.8 kB / 446.8 MB, free: 7.77 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.459e-05/0.2933, allocations: 7.938 kB / 446.8 MB, free: 7.762 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002891/0.2962, allocations: 2.009 MB / 448.8 MB, free: 5.652 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.2962, allocations: 0 / 448.8 MB, free: 5.652 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009085/0.2971, allocations: 412.4 kB / 449.2 MB, free: 5.23 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.978e-05/0.2972, allocations: 19.86 kB / 449.3 MB, free: 5.211 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.084e-05/0.2972, allocations: 11.92 kB / 449.3 MB, free: 5.199 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002021/0.2974, allocations: 19.98 kB / 449.3 MB, free: 5.18 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.116e-05/0.2974, allocations: 15.97 kB / 449.3 MB, free: 5.164 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.484e-05/0.2975, allocations: 4 kB / 449.3 MB, free: 5.16 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000219/0.2977, allocations: 189.2 kB / 449.5 MB, free: 4.973 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2977, allocations: 4 kB / 449.5 MB, free: 4.969 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005044/0.2982, allocations: 95.78 kB / 449.6 MB, free: 4.875 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.0001324/0.2983, allocations: 99.19 kB / 449.7 MB, free: 4.77 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007535/0.2991, allocations: 341.5 kB / 450 MB, free: 4.426 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.2991, allocations: 3.938 kB / 450 MB, free: 4.422 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003754/0.2994, allocations: 222.6 kB / 450.2 MB, free: 4.191 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003658/0.2998, allocations: 36.98 kB / 450.3 MB, free: 4.156 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001183/0.301, allocations: 0.5767 MB / 450.9 MB, free: 3.547 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001678/0.3012, allocations: 164.8 kB / 451 MB, free: 3.363 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.8e-05/0.3012, allocations: 23.44 kB / 451 MB, free: 3.34 MB / 350.1 MB Notification: Performance of SimCode: time 3.6e-07/0.3012, allocations: 0 / 451 MB, free: 3.34 MB / 350.1 MB Notification: Performance of Templates: time 0.007181/0.3084, allocations: 4.723 MB / 455.8 MB, free: 14.62 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: 7.130797538906336]