Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.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.001553/0.001553, allocations: 106.5 kB / 21.22 MB, free: 0.6797 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.001887/0.001887, allocations: 209.3 kB / 24.54 MB, free: 4.055 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.57/1.57, allocations: 230.3 MB / 258 MB, free: 8.258 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.Adder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|vOut.v",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Adder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|vOut.v",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001818/0.001818, allocations: 67.83 kB / 378.8 MB, free: 2.766 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3255/0.3274, allocations: 53.36 MB / 432.2 MB, free: 7.09 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Adder): time 0.004683/0.332, allocations: 3.233 MB / 435.4 MB, free: 3.844 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001637/0.3337, allocations: 0.8336 MB / 436.2 MB, free: 3.004 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001852/0.3339, allocations: 11.94 kB / 436.2 MB, free: 2.992 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001907/0.3341, allocations: 55.42 kB / 436.3 MB, free: 2.938 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002275/0.3343, allocations: 111 kB / 436.4 MB, free: 2.828 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003435/0.3346, allocations: 143.8 kB / 436.5 MB, free: 2.688 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004925/0.3351, allocations: 446.2 kB / 437 MB, free: 2.25 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002453/0.3354, allocations: 108.4 kB / 437.1 MB, free: 2.145 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002905/0.3357, allocations: 171.4 kB / 437.2 MB, free: 1.977 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002302/0.3359, allocations: 187.2 kB / 437.4 MB, free: 1.793 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.121e-05/0.336, allocations: 44 kB / 437.5 MB, free: 1.75 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000109/0.3361, allocations: 48 kB / 437.5 MB, free: 1.703 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.469e-05/0.3362, allocations: 87.64 kB / 437.6 MB, free: 1.617 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002106/0.3364, allocations: 191.1 kB / 437.8 MB, free: 1.43 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006345/0.337, allocations: 0.5036 MB / 438.3 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.337, allocations: 4 kB / 438.3 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of FrontEnd: time 9.42e-07/0.337, allocations: 0 / 438.3 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.184e-06/0.337, allocations: 4 kB / 438.3 MB, free: 0.9219 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.001126/0.3381, allocations: 0.6063 MB / 438.9 MB, free: 288 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.35e-05/0.3382, allocations: 12.03 kB / 438.9 MB, free: 276 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001851/0.3384, allocations: 44.7 kB / 439 MB, free: 232 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004566/0.3388, allocations: 257.8 kB / 439.2 MB, free: 15.95 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.686e-05/0.3388, allocations: 25.03 kB / 439.2 MB, free: 15.93 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.453e-05/0.3389, allocations: 32.38 kB / 439.3 MB, free: 15.89 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006697/0.3396, allocations: 345.4 kB / 439.6 MB, free: 15.55 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.3396, allocations: 4 kB / 439.6 MB, free: 15.55 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.422e-05/0.3396, allocations: 12 kB / 439.6 MB, free: 15.54 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.837e-06/0.3396, allocations: 8 kB / 439.6 MB, free: 15.53 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006481/0.3403, allocations: 282.4 kB / 439.9 MB, free: 15.25 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002062/0.3423, allocations: 1.21 MB / 441.1 MB, free: 13.96 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005787/0.3429, allocations: 210.6 kB / 441.3 MB, free: 13.75 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002265/0.3431, allocations: 88.75 kB / 441.4 MB, free: 13.66 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.144e-05/0.3431, allocations: 3.984 kB / 441.4 MB, free: 13.66 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.233e-05/0.3432, allocations: 46.5 kB / 441.5 MB, free: 13.6 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 1.262e-06/0.3432, allocations: 0 / 441.5 MB, free: 13.6 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.002269/0.3455, allocations: 0.5589 MB / 442 MB, free: 13.04 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.824e-05/0.3455, allocations: 59.39 kB / 442.1 MB, free: 12.96 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003578/0.3459, allocations: 304.1 kB / 442.4 MB, free: 12.66 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.7e-05/0.3459, allocations: 29.7 kB / 442.4 MB, free: 12.62 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001602/0.346, allocations: 216.3 kB / 442.6 MB, free: 12.41 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.963e-05/0.3461, allocations: 55.53 kB / 442.7 MB, free: 12.36 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.75e-05/0.3462, allocations: 49.66 kB / 442.7 MB, free: 12.3 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000165/0.3463, allocations: 338.8 kB / 443 MB, free: 11.96 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002241/0.3466, allocations: 79.95 kB / 443.1 MB, free: 11.88 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002777/0.3468, allocations: 154.3 kB / 443.3 MB, free: 11.7 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005002/0.3473, allocations: 250.1 kB / 443.5 MB, free: 11.41 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.3474, allocations: 0 / 443.5 MB, free: 11.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001087/0.3484, allocations: 412.5 kB / 443.9 MB, free: 11 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.179e-05/0.3485, allocations: 7.938 kB / 443.9 MB, free: 11 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/0.3485, allocations: 7.938 kB / 443.9 MB, free: 10.99 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004849/0.349, allocations: 108.8 kB / 444 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001625/0.3491, allocations: 39.92 kB / 444.1 MB, free: 10.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003697/0.3528, allocations: 2.059 MB / 446.1 MB, free: 8.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002607/0.3531, allocations: 43.72 kB / 446.2 MB, free: 8.617 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.959e-05/0.3531, allocations: 8 kB / 446.2 MB, free: 8.609 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * 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,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0001937/0.3533, allocations: 157.8 kB / 446.3 MB, free: 8.445 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.281e-05/0.3533, allocations: 23.86 kB / 446.4 MB, free: 8.422 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.87e-05/0.3534, allocations: 29.84 kB / 446.4 MB, free: 8.391 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.093e-06/0.3534, allocations: 11.92 kB / 446.4 MB, free: 8.379 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.3534, allocations: 0 / 446.4 MB, free: 8.379 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.3534, allocations: 3.984 kB / 446.4 MB, free: 8.375 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001381/0.3548, allocations: 0.6896 MB / 447.1 MB, free: 7.629 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.3548, allocations: 0 / 447.1 MB, free: 7.629 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.956e-05/0.3549, allocations: 12 kB / 447.1 MB, free: 7.617 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003682/0.3552, allocations: 116.7 kB / 447.2 MB, free: 7.5 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.551e-05/0.3553, allocations: 3.938 kB / 447.2 MB, free: 7.496 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003001/0.3583, allocations: 2.04 MB / 449.3 MB, free: 5.348 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.3583, allocations: 3.938 kB / 449.3 MB, free: 5.344 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009471/0.3592, allocations: 419.8 kB / 449.7 MB, free: 4.918 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.609e-05/0.3593, allocations: 35.73 kB / 449.7 MB, free: 4.883 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.224e-05/0.3593, allocations: 4 kB / 449.7 MB, free: 4.879 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002285/0.3595, allocations: 15.98 kB / 449.7 MB, free: 4.863 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.214e-05/0.3596, allocations: 19.97 kB / 449.8 MB, free: 4.844 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.352e-05/0.3596, allocations: 7.938 kB / 449.8 MB, free: 4.836 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002469/0.3599, allocations: 215.1 kB / 450 MB, free: 4.629 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3599, allocations: 0 / 450 MB, free: 4.629 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005043/0.3604, allocations: 87.89 kB / 450.1 MB, free: 4.543 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * 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,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001445/0.3605, allocations: 99.25 kB / 450.2 MB, free: 4.434 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007917/0.3613, allocations: 334.3 kB / 450.5 MB, free: 4.094 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.3613, allocations: 3.938 kB / 450.5 MB, free: 4.09 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003858/0.3617, allocations: 223.2 kB / 450.7 MB, free: 3.859 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003984/0.3621, allocations: 40.95 kB / 450.7 MB, free: 3.812 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001192/0.3633, allocations: 0.5593 MB / 451.3 MB, free: 3.227 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004166/0.3637, allocations: 0.7675 MB / 452.1 MB, free: 2.434 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.883e-05/0.3638, allocations: 30.27 kB / 452.1 MB, free: 2.406 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.203e-05/0.3638, allocations: 19.44 kB / 452.1 MB, free: 2.387 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3638, allocations: 0 / 452.1 MB, free: 2.387 MB / 350.1 MB Notification: Performance of Templates: time 0.008606/0.3724, allocations: 3.88 MB / 456 MB, free: 14.53 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/Adder/Adder.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.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.790081962943077]