Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001869/0.001869, allocations: 111.6 kB / 21.19 MB, free: 0.6641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002277/0.002277, allocations: 219.4 kB / 24.48 MB, free: 3.965 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.48/1.48, allocations: 230.5 MB / 258.1 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00197/0.00197, allocations: 59.91 kB / 379 MB, free: 2.305 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2807/0.2826, allocations: 53.41 MB / 432.4 MB, free: 6.559 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier): time 0.00686/0.2895, allocations: 2.778 MB / 435.2 MB, free: 3.77 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00208/0.2916, allocations: 0.7129 MB / 435.9 MB, free: 3.051 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003249/0.2919, allocations: 7.938 kB / 435.9 MB, free: 3.043 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002603/0.2922, allocations: 55.5 kB / 436 MB, free: 2.988 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005105/0.2927, allocations: 99.19 kB / 436.1 MB, free: 2.891 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004343/0.2931, allocations: 107.8 kB / 436.2 MB, free: 2.785 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008767/0.294, allocations: 406.4 kB / 436.6 MB, free: 2.387 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000293/0.2943, allocations: 94.61 kB / 436.7 MB, free: 2.293 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003991/0.2947, allocations: 163.4 kB / 436.8 MB, free: 2.133 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000364/0.295, allocations: 147.2 kB / 437 MB, free: 1.988 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000107/0.2951, allocations: 44 kB / 437 MB, free: 1.945 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001115/0.2953, allocations: 40 kB / 437 MB, free: 1.906 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001362/0.2954, allocations: 87.67 kB / 437.1 MB, free: 1.82 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002777/0.2957, allocations: 147.3 kB / 437.3 MB, free: 1.676 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007652/0.2964, allocations: 466 kB / 437.7 MB, free: 1.223 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.2964, allocations: 3.938 kB / 437.7 MB, free: 1.219 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.445e-06/0.2964, allocations: 0 / 437.7 MB, free: 1.219 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.618e-05/0.2965, allocations: 0 / 437.7 MB, free: 1.219 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.001842/0.2983, allocations: 0.5975 MB / 438.3 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.21e-05/0.2984, allocations: 11.98 kB / 438.3 MB, free: 0.5742 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001405/0.2985, allocations: 36.75 kB / 438.4 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007039/0.2992, allocations: 257.8 kB / 438.6 MB, free: 268 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.882e-05/0.2993, allocations: 21.03 kB / 438.6 MB, free: 244 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.539e-05/0.2993, allocations: 24.38 kB / 438.7 MB, free: 220 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009876/0.3003, allocations: 367.5 kB / 439 MB, free: 15.84 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.572e-05/0.3003, allocations: 0 / 439 MB, free: 15.84 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.255e-05/0.3004, allocations: 12 kB / 439 MB, free: 15.82 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.959e-06/0.3004, allocations: 4 kB / 439 MB, free: 15.82 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009599/0.3013, allocations: 262.5 kB / 439.3 MB, free: 15.57 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002625/0.304, allocations: 0.9247 MB / 440.2 MB, free: 14.57 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008728/0.3048, allocations: 206.6 kB / 440.4 MB, free: 14.36 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003724/0.3052, allocations: 100.7 kB / 440.5 MB, free: 14.26 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.899e-05/0.3052, allocations: 0 / 440.5 MB, free: 14.26 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005392/0.3058, allocations: 255 kB / 440.8 MB, free: 13.97 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.734e-06/0.3058, allocations: 4 kB / 440.8 MB, free: 13.97 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.001896/0.3077, allocations: 449.8 kB / 441.2 MB, free: 13.52 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001765/0.3078, allocations: 140.5 kB / 441.4 MB, free: 13.35 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004739/0.3083, allocations: 269.9 kB / 441.6 MB, free: 13.08 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.365e-05/0.3084, allocations: 25.7 kB / 441.6 MB, free: 13.05 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000159/0.3085, allocations: 208 kB / 441.8 MB, free: 12.84 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.375e-05/0.3086, allocations: 59.47 kB / 441.9 MB, free: 12.78 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001009/0.3087, allocations: 53.7 kB / 442 MB, free: 12.72 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001577/0.3088, allocations: 334.8 kB / 442.3 MB, free: 12.39 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003145/0.3091, allocations: 117.6 kB / 442.4 MB, free: 12.27 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004484/0.3096, allocations: 303.5 kB / 442.7 MB, free: 11.9 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006219/0.3102, allocations: 293.6 kB / 443 MB, free: 11.58 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.3102, allocations: 0 / 443 MB, free: 11.58 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001111/0.3113, allocations: 433.5 kB / 443.4 MB, free: 11.13 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.945e-05/0.3114, allocations: 44.06 kB / 443.5 MB, free: 11.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.3114, allocations: 4 kB / 443.5 MB, free: 11.08 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003714/0.3118, allocations: 76.8 kB / 443.5 MB, free: 11 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002173/0.312, allocations: 47.84 kB / 443.6 MB, free: 10.96 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002432/0.3145, allocations: 1.669 MB / 445.2 MB, free: 9.18 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000335/0.3148, allocations: 55.86 kB / 445.3 MB, free: 9.125 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.605e-05/0.3148, allocations: 12 kB / 445.3 MB, free: 9.113 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 7 (gain.opAmp.satNeg,gain.opAmp.satPos,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 (24): * Single equations (assignments): 22 * 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,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0001858/0.315, allocations: 153.1 kB / 445.5 MB, free: 8.957 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.803e-05/0.315, allocations: 27.8 kB / 445.5 MB, free: 8.93 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.964e-05/0.3151, allocations: 30.11 kB / 445.5 MB, free: 8.902 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.3151, allocations: 0 / 445.5 MB, free: 8.902 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.796e-06/0.3151, allocations: 192 / 445.5 MB, free: 8.902 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.3151, allocations: 8 kB / 445.5 MB, free: 8.895 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002855/0.3154, allocations: 213.2 kB / 445.7 MB, free: 8.656 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/0.3154, allocations: 3.938 kB / 445.7 MB, free: 8.652 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001467/0.3156, allocations: 27.97 kB / 445.8 MB, free: 8.625 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002916/0.3158, allocations: 72.78 kB / 445.8 MB, free: 8.551 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.106e-05/0.3159, allocations: 4 kB / 445.8 MB, free: 8.547 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002118/0.318, allocations: 1.669 MB / 447.5 MB, free: 6.77 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.16e-06/0.318, allocations: 12.14 kB / 447.5 MB, free: 6.758 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008528/0.3188, allocations: 309.5 kB / 447.8 MB, free: 6.434 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.612e-05/0.3189, allocations: 27.8 kB / 447.9 MB, free: 6.406 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.206e-05/0.319, allocations: 8.172 kB / 447.9 MB, free: 6.398 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002428/0.3192, allocations: 39.97 kB / 447.9 MB, free: 6.359 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.997e-05/0.3193, allocations: 23.95 kB / 447.9 MB, free: 6.336 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.325e-05/0.3193, allocations: 7.938 kB / 447.9 MB, free: 6.328 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002175/0.3195, allocations: 189.2 kB / 448.1 MB, free: 6.141 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3195, allocations: 0 / 448.1 MB, free: 6.141 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003608/0.3199, allocations: 87.83 kB / 448.2 MB, free: 6.055 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: 5 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count,gain.opAmp.satPos,gain.opAmp.satNeg) * Number of discrete states: 1 (vIn.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 8 * 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,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001363/0.32, allocations: 103.2 kB / 448.3 MB, free: 5.945 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009745/0.321, allocations: 445 kB / 448.7 MB, free: 5.484 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.321, allocations: 0 / 448.7 MB, free: 5.484 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004776/0.3215, allocations: 239.1 kB / 449 MB, free: 5.238 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003227/0.3218, allocations: 48.39 kB / 449 MB, free: 5.191 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002008/0.3238, allocations: 0.622 MB / 449.6 MB, free: 4.539 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001603/0.3239, allocations: 151.5 kB / 449.8 MB, free: 4.367 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.114e-05/0.324, allocations: 27.42 kB / 449.8 MB, free: 4.34 MB / 350.1 MB Notification: Performance of SimCode: time 4.1e-07/0.324, allocations: 0 / 449.8 MB, free: 4.34 MB / 350.1 MB Notification: Performance of Templates: time 0.008371/0.3324, allocations: 4.994 MB / 454.8 MB, free: 15.36 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.452118671964854]