Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.InvertingAmp.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.001327/0.001327, allocations: 112.9 kB / 19.17 MB, free: 3.891 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.001407/0.001407, allocations: 210.5 kB / 22.13 MB, free: 0.9375 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.475/1.475, allocations: 230.5 MB / 255.4 MB, free: 14.99 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.InvertingAmp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|vIn.signalSource.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.InvertingAmp") translateModel(Modelica.Electrical.Analog.Examples.InvertingAmp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|vIn.signalSource.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.InvertingAmp") [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.001974/0.001974, allocations: 75.81 kB / 374.8 MB, free: 9.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1105/0.1125, allocations: 53.31 MB / 428.1 MB, free: 4.328 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.InvertingAmp): time 0.004428/0.117, allocations: 2.825 MB / 430.9 MB, free: 1.488 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0014/0.1184, allocations: 0.6778 MB / 431.6 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001413/0.1185, allocations: 4 kB / 431.6 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002345/0.1187, allocations: 47.52 kB / 431.6 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002099/0.1189, allocations: 95.17 kB / 431.7 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002812/0.1192, allocations: 95.77 kB / 431.8 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004495/0.1197, allocations: 370.5 kB / 432.2 MB, free: 208 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002042/0.1199, allocations: 86.94 kB / 432.3 MB, free: 116 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.232/0.3519, allocations: 147.1 kB / 432.4 MB, free: 8.219 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004111/0.3523, allocations: 164.4 kB / 432.6 MB, free: 8.219 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001046/0.3524, allocations: 33.97 kB / 432.6 MB, free: 8.219 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.886e-05/0.3525, allocations: 34.38 kB / 432.6 MB, free: 8.219 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.607e-05/0.3526, allocations: 71.5 kB / 432.7 MB, free: 8.219 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002353/0.3528, allocations: 161.9 kB / 432.9 MB, free: 8.176 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005303/0.3534, allocations: 385.1 kB / 433.2 MB, free: 8.117 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.634e-06/0.3534, allocations: 3.875 kB / 433.2 MB, free: 8.117 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.3534, allocations: 1.562 kB / 433.2 MB, free: 8.117 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.469e-05/0.3534, allocations: 0 / 433.2 MB, free: 8.117 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001339/0.3547, allocations: 0.6575 MB / 433.9 MB, free: 7.633 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.3548, allocations: 9.5 kB / 433.9 MB, free: 7.633 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.588e-05/0.3549, allocations: 37.02 kB / 433.9 MB, free: 7.613 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004006/0.3553, allocations: 271 kB / 434.2 MB, free: 7.391 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.703e-05/0.3553, allocations: 19.25 kB / 434.2 MB, free: 7.391 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.764e-05/0.3553, allocations: 24.41 kB / 434.3 MB, free: 7.391 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007009/0.356, allocations: 298.8 kB / 434.5 MB, free: 7.336 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.735e-05/0.3561, allocations: 4.656 kB / 434.5 MB, free: 7.332 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.984e-05/0.3561, allocations: 11.06 kB / 434.6 MB, free: 7.332 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.074e-05/0.3561, allocations: 9.5 kB / 434.6 MB, free: 7.328 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007484/0.3568, allocations: 255.3 kB / 434.8 MB, free: 7.324 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001557/0.3584, allocations: 1.096 MB / 435.9 MB, free: 6.723 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008185/0.3592, allocations: 204 kB / 436.1 MB, free: 6.699 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003127/0.3595, allocations: 82.8 kB / 436.2 MB, free: 6.691 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.445e-05/0.3596, allocations: 7.297 kB / 436.2 MB, free: 6.691 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004509/0.36, allocations: 162.6 kB / 436.4 MB, free: 6.621 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.793e-06/0.36, allocations: 0.625 kB / 436.4 MB, free: 6.621 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.00217/0.3622, allocations: 0.5143 MB / 436.9 MB, free: 6.457 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.749e-05/0.3622, allocations: 110 kB / 437 MB, free: 6.332 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003235/0.3626, allocations: 281.3 kB / 437.3 MB, free: 6.227 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.552e-05/0.3626, allocations: 29.8 kB / 437.3 MB, free: 6.195 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001245/0.3627, allocations: 203.8 kB / 437.5 MB, free: 6.059 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.333e-05/0.3627, allocations: 40.78 kB / 437.5 MB, free: 6.031 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.755e-05/0.3628, allocations: 55.36 kB / 437.6 MB, free: 6.008 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.048e-05/0.3629, allocations: 334.7 kB / 437.9 MB, free: 5.695 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003473/0.3633, allocations: 90.39 kB / 438 MB, free: 5.695 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003947/0.3637, allocations: 200.3 kB / 438.2 MB, free: 5.562 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006887/0.3644, allocations: 306.3 kB / 438.5 MB, free: 5.41 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.047e-06/0.3644, allocations: 1.219 kB / 438.5 MB, free: 5.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001285/0.3656, allocations: 426.3 kB / 438.9 MB, free: 5.316 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.79e-05/0.3657, allocations: 37.64 kB / 438.9 MB, free: 5.281 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.166e-05/0.3657, allocations: 3.688 kB / 438.9 MB, free: 5.281 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003765/0.3661, allocations: 76.75 kB / 439 MB, free: 5.266 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002172/0.3663, allocations: 49.28 kB / 439.1 MB, free: 5.266 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002193/0.3685, allocations: 1.719 MB / 440.8 MB, free: 3.898 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004032/0.3689, allocations: 52.83 kB / 440.8 MB, free: 3.883 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.578e-05/0.3689, allocations: 14.45 kB / 440.9 MB, free: 3.879 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0001493/0.3691, allocations: 145.6 kB / 441 MB, free: 3.762 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.298e-05/0.3691, allocations: 27.67 kB / 441 MB, free: 3.746 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.451e-05/0.3692, allocations: 27.31 kB / 441 MB, free: 3.734 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.3692, allocations: 1.766 kB / 441.1 MB, free: 3.734 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.3692, allocations: 4.5 kB / 441.1 MB, free: 3.734 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.3692, allocations: 1.594 kB / 441.1 MB, free: 3.734 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003034/0.3695, allocations: 301.4 kB / 441.4 MB, free: 3.539 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.3695, allocations: 4 kB / 441.4 MB, free: 3.535 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000124/0.3696, allocations: 21.73 kB / 441.4 MB, free: 3.535 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002699/0.3699, allocations: 62.31 kB / 441.4 MB, free: 3.527 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.696e-05/0.3699, allocations: 5.297 kB / 441.4 MB, free: 3.527 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001924/0.3718, allocations: 1.706 MB / 443.1 MB, free: 2.066 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.3718, allocations: 0 / 443.1 MB, free: 2.066 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001051/0.3729, allocations: 310.9 kB / 443.5 MB, free: 1.93 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.708e-05/0.373, allocations: 124 kB / 443.6 MB, free: 1.812 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.681e-05/0.373, allocations: 6.406 kB / 443.6 MB, free: 1.809 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002454/0.3732, allocations: 30.17 kB / 443.6 MB, free: 1.805 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.569e-05/0.3733, allocations: 19.36 kB / 443.6 MB, free: 1.801 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.527e-05/0.3733, allocations: 8.516 kB / 443.6 MB, free: 1.797 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002047/0.3736, allocations: 200 kB / 443.8 MB, free: 1.68 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3736, allocations: 0 / 443.8 MB, free: 1.68 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004004/0.374, allocations: 83.86 kB / 443.9 MB, free: 1.66 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 (7): * Single equations (assignments): 4 * 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.0001309/0.3741, allocations: 102.9 kB / 444 MB, free: 1.566 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001017/0.3751, allocations: 407.5 kB / 444.4 MB, free: 1.332 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.3751, allocations: 0 / 444.4 MB, free: 1.332 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004525/0.3756, allocations: 223.1 kB / 444.6 MB, free: 1.188 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003213/0.3759, allocations: 55.72 kB / 444.7 MB, free: 1.164 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001089/0.377, allocations: 0.4914 MB / 445.2 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001933/0.3772, allocations: 0.7467 MB / 445.9 MB, free: 160 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.177e-05/0.3772, allocations: 25.06 kB / 445.9 MB, free: 148 kB / 350.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3772, allocations: 1.094 kB / 445.9 MB, free: 148 kB / 350.1 MB Notification: Performance of Templates: time 0.009032/0.3863, allocations: 4.436 MB / 450.4 MB, free: 15.83 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.InvertingAmp.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.InvertingAmp.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.InvertingAmp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.InvertingAmp_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/InvertingAmp/InvertingAmp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.InvertingAmp.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.455169796012342]