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.001581/0.001581, allocations: 115.1 kB / 18.45 MB, free: 4.566 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.001909/0.001909, allocations: 215.2 kB / 21.42 MB, free: 1.605 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.568/1.568, allocations: 230.6 MB / 254.8 MB, free: 15.08 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.001511/0.001511, allocations: 55.92 kB / 374.2 MB, free: 9.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1084/0.1099, allocations: 53.34 MB / 427.5 MB, free: 4.227 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier): time 0.00448/0.1144, allocations: 2.953 MB / 430.5 MB, free: 1.258 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001412/0.1158, allocations: 0.7674 MB / 431.2 MB, free: 496 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001408/0.1159, allocations: 7.938 kB / 431.3 MB, free: 488 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001691/0.1161, allocations: 47.56 kB / 431.3 MB, free: 440 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001988/0.1163, allocations: 107.1 kB / 431.4 MB, free: 332 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003156/0.1166, allocations: 123.8 kB / 431.5 MB, free: 208 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.2142/0.3308, allocations: 408.3 kB / 431.9 MB, free: 8.172 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002964/0.3311, allocations: 88.33 kB / 432 MB, free: 8.156 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002872/0.3314, allocations: 162.8 kB / 432.2 MB, free: 8.148 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002279/0.3316, allocations: 173.1 kB / 432.3 MB, free: 8.117 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.219e-05/0.3317, allocations: 41.09 kB / 432.4 MB, free: 8.117 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.92e-05/0.3318, allocations: 40.41 kB / 432.4 MB, free: 8.117 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.401e-05/0.3319, allocations: 78.17 kB / 432.5 MB, free: 8.105 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001771/0.332, allocations: 178 kB / 432.7 MB, free: 8.059 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005089/0.3326, allocations: 456.6 kB / 433.1 MB, free: 8 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.3326, allocations: 1.438 kB / 433.1 MB, free: 8 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.3326, allocations: 0.7812 kB / 433.1 MB, free: 8 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.406e-06/0.3326, allocations: 0 / 433.1 MB, free: 8 MB / 350.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.00123/0.3338, allocations: 0.6804 MB / 433.8 MB, free: 7.512 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.3338, allocations: 9.5 kB / 433.8 MB, free: 7.512 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.218e-05/0.3339, allocations: 39.11 kB / 433.8 MB, free: 7.492 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003955/0.3343, allocations: 302.5 kB / 434.1 MB, free: 7.266 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.049e-05/0.3343, allocations: 24.53 kB / 434.2 MB, free: 7.262 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.505e-05/0.3344, allocations: 24.56 kB / 434.2 MB, free: 7.262 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006853/0.3351, allocations: 322.2 kB / 434.5 MB, free: 7.211 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/0.3351, allocations: 7.281 kB / 434.5 MB, free: 7.207 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.146e-05/0.3351, allocations: 12.69 kB / 434.5 MB, free: 7.207 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.337e-06/0.3351, allocations: 5.969 kB / 434.5 MB, free: 7.207 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007825/0.3359, allocations: 282.1 kB / 434.8 MB, free: 7.207 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001773/0.3377, allocations: 1.148 MB / 436 MB, free: 6.676 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008734/0.3385, allocations: 249.3 kB / 436.2 MB, free: 6.641 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003457/0.3389, allocations: 98.64 kB / 436.3 MB, free: 6.633 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.44e-05/0.3389, allocations: 1.688 kB / 436.3 MB, free: 6.633 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004912/0.3394, allocations: 183.4 kB / 436.5 MB, free: 6.559 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.583e-06/0.3394, allocations: 1.188 kB / 436.5 MB, free: 6.559 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.002455/0.3419, allocations: 0.6617 MB / 437.1 MB, free: 6.395 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.724e-05/0.3419, allocations: 107 kB / 437.2 MB, free: 6.27 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003017/0.3422, allocations: 284.1 kB / 437.5 MB, free: 6.164 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.27e-05/0.3422, allocations: 32.48 kB / 437.5 MB, free: 6.133 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001151/0.3424, allocations: 198 kB / 437.7 MB, free: 5.996 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.838e-05/0.3424, allocations: 48.59 kB / 437.8 MB, free: 5.969 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.379e-05/0.3425, allocations: 46.58 kB / 437.8 MB, free: 5.949 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.784e-05/0.3426, allocations: 338.7 kB / 438.2 MB, free: 5.633 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003727/0.3429, allocations: 106.1 kB / 438.3 MB, free: 5.633 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000398/0.3433, allocations: 202.8 kB / 438.5 MB, free: 5.52 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007052/0.344, allocations: 311.7 kB / 438.8 MB, free: 5.387 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.344, allocations: 1.125 kB / 438.8 MB, free: 5.387 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001288/0.3453, allocations: 481.2 kB / 439.2 MB, free: 5.285 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.755e-05/0.3454, allocations: 35.02 kB / 439.3 MB, free: 5.254 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.3454, allocations: 2.344 kB / 439.3 MB, free: 5.254 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004137/0.3458, allocations: 87.94 kB / 439.4 MB, free: 5.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002255/0.346, allocations: 49.92 kB / 439.4 MB, free: 5.227 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002418/0.3484, allocations: 1.994 MB / 441.4 MB, free: 3.543 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003645/0.3488, allocations: 56.3 kB / 441.5 MB, free: 3.523 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.415e-05/0.3488, allocations: 9.234 kB / 441.5 MB, free: 3.523 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.0001522/0.349, allocations: 154.8 kB / 441.6 MB, free: 3.383 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.304e-05/0.349, allocations: 23.75 kB / 441.6 MB, free: 3.371 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.308e-05/0.3491, allocations: 27.8 kB / 441.7 MB, free: 3.344 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.015e-06/0.3491, allocations: 1.891 kB / 441.7 MB, free: 3.344 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.876e-06/0.3491, allocations: 2.391 kB / 441.7 MB, free: 3.344 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-06/0.3491, allocations: 3.562 kB / 441.7 MB, free: 3.344 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003028/0.3494, allocations: 333.6 kB / 442 MB, free: 3.086 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.3494, allocations: 0 / 442 MB, free: 3.086 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000147/0.3495, allocations: 29.33 kB / 442 MB, free: 3.078 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002921/0.3498, allocations: 77.7 kB / 442.1 MB, free: 3.059 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.638e-05/0.3498, allocations: 2.328 kB / 442.1 MB, free: 3.059 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002031/0.3519, allocations: 1.814 MB / 443.9 MB, free: 1.535 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.3519, allocations: 0 / 443.9 MB, free: 1.535 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001154/0.353, allocations: 367.4 kB / 444.3 MB, free: 1.395 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.523e-05/0.3531, allocations: 108.9 kB / 444.4 MB, free: 1.277 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.593e-05/0.3531, allocations: 8.781 kB / 444.4 MB, free: 1.273 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002624/0.3534, allocations: 34.03 kB / 444.4 MB, free: 1.27 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.285e-05/0.3535, allocations: 18 kB / 444.5 MB, free: 1.266 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.632e-05/0.3535, allocations: 3.344 kB / 444.5 MB, free: 1.266 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002599/0.3538, allocations: 199 kB / 444.6 MB, free: 1.152 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3538, allocations: 0.5312 kB / 444.6 MB, free: 1.152 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004386/0.3542, allocations: 87.73 kB / 444.7 MB, free: 1.129 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.0001391/0.3543, allocations: 108.3 kB / 444.8 MB, free: 1.035 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001012/0.3553, allocations: 428 kB / 445.3 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.3554, allocations: 1.188 kB / 445.3 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004547/0.3558, allocations: 229.6 kB / 445.5 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003528/0.3562, allocations: 47.88 kB / 445.5 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001075/0.3572, allocations: 0.5152 MB / 446 MB, free: 320 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003527/0.3576, allocations: 0.755 MB / 446.8 MB, free: 15.61 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.713e-05/0.3577, allocations: 21.44 kB / 446.8 MB, free: 15.61 MB / 366.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3577, allocations: 3.75 kB / 446.8 MB, free: 15.61 MB / 366.1 MB Notification: Performance of Templates: time 0.009101/0.3668, allocations: 4.778 MB / 451.6 MB, free: 15 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.601901445013937]