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.001155/0.001155, allocations: 75.77 kB / 21.18 MB, free: 3.383 MB / 18.57 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.001336/0.001336, allocations: 165 kB / 24.56 MB, free: 8 kB / 18.57 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 0.959/0.959, allocations: 177.1 MB / 205 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 179] 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 1.212e-06/1.212e-06, allocations: 0 / 273 MB, free: 1.48 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.567e-05/2.688e-05, allocations: 2.312 kB / 273 MB, free: 1.477 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Adder): time 0.003258/0.003284, allocations: 3.215 MB / 276.2 MB, free: 14.25 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001196/0.00448, allocations: 0.7946 MB / 277 MB, free: 13.45 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001356/0.004616, allocations: 11.94 kB / 277 MB, free: 13.43 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000159/0.004775, allocations: 67.36 kB / 277.1 MB, free: 13.37 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00017/0.004945, allocations: 115 kB / 277.2 MB, free: 13.25 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003183/0.005263, allocations: 139.7 kB / 277.4 MB, free: 13.12 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003655/0.005629, allocations: 457.9 kB / 277.8 MB, free: 12.67 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001925/0.005821, allocations: 108.5 kB / 277.9 MB, free: 12.56 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003166/0.006138, allocations: 267.5 kB / 278.2 MB, free: 12.3 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000155/0.006293, allocations: 139.6 kB / 278.3 MB, free: 12.16 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.463e-05/0.006338, allocations: 40 kB / 278.3 MB, free: 12.12 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.229e-05/0.00641, allocations: 48 kB / 278.4 MB, free: 12.07 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.564e-05/0.006456, allocations: 87.67 kB / 278.5 MB, free: 11.99 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.244e-05/0.006548, allocations: 135.7 kB / 278.6 MB, free: 11.86 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003093/0.006857, allocations: 294.9 kB / 278.9 MB, free: 11.57 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.006861, allocations: 0 / 278.9 MB, free: 11.57 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.006863, allocations: 0 / 278.9 MB, free: 11.57 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.593e-06/0.006869, allocations: 0 / 278.9 MB, free: 11.57 MB / 266.7 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.0007354/0.007605, allocations: 0.6908 MB / 279.6 MB, free: 10.84 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.39e-05/0.007639, allocations: 8.031 kB / 279.6 MB, free: 10.83 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001608/0.007799, allocations: 72.69 kB / 279.7 MB, free: 10.76 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002754/0.008075, allocations: 259.9 kB / 279.9 MB, free: 10.48 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.96e-05/0.008095, allocations: 25.03 kB / 279.9 MB, free: 10.46 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.981e-05/0.008124, allocations: 32.38 kB / 280 MB, free: 10.43 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003944/0.008519, allocations: 357.1 kB / 280.3 MB, free: 10.04 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.008529, allocations: 192 / 280.3 MB, free: 10.04 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.273e-05/0.008551, allocations: 12.38 kB / 280.3 MB, free: 10.03 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.214e-05/0.008564, allocations: 11.94 kB / 280.3 MB, free: 10.02 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001835/0.008747, allocations: 123.8 kB / 280.5 MB, free: 9.895 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001147/0.009894, allocations: 1.132 MB / 281.6 MB, free: 8.699 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002416/0.01014, allocations: 127.3 kB / 281.7 MB, free: 8.562 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.561e-05/0.0102, allocations: 51.59 kB / 281.8 MB, free: 8.508 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.817e-05/0.01022, allocations: 4 kB / 281.8 MB, free: 8.504 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.331e-05/0.01024, allocations: 37.39 kB / 281.8 MB, free: 8.457 MB / 266.7 MB Notification: Performance of pre-optimization done (n=15): time 1.462e-06/0.01024, allocations: 4 kB / 281.8 MB, free: 8.453 MB / 266.7 MB Notification: Performance of matching and sorting (n=15): time 0.0007837/0.01103, allocations: 364.8 kB / 282.2 MB, free: 8.086 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.449e-05/0.01105, allocations: 51.41 kB / 282.2 MB, free: 8.023 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001905/0.01124, allocations: 308.2 kB / 282.5 MB, free: 7.703 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.662e-05/0.01126, allocations: 33.7 kB / 282.6 MB, free: 7.664 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001123/0.01137, allocations: 266.9 kB / 282.8 MB, free: 7.398 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.713e-05/0.0114, allocations: 55.47 kB / 282.9 MB, free: 7.344 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.791e-05/0.01146, allocations: 55.36 kB / 282.9 MB, free: 7.281 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000115/0.01157, allocations: 0.5079 MB / 283.4 MB, free: 6.762 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.627e-05/0.01163, allocations: 31.97 kB / 283.5 MB, free: 6.73 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001021/0.01173, allocations: 148.2 kB / 283.6 MB, free: 6.535 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001641/0.01189, allocations: 186 kB / 283.8 MB, free: 6.305 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.0119, allocations: 8 kB / 283.8 MB, free: 6.297 MB / 266.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000357/0.01225, allocations: 284.8 kB / 284.1 MB, free: 6.008 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.01227, allocations: 4 kB / 284.1 MB, free: 6.004 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.01228, allocations: 4 kB / 284.1 MB, free: 6 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003139/0.01259, allocations: 103.7 kB / 284.2 MB, free: 5.895 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.928e-05/0.01268, allocations: 47.91 kB / 284.2 MB, free: 5.848 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001422/0.0141, allocations: 2.258 MB / 286.5 MB, free: 3.473 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001125/0.01422, allocations: 31.78 kB / 286.5 MB, free: 3.441 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.425e-05/0.01423, allocations: 16.03 kB / 286.5 MB, free: 3.426 MB / 266.7 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.0001027/0.01433, allocations: 172.5 kB / 286.7 MB, free: 3.246 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.481e-05/0.01437, allocations: 31.84 kB / 286.7 MB, free: 3.215 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.948e-05/0.0144, allocations: 25.78 kB / 286.8 MB, free: 3.188 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.0144, allocations: 0 / 286.8 MB, free: 3.188 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.285e-06/0.0144, allocations: 0 / 286.8 MB, free: 3.188 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.01441, allocations: 3.984 kB / 286.8 MB, free: 3.184 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005289/0.01493, allocations: 0.5477 MB / 287.3 MB, free: 2.586 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.01494, allocations: 0 / 287.3 MB, free: 2.586 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.105e-05/0.01498, allocations: 15.98 kB / 287.3 MB, free: 2.57 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000226/0.0152, allocations: 103.9 kB / 287.4 MB, free: 2.465 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.077e-05/0.01521, allocations: 4 kB / 287.4 MB, free: 2.461 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00116/0.01637, allocations: 2.259 MB / 289.7 MB, free: 84 kB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.01638, allocations: 3.984 kB / 289.7 MB, free: 80 kB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003023/0.01668, allocations: 343.4 kB / 290 MB, free: 15.72 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.574e-05/0.0167, allocations: 31.78 kB / 290.1 MB, free: 15.69 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.579e-05/0.01672, allocations: 3.938 kB / 290.1 MB, free: 15.69 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.685e-05/0.01681, allocations: 19.98 kB / 290.1 MB, free: 15.67 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.235e-05/0.01685, allocations: 11.97 kB / 290.1 MB, free: 15.66 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.668e-06/0.01686, allocations: 11.94 kB / 290.1 MB, free: 15.64 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001167/0.01698, allocations: 209.1 kB / 290.3 MB, free: 15.44 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01698, allocations: 0 / 290.3 MB, free: 15.44 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003272/0.0173, allocations: 99.78 kB / 290.4 MB, free: 15.34 MB / 282.7 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.0001117/0.01742, allocations: 95.25 kB / 290.5 MB, free: 15.24 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003781/0.01779, allocations: 320.8 kB / 290.8 MB, free: 14.91 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.0178, allocations: 0.6875 kB / 290.8 MB, free: 14.91 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001543/0.01795, allocations: 253.3 kB / 291.1 MB, free: 14.64 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002601/0.01821, allocations: 36.66 kB / 291.1 MB, free: 14.61 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008746/0.01908, allocations: 0.5102 MB / 291.6 MB, free: 14.07 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.46e-05/0.01914, allocations: 84.31 kB / 291.7 MB, free: 13.96 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.021e-05/0.0192, allocations: 30.27 kB / 291.7 MB, free: 13.94 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.557e-05/0.01923, allocations: 16.5 kB / 291.7 MB, free: 13.92 MB / 282.7 MB Notification: Performance of SimCode: time 1.212e-06/0.01924, allocations: 0 / 291.7 MB, free: 13.92 MB / 282.7 MB Notification: Performance of Templates: time 0.00636/0.0256, allocations: 3.408 MB / 295.2 MB, free: 10.55 MB / 282.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7709597470238805]