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.001695/0.001695, allocations: 112.2 kB / 21.19 MB, free: 0.7812 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.001427/0.001427, allocations: 214.5 kB / 24.49 MB, free: 4.18 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.426/1.426, allocations: 230.6 MB / 258.3 MB, free: 8.215 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.00149/0.00149, allocations: 43.94 kB / 379.1 MB, free: 2.664 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2573/0.2588, allocations: 53.37 MB / 432.4 MB, free: 6.957 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier): time 0.004507/0.2633, allocations: 2.988 MB / 435.4 MB, free: 3.957 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001337/0.2646, allocations: 0.7713 MB / 436.2 MB, free: 3.18 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001511/0.2648, allocations: 4 kB / 436.2 MB, free: 3.176 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001634/0.2649, allocations: 51.5 kB / 436.2 MB, free: 3.125 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001914/0.2651, allocations: 103.2 kB / 436.3 MB, free: 3.023 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002957/0.2654, allocations: 119.8 kB / 436.4 MB, free: 2.906 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004716/0.2659, allocations: 414.4 kB / 436.9 MB, free: 2.5 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002114/0.2661, allocations: 95.66 kB / 436.9 MB, free: 2.402 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002009/0.2663, allocations: 163.4 kB / 437.1 MB, free: 2.242 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002269/0.2665, allocations: 171.2 kB / 437.3 MB, free: 2.074 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.22e-05/0.2666, allocations: 40 kB / 437.3 MB, free: 2.035 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.633e-05/0.2666, allocations: 40 kB / 437.4 MB, free: 1.996 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.533e-05/0.2667, allocations: 83.69 kB / 437.4 MB, free: 1.914 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001771/0.2669, allocations: 175.2 kB / 437.6 MB, free: 1.742 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005006/0.2674, allocations: 447.5 kB / 438 MB, free: 1.309 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.2674, allocations: 0 / 438 MB, free: 1.309 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.2674, allocations: 4 kB / 438 MB, free: 1.305 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.646e-06/0.2674, allocations: 4 kB / 438 MB, free: 1.301 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.0013/0.2687, allocations: 0.6131 MB / 438.7 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.2688, allocations: 8.031 kB / 438.7 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.429e-05/0.2688, allocations: 40.64 kB / 438.7 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004452/0.2693, allocations: 253.8 kB / 439 MB, free: 340 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.598e-05/0.2693, allocations: 16.88 kB / 439 MB, free: 324 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.862e-05/0.2693, allocations: 20.38 kB / 439 MB, free: 304 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00073/0.2701, allocations: 335.1 kB / 439.3 MB, free: 15.95 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.2701, allocations: 0 / 439.3 MB, free: 15.95 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.815e-05/0.2701, allocations: 8 kB / 439.3 MB, free: 15.95 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.754e-06/0.2701, allocations: 7.938 kB / 439.3 MB, free: 15.94 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007815/0.2709, allocations: 289.8 kB / 439.6 MB, free: 15.65 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001888/0.2728, allocations: 1.108 MB / 440.7 MB, free: 14.48 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008016/0.2736, allocations: 242.6 kB / 441 MB, free: 14.23 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000323/0.2739, allocations: 96.78 kB / 441.1 MB, free: 14.13 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.435e-05/0.2739, allocations: 4 kB / 441.1 MB, free: 14.13 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004682/0.2744, allocations: 184.8 kB / 441.2 MB, free: 13.93 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.262e-06/0.2744, allocations: 0 / 441.2 MB, free: 13.93 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.002224/0.2766, allocations: 0.5877 MB / 441.8 MB, free: 13.33 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.057e-05/0.2767, allocations: 106.8 kB / 441.9 MB, free: 13.2 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003218/0.277, allocations: 285.8 kB / 442.2 MB, free: 12.91 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.724e-05/0.2771, allocations: 29.7 kB / 442.2 MB, free: 12.88 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001451/0.2772, allocations: 196.1 kB / 442.4 MB, free: 12.68 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.676e-05/0.2772, allocations: 55.56 kB / 442.5 MB, free: 12.62 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.829e-05/0.2773, allocations: 49.94 kB / 442.5 MB, free: 12.57 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001489/0.2775, allocations: 335 kB / 442.9 MB, free: 12.23 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003443/0.2778, allocations: 104.4 kB / 443 MB, free: 12.13 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004015/0.2782, allocations: 212.7 kB / 443.2 MB, free: 11.88 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006806/0.2789, allocations: 303.8 kB / 443.5 MB, free: 11.54 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.2789, allocations: 4 kB / 443.5 MB, free: 11.54 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001188/0.2801, allocations: 478.6 kB / 443.9 MB, free: 11.05 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.18e-05/0.2801, allocations: 37.77 kB / 444 MB, free: 11.01 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.869e-06/0.2802, allocations: 4 kB / 444 MB, free: 11.01 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003686/0.2805, allocations: 84.8 kB / 444.1 MB, free: 10.92 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001995/0.2807, allocations: 47.91 kB / 444.1 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002619/0.2833, allocations: 1.886 MB / 446 MB, free: 8.875 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003079/0.2837, allocations: 51.86 kB / 446 MB, free: 8.824 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.29e-05/0.2837, allocations: 20 kB / 446.1 MB, free: 8.805 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.0001704/0.2838, allocations: 153.7 kB / 446.2 MB, free: 8.645 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.862e-05/0.2839, allocations: 23.86 kB / 446.2 MB, free: 8.621 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.743e-05/0.2839, allocations: 21.77 kB / 446.3 MB, free: 8.598 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.2839, allocations: 4 kB / 446.3 MB, free: 8.594 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-06/0.2839, allocations: 0 / 446.3 MB, free: 8.594 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.2839, allocations: 0 / 446.3 MB, free: 8.594 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003299/0.2843, allocations: 308.4 kB / 446.6 MB, free: 8.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.2843, allocations: 4 kB / 446.6 MB, free: 8.246 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001322/0.2844, allocations: 20.09 kB / 446.6 MB, free: 8.227 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002705/0.2847, allocations: 88.75 kB / 446.7 MB, free: 8.137 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.53e-05/0.2847, allocations: 7.984 kB / 446.7 MB, free: 8.129 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002252/0.2869, allocations: 1.697 MB / 448.4 MB, free: 6.312 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/0.2869, allocations: 7.969 kB / 448.4 MB, free: 6.305 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00101/0.288, allocations: 365.6 kB / 448.7 MB, free: 5.926 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.98e-05/0.288, allocations: 31.69 kB / 448.8 MB, free: 5.895 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.719e-05/0.288, allocations: 7.984 kB / 448.8 MB, free: 5.887 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002292/0.2883, allocations: 31.97 kB / 448.8 MB, free: 5.855 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.756e-05/0.2883, allocations: 19.97 kB / 448.8 MB, free: 5.836 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.239e-05/0.2883, allocations: 4.172 kB / 448.8 MB, free: 5.832 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002074/0.2886, allocations: 205.2 kB / 449 MB, free: 5.633 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2886, allocations: 0 / 449 MB, free: 5.633 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003576/0.2889, allocations: 79.89 kB / 449.1 MB, free: 5.555 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.0001297/0.289, allocations: 103.2 kB / 449.2 MB, free: 5.441 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009608/0.29, allocations: 420.2 kB / 449.6 MB, free: 5.012 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.29, allocations: 0 / 449.6 MB, free: 5.012 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004587/0.2905, allocations: 243 kB / 449.9 MB, free: 4.762 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003097/0.2908, allocations: 52.45 kB / 449.9 MB, free: 4.711 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001064/0.2918, allocations: 0.5098 MB / 450.4 MB, free: 4.172 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003751/0.2922, allocations: 0.7558 MB / 451.2 MB, free: 3.391 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.741e-05/0.2923, allocations: 19.44 kB / 451.2 MB, free: 3.375 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2923, allocations: 0 / 451.2 MB, free: 3.375 MB / 350.1 MB Notification: Performance of Templates: time 0.007324/0.2996, allocations: 4.78 MB / 456 MB, free: 14.62 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.076425862964243]