Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.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.001758/0.001758, allocations: 124.5 kB / 17.79 MB, free: 5.227 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.002109/0.002109, allocations: 207.2 kB / 20.75 MB, free: 2.273 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.587/1.587, allocations: 230.6 MB / 254.1 MB, free: 15.12 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.Adder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|vOut.v",fileNamePrefix="Modelica_4.1.0_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_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001794/0.001794, allocations: 55.91 kB / 373.5 MB, free: 9.703 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1161/0.1178, allocations: 53.34 MB / 426.8 MB, free: 4.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Adder): time 0.004973/0.1228, allocations: 3.211 MB / 430.1 MB, free: 1.039 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001545/0.1244, allocations: 0.8179 MB / 430.9 MB, free: 220 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001548/0.1245, allocations: 7.938 kB / 430.9 MB, free: 212 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000194/0.1247, allocations: 59.44 kB / 430.9 MB, free: 152 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002199/0.1249, allocations: 123 kB / 431.1 MB, free: 28 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.225/0.3499, allocations: 125.4 kB / 431.2 MB, free: 8.164 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007408/0.3507, allocations: 446.5 kB / 431.6 MB, free: 8.164 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00028/0.351, allocations: 115.8 kB / 431.7 MB, free: 8.152 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003458/0.3513, allocations: 176 kB / 431.9 MB, free: 8.137 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002231/0.3515, allocations: 180.5 kB / 432.1 MB, free: 8.098 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.748e-05/0.3516, allocations: 44.06 kB / 432.1 MB, free: 8.098 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001091/0.3517, allocations: 45.53 kB / 432.2 MB, free: 8.098 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.884e-05/0.3518, allocations: 86.81 kB / 432.3 MB, free: 8.086 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001619/0.3519, allocations: 200.5 kB / 432.4 MB, free: 8.031 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005555/0.3525, allocations: 0.5014 MB / 432.9 MB, free: 7.965 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.3525, allocations: 3.75 kB / 433 MB, free: 7.965 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3525, allocations: 0 / 433 MB, free: 7.965 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.995e-06/0.3525, allocations: 0 / 433 MB, free: 7.965 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.001032/0.3535, allocations: 0.6781 MB / 433.6 MB, free: 7.488 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.3536, allocations: 9.281 kB / 433.6 MB, free: 7.488 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002144/0.3538, allocations: 49.69 kB / 433.7 MB, free: 7.469 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003445/0.3541, allocations: 311.5 kB / 434 MB, free: 7.242 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.703e-05/0.3542, allocations: 23.34 kB / 434 MB, free: 7.242 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.821e-05/0.3542, allocations: 32.41 kB / 434 MB, free: 7.242 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006498/0.3549, allocations: 345.9 kB / 434.4 MB, free: 7.188 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.519e-05/0.3549, allocations: 3.938 kB / 434.4 MB, free: 7.184 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.407e-05/0.3549, allocations: 13.91 kB / 434.4 MB, free: 7.184 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.074e-05/0.3549, allocations: 7.906 kB / 434.4 MB, free: 7.184 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005904/0.3555, allocations: 278.6 kB / 434.7 MB, free: 7.184 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001992/0.3575, allocations: 1.264 MB / 435.9 MB, free: 6.629 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006302/0.3581, allocations: 283.7 kB / 436.2 MB, free: 6.508 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000229/0.3584, allocations: 87.64 kB / 436.3 MB, free: 6.5 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.269e-05/0.3584, allocations: 1.75 kB / 436.3 MB, free: 6.5 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.655e-05/0.3584, allocations: 40.88 kB / 436.3 MB, free: 6.457 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 1.623e-06/0.3584, allocations: 0 / 436.3 MB, free: 6.457 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.002246/0.3607, allocations: 0.6417 MB / 437 MB, free: 6.289 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.531e-05/0.3607, allocations: 54.77 kB / 437 MB, free: 6.227 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003156/0.361, allocations: 302.9 kB / 437.3 MB, free: 6.09 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.119e-05/0.361, allocations: 26.45 kB / 437.4 MB, free: 6.059 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001094/0.3611, allocations: 224 kB / 437.6 MB, free: 5.875 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.742e-05/0.3612, allocations: 56.98 kB / 437.6 MB, free: 5.832 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.112e-05/0.3612, allocations: 54.92 kB / 437.7 MB, free: 5.793 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.819e-05/0.3613, allocations: 336.5 kB / 438 MB, free: 5.469 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002147/0.3615, allocations: 73.92 kB / 438.1 MB, free: 5.449 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002572/0.3618, allocations: 167.8 kB / 438.3 MB, free: 5.312 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004588/0.3623, allocations: 242 kB / 438.5 MB, free: 5.156 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.3623, allocations: 4.5 kB / 438.5 MB, free: 5.156 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001034/0.3633, allocations: 408.5 kB / 438.9 MB, free: 5.016 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/0.3633, allocations: 5.719 kB / 438.9 MB, free: 5.016 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.172e-05/0.3633, allocations: 8.453 kB / 438.9 MB, free: 5.012 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004841/0.3638, allocations: 102.6 kB / 439 MB, free: 4.984 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001647/0.364, allocations: 37.78 kB / 439 MB, free: 4.984 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00288/0.3669, allocations: 2.175 MB / 441.2 MB, free: 3.223 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002516/0.3671, allocations: 41.39 kB / 441.3 MB, free: 3.199 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.302e-05/0.3671, allocations: 13.47 kB / 441.3 MB, free: 3.195 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.0001527/0.3673, allocations: 145.4 kB / 441.4 MB, free: 3.062 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.565e-05/0.3673, allocations: 26.77 kB / 441.4 MB, free: 3.051 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.799e-05/0.3674, allocations: 29.25 kB / 441.5 MB, free: 3.027 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.3674, allocations: 1.219 kB / 441.5 MB, free: 3.027 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.3674, allocations: 5.125 kB / 441.5 MB, free: 3.023 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.3674, allocations: 7.984 kB / 441.5 MB, free: 3.02 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001264/0.3687, allocations: 0.7296 MB / 442.2 MB, free: 2.559 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.3687, allocations: 0 / 442.2 MB, free: 2.559 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.729e-05/0.3688, allocations: 14.86 kB / 442.2 MB, free: 2.559 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003678/0.3691, allocations: 98.41 kB / 442.3 MB, free: 2.531 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.535e-05/0.3691, allocations: 9.625 kB / 442.3 MB, free: 2.523 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002619/0.3718, allocations: 2.158 MB / 444.5 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.3718, allocations: 4.906 kB / 444.5 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008634/0.3726, allocations: 406.4 kB / 444.9 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.515e-05/0.3727, allocations: 108.5 kB / 445 MB, free: 452 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.044e-05/0.3727, allocations: 5.891 kB / 445 MB, free: 448 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002109/0.3729, allocations: 23.36 kB / 445 MB, free: 444 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.809e-05/0.373, allocations: 22.3 kB / 445.1 MB, free: 436 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.664e-05/0.373, allocations: 3.375 kB / 445.1 MB, free: 436 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002065/0.3732, allocations: 218.5 kB / 445.3 MB, free: 308 kB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3732, allocations: 0 / 445.3 MB, free: 308 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005149/0.3737, allocations: 83.39 kB / 445.4 MB, free: 296 kB / 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.0001148/0.3738, allocations: 106.5 kB / 445.5 MB, free: 196 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007173/0.3746, allocations: 334.2 kB / 445.8 MB, free: 16 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.3746, allocations: 5.531 kB / 445.8 MB, free: 12 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004231/0.375, allocations: 220.4 kB / 446 MB, free: 15.86 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003926/0.3754, allocations: 39.8 kB / 446 MB, free: 15.85 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001178/0.3766, allocations: 0.5643 MB / 446.6 MB, free: 15.52 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004469/0.377, allocations: 0.7684 MB / 447.4 MB, free: 14.82 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.904e-05/0.3771, allocations: 26.23 kB / 447.4 MB, free: 14.81 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.12e-05/0.3771, allocations: 24.16 kB / 447.4 MB, free: 14.8 MB / 366.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3771, allocations: 0 / 447.4 MB, free: 14.8 MB / 366.1 MB Notification: Performance of Templates: time 0.00843/0.3856, allocations: 3.727 MB / 451.1 MB, free: 14.56 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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.842532686889172]