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.001682/0.001682, allocations: 113.8 kB / 19.18 MB, free: 3.762 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.002042/0.002042, allocations: 208.9 kB / 22.13 MB, free: 0.8125 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.494/1.494, allocations: 230.2 MB / 255.2 MB, free: 15.25 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.001868/0.001868, allocations: 71.88 kB / 374.6 MB, free: 9.969 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09751/0.09938, allocations: 53.32 MB / 427.9 MB, free: 4.547 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Adder): time 0.004498/0.1039, allocations: 3.215 MB / 431.1 MB, free: 1.316 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001552/0.1054, allocations: 0.8218 MB / 431.9 MB, free: 500 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001635/0.1056, allocations: 8 kB / 431.9 MB, free: 492 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001849/0.1058, allocations: 59.44 kB / 432 MB, free: 432 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000224/0.106, allocations: 115 kB / 432.1 MB, free: 316 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003447/0.1063, allocations: 135.8 kB / 432.2 MB, free: 180 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.2005/0.3069, allocations: 441.5 kB / 432.7 MB, free: 8.156 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003/0.3072, allocations: 109 kB / 432.8 MB, free: 8.145 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003547/0.3075, allocations: 176.6 kB / 432.9 MB, free: 8.141 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002365/0.3078, allocations: 186.7 kB / 433.1 MB, free: 8.102 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.4e-05/0.3078, allocations: 43.03 kB / 433.2 MB, free: 8.102 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001074/0.308, allocations: 47.56 kB / 433.2 MB, free: 8.102 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.132e-05/0.308, allocations: 89.67 kB / 433.3 MB, free: 8.09 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001608/0.3082, allocations: 196.6 kB / 433.5 MB, free: 8.035 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005328/0.3087, allocations: 0.5028 MB / 434 MB, free: 7.969 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.3087, allocations: 0 / 434 MB, free: 7.969 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.3087, allocations: 1.094 kB / 434 MB, free: 7.969 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.785e-06/0.3087, allocations: 0 / 434 MB, free: 7.969 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.0009296/0.3096, allocations: 0.6808 MB / 434.7 MB, free: 7.492 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.303e-05/0.3097, allocations: 10.91 kB / 434.7 MB, free: 7.492 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001834/0.3099, allocations: 52.67 kB / 434.7 MB, free: 7.473 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003638/0.3102, allocations: 301.5 kB / 435 MB, free: 7.246 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.036e-05/0.3103, allocations: 28.31 kB / 435 MB, free: 7.246 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.088e-05/0.3103, allocations: 34.31 kB / 435.1 MB, free: 7.246 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005982/0.3109, allocations: 346 kB / 435.4 MB, free: 7.191 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.394e-05/0.3109, allocations: 5.125 kB / 435.4 MB, free: 7.188 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.322e-05/0.3109, allocations: 16.34 kB / 435.4 MB, free: 7.188 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.145e-05/0.3109, allocations: 7.938 kB / 435.4 MB, free: 7.188 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005763/0.3115, allocations: 270.3 kB / 435.7 MB, free: 7.188 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001831/0.3134, allocations: 1.256 MB / 437 MB, free: 6.637 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005984/0.314, allocations: 287.5 kB / 437.3 MB, free: 6.516 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002125/0.3142, allocations: 86.62 kB / 437.3 MB, free: 6.508 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.478e-05/0.3142, allocations: 6.156 kB / 437.3 MB, free: 6.504 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.288e-05/0.3142, allocations: 39.75 kB / 437.4 MB, free: 6.465 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 2.174e-06/0.3142, allocations: 0 / 437.4 MB, free: 6.465 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.002197/0.3164, allocations: 0.6384 MB / 438 MB, free: 6.293 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.68e-05/0.3164, allocations: 52.66 kB / 438.1 MB, free: 6.23 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003284/0.3168, allocations: 301.1 kB / 438.4 MB, free: 6.117 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.142e-05/0.3168, allocations: 29.39 kB / 438.4 MB, free: 6.086 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001187/0.3169, allocations: 226.5 kB / 438.6 MB, free: 5.938 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.111e-05/0.317, allocations: 57.05 kB / 438.7 MB, free: 5.902 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.588e-05/0.317, allocations: 52.95 kB / 438.7 MB, free: 5.883 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.924e-05/0.3171, allocations: 334.7 kB / 439 MB, free: 5.57 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002191/0.3173, allocations: 77.72 kB / 439.1 MB, free: 5.57 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002487/0.3176, allocations: 168.8 kB / 439.3 MB, free: 5.461 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000432/0.318, allocations: 241.1 kB / 439.5 MB, free: 5.305 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.318, allocations: 0 / 439.5 MB, free: 5.305 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009833/0.319, allocations: 410.6 kB / 439.9 MB, free: 5.164 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.319, allocations: 6.656 kB / 439.9 MB, free: 5.164 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/0.319, allocations: 8.734 kB / 439.9 MB, free: 5.16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004505/0.3195, allocations: 103.5 kB / 440 MB, free: 5.133 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001646/0.3196, allocations: 37.95 kB / 440.1 MB, free: 5.133 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002773/0.3224, allocations: 2.187 MB / 442.3 MB, free: 3.363 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002708/0.3227, allocations: 37.62 kB / 442.3 MB, free: 3.344 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.029e-05/0.3227, allocations: 8.75 kB / 442.3 MB, free: 3.344 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.000151/0.3229, allocations: 146.4 kB / 442.5 MB, free: 3.211 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.431e-05/0.3229, allocations: 27.36 kB / 442.5 MB, free: 3.199 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.339e-05/0.323, allocations: 27.88 kB / 442.5 MB, free: 3.176 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.323, allocations: 6.938 kB / 442.5 MB, free: 3.172 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.323, allocations: 4.938 kB / 442.5 MB, free: 3.168 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.323, allocations: 1.953 kB / 442.5 MB, free: 3.168 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001321/0.3243, allocations: 0.7247 MB / 443.2 MB, free: 2.711 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.3243, allocations: 3.5 kB / 443.2 MB, free: 2.711 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.765e-05/0.3244, allocations: 12.89 kB / 443.3 MB, free: 2.711 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003639/0.3247, allocations: 101.8 kB / 443.4 MB, free: 2.684 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.847e-05/0.3248, allocations: 8.734 kB / 443.4 MB, free: 2.676 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002854/0.3276, allocations: 2.153 MB / 445.5 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/0.3276, allocations: 3.938 kB / 445.5 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009912/0.3286, allocations: 412.4 kB / 445.9 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.456e-05/0.3287, allocations: 109.6 kB / 446 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.163e-05/0.3287, allocations: 6.922 kB / 446 MB, free: 0.582 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002173/0.329, allocations: 23.66 kB / 446.1 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.56e-05/0.329, allocations: 10.89 kB / 446.1 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.449e-05/0.329, allocations: 7.188 kB / 446.1 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002675/0.3293, allocations: 215.3 kB / 446.3 MB, free: 464 kB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3293, allocations: 0 / 446.3 MB, free: 464 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005906/0.3299, allocations: 87.39 kB / 446.4 MB, free: 448 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.0001576/0.3301, allocations: 103.7 kB / 446.5 MB, free: 352 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008494/0.3309, allocations: 336.3 kB / 446.8 MB, free: 168 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.3309, allocations: 5.031 kB / 446.8 MB, free: 164 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003569/0.3313, allocations: 224.4 kB / 447 MB, free: 12 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000425/0.3317, allocations: 52.66 kB / 447.1 MB, free: 15.98 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001286/0.333, allocations: 0.5892 MB / 447.7 MB, free: 15.62 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004367/0.3334, allocations: 0.7682 MB / 448.4 MB, free: 14.92 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.367e-05/0.3335, allocations: 19.97 kB / 448.5 MB, free: 14.91 MB / 366.1 MB Notification: Performance of SimCode: time 6.32e-07/0.3335, allocations: 1.219 kB / 448.5 MB, free: 14.91 MB / 366.1 MB Notification: Performance of Templates: time 0.008879/0.3424, allocations: 4.761 MB / 453.2 MB, free: 14.38 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/Adder/Adder.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 7.448692717123777]