Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.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.001779/0.001779, allocations: 103.6 kB / 21.19 MB, free: 0.6445 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.001824/0.001824, allocations: 217.1 kB / 24.49 MB, free: 3.949 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.461/1.461, 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.InvertingAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|gain.opAmp.out.v|gain.opAmp.out.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|gain.opAmp.out.v|gain.opAmp.out.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001506/0.001506, allocations: 43.94 kB / 379 MB, free: 2.426 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2571/0.2586, allocations: 53.36 MB / 432.4 MB, free: 6.668 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier): time 0.004682/0.2633, allocations: 2.766 MB / 435.1 MB, free: 3.891 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001492/0.2648, allocations: 0.7285 MB / 435.9 MB, free: 3.156 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001634/0.2649, allocations: 4 kB / 435.9 MB, free: 3.152 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001868/0.2651, allocations: 51.5 kB / 435.9 MB, free: 3.102 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002154/0.2653, allocations: 103.2 kB / 436 MB, free: 3 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000334/0.2657, allocations: 123.8 kB / 436.1 MB, free: 2.879 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004832/0.2662, allocations: 414.4 kB / 436.5 MB, free: 2.473 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000228/0.2664, allocations: 94.61 kB / 436.6 MB, free: 2.379 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000204/0.2666, allocations: 159.4 kB / 436.8 MB, free: 2.223 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002406/0.2668, allocations: 175.2 kB / 437 MB, free: 2.051 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.718e-05/0.2669, allocations: 44 kB / 437 MB, free: 2.008 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.056e-05/0.267, allocations: 40 kB / 437 MB, free: 1.969 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.268e-05/0.267, allocations: 79.69 kB / 437.1 MB, free: 1.891 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000205/0.2672, allocations: 147.4 kB / 437.3 MB, free: 1.746 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005134/0.2678, allocations: 458 kB / 437.7 MB, free: 1.301 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.2678, allocations: 0 / 437.7 MB, free: 1.301 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.2678, allocations: 4 kB / 437.7 MB, free: 1.297 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.704e-06/0.2678, allocations: 0 / 437.7 MB, free: 1.297 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001317/0.2691, allocations: 0.608 MB / 438.3 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.401e-05/0.2692, allocations: 8.031 kB / 438.3 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.041e-05/0.2692, allocations: 36.7 kB / 438.4 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004322/0.2697, allocations: 253.8 kB / 438.6 MB, free: 348 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.135e-05/0.2697, allocations: 20.81 kB / 438.6 MB, free: 328 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.914e-05/0.2697, allocations: 24.38 kB / 438.7 MB, free: 304 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008109/0.2705, allocations: 378.5 kB / 439 MB, free: 15.9 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/0.2706, allocations: 4 kB / 439 MB, free: 15.89 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.321e-05/0.2706, allocations: 11.98 kB / 439 MB, free: 15.88 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.055e-05/0.2706, allocations: 8 kB / 439 MB, free: 15.88 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008265/0.2714, allocations: 285.8 kB / 439.3 MB, free: 15.59 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001888/0.2733, allocations: 0.9758 MB / 440.3 MB, free: 14.56 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008099/0.2741, allocations: 234.6 kB / 440.5 MB, free: 14.32 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003357/0.2745, allocations: 104.8 kB / 440.6 MB, free: 14.22 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.554e-05/0.2745, allocations: 0 / 440.6 MB, free: 14.22 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005044/0.275, allocations: 241.1 kB / 440.9 MB, free: 13.95 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.282e-06/0.275, allocations: 0 / 440.9 MB, free: 13.95 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.002415/0.2774, allocations: 0.5877 MB / 441.5 MB, free: 13.35 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.949e-05/0.2775, allocations: 106.8 kB / 441.6 MB, free: 13.22 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003084/0.2778, allocations: 273.8 kB / 441.8 MB, free: 12.94 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.966e-05/0.2778, allocations: 25.7 kB / 441.8 MB, free: 12.91 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001597/0.278, allocations: 212 kB / 442.1 MB, free: 12.7 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.018e-05/0.278, allocations: 39.69 kB / 442.1 MB, free: 12.66 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001009/0.2781, allocations: 57.89 kB / 442.2 MB, free: 12.59 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001568/0.2783, allocations: 330.8 kB / 442.5 MB, free: 12.26 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003778/0.2787, allocations: 134.1 kB / 442.6 MB, free: 12.12 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004685/0.2791, allocations: 293.9 kB / 442.9 MB, free: 11.78 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007115/0.2798, allocations: 303 kB / 443.2 MB, free: 11.44 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.2798, allocations: 0 / 443.2 MB, free: 11.44 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001282/0.2811, allocations: 0.5052 MB / 443.7 MB, free: 10.91 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.51e-05/0.2812, allocations: 33.7 kB / 443.7 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.2812, allocations: 0 / 443.7 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003911/0.2816, allocations: 92.84 kB / 443.8 MB, free: 10.78 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002172/0.2818, allocations: 47.91 kB / 443.9 MB, free: 10.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002783/0.2846, allocations: 1.856 MB / 445.7 MB, free: 8.777 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003384/0.2849, allocations: 51.78 kB / 445.8 MB, free: 8.727 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.447e-05/0.2849, allocations: 8 kB / 445.8 MB, free: 8.719 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: 5 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 1 * 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,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001786/0.2851, allocations: 163.3 kB / 445.9 MB, free: 8.555 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.908e-05/0.2852, allocations: 19.86 kB / 446 MB, free: 8.535 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.178e-05/0.2852, allocations: 29.77 kB / 446 MB, free: 8.504 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.2852, allocations: 0 / 446 MB, free: 8.504 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.773e-06/0.2852, allocations: 0 / 446 MB, free: 8.504 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.2852, allocations: 0 / 446 MB, free: 8.504 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002604/0.2855, allocations: 229.2 kB / 446.2 MB, free: 8.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.2855, allocations: 4 kB / 446.2 MB, free: 8.246 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001365/0.2856, allocations: 23.97 kB / 446.2 MB, free: 8.223 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002753/0.2859, allocations: 84.73 kB / 446.3 MB, free: 8.137 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.784e-05/0.2859, allocations: 4 kB / 446.3 MB, free: 8.133 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002426/0.2883, allocations: 1.667 MB / 448 MB, free: 6.359 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.2883, allocations: 0 / 448 MB, free: 6.359 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001091/0.2894, allocations: 376.8 kB / 448.4 MB, free: 5.973 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.539e-05/0.2895, allocations: 23.84 kB / 448.4 MB, free: 5.949 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.7e-05/0.2895, allocations: 4.188 kB / 448.4 MB, free: 5.945 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002443/0.2898, allocations: 39.97 kB / 448.4 MB, free: 5.906 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.751e-05/0.2899, allocations: 19.95 kB / 448.4 MB, free: 5.887 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.499e-05/0.2899, allocations: 4 kB / 448.4 MB, free: 5.883 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002204/0.2901, allocations: 189.2 kB / 448.6 MB, free: 5.699 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2901, allocations: 3.938 kB / 448.6 MB, free: 5.695 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003901/0.2905, allocations: 83.78 kB / 448.7 MB, free: 5.613 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: 3 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001383/0.2906, allocations: 111.2 kB / 448.8 MB, free: 5.492 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001023/0.2916, allocations: 443.6 kB / 449.3 MB, free: 5.027 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.2916, allocations: 0 / 449.3 MB, free: 5.027 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005058/0.2921, allocations: 238.5 kB / 449.5 MB, free: 4.781 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003261/0.2925, allocations: 48.97 kB / 449.5 MB, free: 4.734 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001099/0.2936, allocations: 0.5059 MB / 450 MB, free: 4.199 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001428/0.2937, allocations: 142.9 kB / 450.2 MB, free: 4.043 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.335e-05/0.2938, allocations: 23.42 kB / 450.2 MB, free: 4.023 MB / 350.1 MB Notification: Performance of SimCode: time 5.11e-07/0.2938, allocations: 4 kB / 450.2 MB, free: 4.02 MB / 350.1 MB Notification: Performance of Templates: time 0.007482/0.3013, allocations: 4.797 MB / 455 MB, free: 15.24 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/InvertingAmplifier/InvertingAmplifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.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.393290237989277]