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.001281/0.001281, 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.001369/0.001369, 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.515/1.515, allocations: 230.4 MB / 255.4 MB, free: 14.81 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.001941/0.001941, allocations: 71.83 kB / 374.8 MB, free: 9.703 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1109/0.1128, allocations: 53.31 MB / 428.1 MB, free: 4.297 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier): time 0.004755/0.1176, allocations: 2.958 MB / 431 MB, free: 1.32 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001569/0.1191, allocations: 0.7636 MB / 431.8 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001618/0.1193, allocations: 7.938 kB / 431.8 MB, free: 0.543 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001983/0.1195, allocations: 43.52 kB / 431.9 MB, free: 0.5 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002306/0.1197, allocations: 115.2 kB / 432 MB, free: 396 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003319/0.12, allocations: 115.8 kB / 432.1 MB, free: 280 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.2485/0.3685, allocations: 409.9 kB / 432.5 MB, free: 8.141 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003989/0.3689, allocations: 89.59 kB / 432.6 MB, free: 8.125 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003805/0.3693, allocations: 160.1 kB / 432.7 MB, free: 8.121 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002642/0.3696, allocations: 169.6 kB / 432.9 MB, free: 8.09 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.717e-05/0.3697, allocations: 40 kB / 432.9 MB, free: 8.09 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.25e-05/0.3698, allocations: 40.16 kB / 433 MB, free: 8.09 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.268e-05/0.3698, allocations: 84.56 kB / 433.1 MB, free: 8.078 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002043/0.3701, allocations: 177.1 kB / 433.2 MB, free: 8.031 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005636/0.3706, allocations: 453.9 kB / 433.7 MB, free: 7.973 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/0.3706, allocations: 2.406 kB / 433.7 MB, free: 7.973 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.3706, allocations: 0 / 433.7 MB, free: 7.973 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.375e-06/0.3706, allocations: 2.875 kB / 433.7 MB, free: 7.973 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.001352/0.372, allocations: 0.6774 MB / 434.4 MB, free: 7.484 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/0.372, allocations: 8.781 kB / 434.4 MB, free: 7.484 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001001/0.3721, allocations: 40.42 kB / 434.4 MB, free: 7.465 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004019/0.3725, allocations: 303.7 kB / 434.7 MB, free: 7.238 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.463e-05/0.3726, allocations: 20.62 kB / 434.7 MB, free: 7.234 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.296e-05/0.3726, allocations: 23.44 kB / 434.7 MB, free: 7.234 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006889/0.3733, allocations: 329.2 kB / 435.1 MB, free: 7.18 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.534e-05/0.3733, allocations: 4.656 kB / 435.1 MB, free: 7.176 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.126e-05/0.3733, allocations: 8.016 kB / 435.1 MB, free: 7.176 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.049e-05/0.3733, allocations: 7.312 kB / 435.1 MB, free: 7.176 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007796/0.3741, allocations: 285.9 kB / 435.4 MB, free: 7.176 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001829/0.376, allocations: 1.149 MB / 436.5 MB, free: 6.645 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008964/0.3768, allocations: 246.9 kB / 436.8 MB, free: 6.617 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003535/0.3772, allocations: 99.55 kB / 436.9 MB, free: 6.609 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.835e-05/0.3772, allocations: 9.609 kB / 436.9 MB, free: 6.605 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005003/0.3777, allocations: 180.5 kB / 437 MB, free: 6.535 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 2.094e-06/0.3777, allocations: 1.062 kB / 437 MB, free: 6.535 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.002377/0.3801, allocations: 0.6606 MB / 437.7 MB, free: 6.371 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.705e-05/0.3802, allocations: 106.3 kB / 437.8 MB, free: 6.246 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002983/0.3805, allocations: 283.3 kB / 438.1 MB, free: 6.141 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.156e-05/0.3805, allocations: 31.78 kB / 438.1 MB, free: 6.105 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001087/0.3806, allocations: 202.2 kB / 438.3 MB, free: 5.969 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.571e-05/0.3806, allocations: 45.92 kB / 438.4 MB, free: 5.941 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.963e-05/0.3807, allocations: 53.5 kB / 438.4 MB, free: 5.922 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.764e-05/0.3808, allocations: 331.8 kB / 438.7 MB, free: 5.609 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003626/0.3811, allocations: 109.6 kB / 438.8 MB, free: 5.605 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004066/0.3815, allocations: 204.1 kB / 439 MB, free: 5.492 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007091/0.3823, allocations: 310.6 kB / 439.3 MB, free: 5.359 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.3823, allocations: 0 / 439.3 MB, free: 5.359 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001279/0.3835, allocations: 484.1 kB / 439.8 MB, free: 5.258 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.082e-05/0.3836, allocations: 36.5 kB / 439.8 MB, free: 5.227 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.3836, allocations: 3.656 kB / 439.9 MB, free: 5.227 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004049/0.384, allocations: 85.89 kB / 439.9 MB, free: 5.215 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002158/0.3842, allocations: 45.28 kB / 440 MB, free: 5.215 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002482/0.3867, allocations: 1.992 MB / 442 MB, free: 3.605 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003714/0.3871, allocations: 61.31 kB / 442 MB, free: 3.582 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.827e-05/0.3871, allocations: 13.67 kB / 442 MB, free: 3.578 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.0001582/0.3872, allocations: 146.2 kB / 442.2 MB, free: 3.445 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.276e-05/0.3873, allocations: 23.67 kB / 442.2 MB, free: 3.434 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.133e-05/0.3873, allocations: 26.72 kB / 442.2 MB, free: 3.406 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.3873, allocations: 2.953 kB / 442.2 MB, free: 3.406 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.886e-06/0.3873, allocations: 4 kB / 442.2 MB, free: 3.402 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.3874, allocations: 4.5 kB / 442.2 MB, free: 3.402 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003339/0.3877, allocations: 332.6 kB / 442.6 MB, free: 3.145 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-06/0.3877, allocations: 5.562 kB / 442.6 MB, free: 3.141 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001448/0.3878, allocations: 24.59 kB / 442.6 MB, free: 3.141 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002862/0.3881, allocations: 83.7 kB / 442.7 MB, free: 3.117 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.932e-05/0.3881, allocations: 5.906 kB / 442.7 MB, free: 3.113 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002118/0.3903, allocations: 1.797 MB / 444.5 MB, free: 1.598 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.3903, allocations: 0 / 444.5 MB, free: 1.598 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001121/0.3914, allocations: 369.4 kB / 444.8 MB, free: 1.453 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.947e-05/0.3914, allocations: 109.6 kB / 445 MB, free: 1.336 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.72e-05/0.3915, allocations: 8.953 kB / 445 MB, free: 1.332 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000236/0.3917, allocations: 29.23 kB / 445 MB, free: 1.332 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.203e-05/0.3918, allocations: 27.05 kB / 445 MB, free: 1.324 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.477e-05/0.3918, allocations: 3 kB / 445 MB, free: 1.324 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002462/0.3921, allocations: 202.3 kB / 445.2 MB, free: 1.207 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3921, allocations: 0 / 445.2 MB, free: 1.207 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004678/0.3925, allocations: 80.67 kB / 445.3 MB, free: 1.191 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.0001417/0.3927, allocations: 105.5 kB / 445.4 MB, free: 1.098 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001007/0.3937, allocations: 430.8 kB / 445.8 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.3937, allocations: 0 / 445.8 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004674/0.3941, allocations: 233 kB / 446 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003627/0.3945, allocations: 55.7 kB / 446.1 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001131/0.3956, allocations: 0.5249 MB / 446.6 MB, free: 380 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003573/0.396, allocations: 0.7556 MB / 447.4 MB, free: 15.67 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.794e-05/0.3961, allocations: 20.25 kB / 447.4 MB, free: 15.66 MB / 366.1 MB Notification: Performance of SimCode: time 4.6e-07/0.3961, allocations: 0 / 447.4 MB, free: 15.66 MB / 366.1 MB Notification: Performance of Templates: time 0.008935/0.405, allocations: 4.778 MB / 452.2 MB, free: 15.06 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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/InvertingAmplifier/InvertingAmplifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.470344844972715]