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.001351/0.001351, allocations: 105.4 kB / 19.8 MB, free: 2.516 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.001546/0.001546, allocations: 213.9 kB / 22.99 MB, free: 5.605 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.476/1.476, allocations: 230.2 MB / 256.2 MB, free: 8.543 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.003272/0.003272, allocations: 67.89 kB / 376.5 MB, free: 3.574 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3396/0.3429, allocations: 53.33 MB / 429.8 MB, free: 7.539 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier): time 0.00508/0.348, allocations: 2.98 MB / 432.8 MB, free: 4.543 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001635/0.3496, allocations: 0.7635 MB / 433.6 MB, free: 3.773 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001655/0.3498, allocations: 11.94 kB / 433.6 MB, free: 3.762 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001904/0.3499, allocations: 51.5 kB / 433.6 MB, free: 3.711 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002113/0.3502, allocations: 99.19 kB / 433.7 MB, free: 3.613 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003736/0.3505, allocations: 119.8 kB / 433.9 MB, free: 3.496 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004946/0.351, allocations: 418.4 kB / 434.3 MB, free: 3.086 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003444/0.3514, allocations: 91.27 kB / 434.3 MB, free: 2.988 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002123/0.3516, allocations: 151.5 kB / 434.5 MB, free: 2.84 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002225/0.3518, allocations: 179.2 kB / 434.7 MB, free: 2.664 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.394e-05/0.3519, allocations: 40 kB / 434.7 MB, free: 2.625 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.704e-05/0.352, allocations: 40 kB / 434.8 MB, free: 2.586 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.131e-05/0.3521, allocations: 83.69 kB / 434.8 MB, free: 2.504 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001966/0.3522, allocations: 179.1 kB / 435 MB, free: 2.328 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005668/0.3528, allocations: 443.6 kB / 435.4 MB, free: 1.898 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.845e-06/0.3528, allocations: 3.984 kB / 435.4 MB, free: 1.895 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.3528, allocations: 0 / 435.4 MB, free: 1.895 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.197e-06/0.3528, allocations: 0 / 435.4 MB, free: 1.895 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.001487/0.3543, allocations: 0.6922 MB / 436.1 MB, free: 1.148 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.478e-05/0.3544, allocations: 8.031 kB / 436.1 MB, free: 1.141 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.049e-05/0.3545, allocations: 40.7 kB / 436.2 MB, free: 1.102 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000456/0.3549, allocations: 311.6 kB / 436.5 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.159e-05/0.355, allocations: 20.94 kB / 436.5 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.554e-05/0.355, allocations: 24.38 kB / 436.5 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007748/0.3558, allocations: 331.9 kB / 436.9 MB, free: 388 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.441e-05/0.3558, allocations: 0 / 436.9 MB, free: 388 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.22e-05/0.3558, allocations: 8 kB / 436.9 MB, free: 380 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.202e-05/0.3558, allocations: 8 kB / 436.9 MB, free: 372 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008392/0.3567, allocations: 290 kB / 437.2 MB, free: 84 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002129/0.3588, allocations: 1.139 MB / 438.3 MB, free: 14.86 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008586/0.3597, allocations: 238.6 kB / 438.5 MB, free: 14.62 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003257/0.36, allocations: 104.8 kB / 438.6 MB, free: 14.52 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.668e-05/0.36, allocations: 4 kB / 438.6 MB, free: 14.51 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005135/0.3605, allocations: 185.2 kB / 438.8 MB, free: 14.31 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.563e-06/0.3605, allocations: 0 / 438.8 MB, free: 14.31 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.002344/0.3629, allocations: 0.6632 MB / 439.5 MB, free: 13.62 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.531e-05/0.363, allocations: 110.8 kB / 439.6 MB, free: 13.49 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003921/0.3634, allocations: 286.5 kB / 439.9 MB, free: 13.2 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.406e-05/0.3634, allocations: 29.7 kB / 439.9 MB, free: 13.16 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001666/0.3636, allocations: 196.1 kB / 440.1 MB, free: 12.97 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.629e-05/0.3636, allocations: 51.62 kB / 440.1 MB, free: 12.92 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001079/0.3637, allocations: 45.94 kB / 440.2 MB, free: 12.86 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001562/0.3639, allocations: 338.8 kB / 440.5 MB, free: 12.52 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003333/0.3642, allocations: 104.4 kB / 440.6 MB, free: 12.42 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004329/0.3646, allocations: 212.8 kB / 440.8 MB, free: 12.17 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007322/0.3654, allocations: 307.7 kB / 441.1 MB, free: 11.83 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.3654, allocations: 0 / 441.1 MB, free: 11.83 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001286/0.3667, allocations: 482.4 kB / 441.6 MB, free: 11.34 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.049e-05/0.3667, allocations: 33.7 kB / 441.6 MB, free: 11.3 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.635e-05/0.3667, allocations: 8 kB / 441.6 MB, free: 11.3 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004094/0.3671, allocations: 84.86 kB / 441.7 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000241/0.3674, allocations: 47.91 kB / 441.8 MB, free: 11.16 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00289/0.3703, allocations: 1.982 MB / 443.7 MB, free: 9.043 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003509/0.3706, allocations: 59.77 kB / 443.8 MB, free: 8.984 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.409e-05/0.3706, allocations: 8 kB / 443.8 MB, free: 8.977 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.0002019/0.3708, allocations: 157.8 kB / 444 MB, free: 8.812 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.611e-05/0.3709, allocations: 19.86 kB / 444 MB, free: 8.793 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.046e-05/0.3709, allocations: 29.83 kB / 444 MB, free: 8.754 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.3709, allocations: 0 / 444 MB, free: 8.754 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-06/0.3709, allocations: 0 / 444 MB, free: 8.754 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.218e-06/0.371, allocations: 15.95 kB / 444 MB, free: 8.738 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003691/0.3713, allocations: 321.3 kB / 444.3 MB, free: 8.375 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.3713, allocations: 128 / 444.3 MB, free: 8.375 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000143/0.3715, allocations: 31.97 kB / 444.4 MB, free: 8.344 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002881/0.3718, allocations: 84.73 kB / 444.5 MB, free: 8.258 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.77e-05/0.3718, allocations: 0 / 444.5 MB, free: 8.258 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002465/0.3742, allocations: 1.805 MB / 446.3 MB, free: 6.309 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.129e-05/0.3743, allocations: 8.047 kB / 446.3 MB, free: 6.301 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001073/0.3753, allocations: 365.5 kB / 446.6 MB, free: 5.922 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001029/0.3754, allocations: 108.9 kB / 446.7 MB, free: 5.797 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.59e-05/0.3755, allocations: 0 / 446.7 MB, free: 5.797 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002344/0.3757, allocations: 40.14 kB / 446.8 MB, free: 5.758 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.929e-05/0.3758, allocations: 19.98 kB / 446.8 MB, free: 5.738 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.658e-05/0.3758, allocations: 7.938 kB / 446.8 MB, free: 5.73 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002361/0.376, allocations: 201.9 kB / 447 MB, free: 5.535 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.376, allocations: 0 / 447 MB, free: 5.535 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004085/0.3764, allocations: 79.89 kB / 447.1 MB, free: 5.457 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.0001873/0.3766, allocations: 111.2 kB / 447.2 MB, free: 5.336 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001043/0.3777, allocations: 424.7 kB / 447.6 MB, free: 4.898 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.3777, allocations: 0 / 447.6 MB, free: 4.898 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004836/0.3782, allocations: 231.1 kB / 447.8 MB, free: 4.66 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003349/0.3785, allocations: 47.91 kB / 447.9 MB, free: 4.617 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00121/0.3797, allocations: 0.4992 MB / 448.4 MB, free: 4.098 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004564/0.3802, allocations: 0.7558 MB / 449.1 MB, free: 3.316 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001211/0.3803, allocations: 30.27 kB / 449.2 MB, free: 3.289 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.311e-05/0.3803, allocations: 23.44 kB / 449.2 MB, free: 3.27 MB / 350.1 MB Notification: Performance of SimCode: time 7.31e-07/0.3803, allocations: 0 / 449.2 MB, free: 3.27 MB / 350.1 MB Notification: Performance of Templates: time 0.009411/0.3898, allocations: 4.314 MB / 453.5 MB, free: 14.99 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/InvertingAmplifier/InvertingAmplifier.csv","/var/lib/jenkins/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: 4.679667084477842]