Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.00521/0.00521, allocations: 107.9 kB / 21.97 MB, free: 5.184 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.001432/0.001432, allocations: 218.2 kB / 25.29 MB, free: 3.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.446/1.446, allocations: 230.6 MB / 259 MB, free: 8.035 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-beta.om/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_4.1.0-beta.om_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-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001979/0.001979, allocations: 67.89 kB / 379.8 MB, free: 2.637 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3122/0.3142, allocations: 53.36 MB / 433.2 MB, free: 6.969 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier): time 0.004382/0.3186, allocations: 2.984 MB / 436.2 MB, free: 3.973 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001494/0.3201, allocations: 0.7674 MB / 436.9 MB, free: 3.199 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001626/0.3202, allocations: 7.938 kB / 437 MB, free: 3.191 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001867/0.3204, allocations: 51.5 kB / 437 MB, free: 3.141 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002132/0.3206, allocations: 107.2 kB / 437.1 MB, free: 3.035 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003205/0.3209, allocations: 123.8 kB / 437.2 MB, free: 2.914 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004911/0.3214, allocations: 410.4 kB / 437.6 MB, free: 2.512 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002144/0.3216, allocations: 95.66 kB / 437.7 MB, free: 2.414 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002191/0.3219, allocations: 163.4 kB / 437.9 MB, free: 2.254 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002326/0.3221, allocations: 171.2 kB / 438.1 MB, free: 2.086 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.189e-05/0.3222, allocations: 40 kB / 438.1 MB, free: 2.047 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.15e-05/0.3222, allocations: 40 kB / 438.1 MB, free: 2.008 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.259e-05/0.3223, allocations: 87.69 kB / 438.2 MB, free: 1.922 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001796/0.3225, allocations: 175.2 kB / 438.4 MB, free: 1.75 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005394/0.323, allocations: 447.5 kB / 438.8 MB, free: 1.316 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.323, allocations: 0 / 438.8 MB, free: 1.316 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.323, allocations: 0 / 438.8 MB, free: 1.316 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.005e-06/0.323, allocations: 0 / 438.8 MB, free: 1.316 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.001313/0.3244, allocations: 0.6131 MB / 439.4 MB, free: 0.668 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.3244, allocations: 12.03 kB / 439.4 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.205e-05/0.3245, allocations: 40.64 kB / 439.5 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00045/0.3249, allocations: 249.8 kB / 439.7 MB, free: 356 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.564e-05/0.3249, allocations: 24.88 kB / 439.8 MB, free: 332 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.463e-05/0.325, allocations: 20.38 kB / 439.8 MB, free: 312 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007405/0.3257, allocations: 331 kB / 440.1 MB, free: 15.97 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.3257, allocations: 0 / 440.1 MB, free: 15.97 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.296e-05/0.3258, allocations: 12 kB / 440.1 MB, free: 15.96 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.774e-06/0.3258, allocations: 4 kB / 440.1 MB, free: 15.95 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008094/0.3266, allocations: 289.7 kB / 440.4 MB, free: 15.67 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001975/0.3286, allocations: 1.104 MB / 441.5 MB, free: 14.49 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008191/0.3294, allocations: 242.5 kB / 441.7 MB, free: 14.25 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003332/0.3297, allocations: 104.8 kB / 441.8 MB, free: 14.14 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.303e-05/0.3297, allocations: 0 / 441.8 MB, free: 14.14 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004743/0.3302, allocations: 181.8 kB / 442 MB, free: 13.94 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.734e-06/0.3302, allocations: 4 kB / 442 MB, free: 13.94 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.002255/0.3325, allocations: 0.5826 MB / 442.6 MB, free: 13.35 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.839e-05/0.3326, allocations: 106.8 kB / 442.7 MB, free: 13.22 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003354/0.3329, allocations: 285.8 kB / 443 MB, free: 12.93 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.148e-05/0.3329, allocations: 33.7 kB / 443 MB, free: 12.89 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001518/0.3331, allocations: 200.1 kB / 443.2 MB, free: 12.69 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.683e-05/0.3331, allocations: 51.58 kB / 443.3 MB, free: 12.64 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000101/0.3332, allocations: 45.94 kB / 443.3 MB, free: 12.58 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001482/0.3334, allocations: 331 kB / 443.6 MB, free: 12.25 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003568/0.3337, allocations: 112.4 kB / 443.7 MB, free: 12.14 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000413/0.3341, allocations: 209.7 kB / 443.9 MB, free: 11.89 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007093/0.3348, allocations: 310.4 kB / 444.3 MB, free: 11.55 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.3349, allocations: 4 kB / 444.3 MB, free: 11.55 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001223/0.3361, allocations: 479.6 kB / 444.7 MB, free: 11.06 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.334e-05/0.3361, allocations: 37.7 kB / 444.8 MB, free: 11.02 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.777e-06/0.3361, allocations: 4 kB / 444.8 MB, free: 11.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003716/0.3365, allocations: 84.86 kB / 444.8 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002072/0.3367, allocations: 43.91 kB / 444.9 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002671/0.3394, allocations: 1.882 MB / 446.8 MB, free: 8.891 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003251/0.3397, allocations: 59.89 kB / 446.8 MB, free: 8.832 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.29e-05/0.3397, allocations: 12 kB / 446.8 MB, free: 8.82 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.0001859/0.3399, allocations: 158.8 kB / 447 MB, free: 8.656 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.193e-05/0.34, allocations: 23.86 kB / 447 MB, free: 8.633 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.625e-05/0.34, allocations: 25.77 kB / 447 MB, free: 8.605 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.34, allocations: 4 kB / 447.1 MB, free: 8.602 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.234e-06/0.34, allocations: 0 / 447.1 MB, free: 8.602 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.34, allocations: 4.125 kB / 447.1 MB, free: 8.598 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003137/0.3403, allocations: 308.4 kB / 447.4 MB, free: 8.254 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.674e-06/0.3403, allocations: 0 / 447.4 MB, free: 8.254 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001289/0.3405, allocations: 23.97 kB / 447.4 MB, free: 8.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000274/0.3407, allocations: 80.81 kB / 447.5 MB, free: 8.148 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.711e-05/0.3408, allocations: 7.984 kB / 447.5 MB, free: 8.141 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002255/0.343, allocations: 1.697 MB / 449.2 MB, free: 6.324 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.343, allocations: 0 / 449.2 MB, free: 6.324 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001031/0.344, allocations: 373.8 kB / 449.5 MB, free: 5.938 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.806e-05/0.3441, allocations: 23.81 kB / 449.6 MB, free: 5.914 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.147e-05/0.3441, allocations: 11.98 kB / 449.6 MB, free: 5.902 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002345/0.3444, allocations: 35.97 kB / 449.6 MB, free: 5.867 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.146e-05/0.3444, allocations: 15.97 kB / 449.6 MB, free: 5.852 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.531e-05/0.3445, allocations: 7.984 kB / 449.6 MB, free: 5.844 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002257/0.3447, allocations: 201.1 kB / 449.8 MB, free: 5.648 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3447, allocations: 4 kB / 449.8 MB, free: 5.645 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003845/0.3451, allocations: 75.89 kB / 449.9 MB, free: 5.57 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.0001366/0.3452, allocations: 108.9 kB / 450 MB, free: 5.453 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009884/0.3462, allocations: 414.2 kB / 450.4 MB, free: 5.023 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.3462, allocations: 8.25 kB / 450.4 MB, free: 5.016 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004749/0.3467, allocations: 234.5 kB / 450.6 MB, free: 4.773 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003196/0.347, allocations: 55.34 kB / 450.7 MB, free: 4.723 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001092/0.3481, allocations: 0.5122 MB / 451.2 MB, free: 4.184 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000362/0.3484, allocations: 0.7558 MB / 452 MB, free: 3.402 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.007e-05/0.3485, allocations: 19.44 kB / 452 MB, free: 3.387 MB / 350.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3485, allocations: 8 kB / 452 MB, free: 3.379 MB / 350.1 MB Notification: Performance of Templates: time 0.007465/0.356, allocations: 4.767 MB / 456.8 MB, free: 14.64 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_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-beta.om_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.6950661721639335]