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.001353/0.001353, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001497/0.001497, allocations: 158.4 kB / 24.99 MB, free: 9.285 MB / 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 1.025/1.025, allocations: 177.1 MB / 205.3 MB, free: 5.613 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.473e-06/1.473e-06, allocations: 0 / 273.1 MB, free: 1.785 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.416e-05/2.563e-05, allocations: 10.25 kB / 273.1 MB, free: 1.773 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Adder): time 0.003142/0.003167, allocations: 3.203 MB / 276.3 MB, free: 14.55 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001258/0.004425, allocations: 0.7984 MB / 277.1 MB, free: 13.75 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001751/0.0046, allocations: 4 kB / 277.1 MB, free: 13.75 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001664/0.004767, allocations: 55.44 kB / 277.2 MB, free: 13.69 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001909/0.004958, allocations: 122.9 kB / 277.3 MB, free: 13.57 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003215/0.005279, allocations: 135.8 kB / 277.4 MB, free: 13.44 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003765/0.005656, allocations: 465.9 kB / 277.9 MB, free: 12.98 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001891/0.005845, allocations: 108.4 kB / 278 MB, free: 12.87 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003187/0.006164, allocations: 255.5 kB / 278.2 MB, free: 12.62 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000161/0.006325, allocations: 143.5 kB / 278.4 MB, free: 12.48 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.242e-05/0.006367, allocations: 44 kB / 278.4 MB, free: 12.44 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.59e-05/0.006433, allocations: 44 kB / 278.5 MB, free: 12.39 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.045e-05/0.006483, allocations: 99.59 kB / 278.6 MB, free: 12.3 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.349e-05/0.006577, allocations: 135.7 kB / 278.7 MB, free: 12.16 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002909/0.006868, allocations: 283 kB / 279 MB, free: 11.89 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.00687, allocations: 4 kB / 279 MB, free: 11.88 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.006871, allocations: 0 / 279 MB, free: 11.88 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.04e-06/0.006876, allocations: 0 / 279 MB, free: 11.88 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.0007479/0.007624, allocations: 0.6946 MB / 279.7 MB, free: 11.15 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.007662, allocations: 8.031 kB / 279.7 MB, free: 11.14 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001514/0.007813, allocations: 72.69 kB / 279.7 MB, free: 11.07 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002796/0.008092, allocations: 255.9 kB / 280 MB, free: 10.8 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.758e-05/0.00811, allocations: 24.97 kB / 280 MB, free: 10.77 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.981e-05/0.00814, allocations: 32.38 kB / 280 MB, free: 10.74 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003709/0.008511, allocations: 357 kB / 280.4 MB, free: 10.36 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.00852, allocations: 4.188 kB / 280.4 MB, free: 10.36 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.233e-05/0.008542, allocations: 16.38 kB / 280.4 MB, free: 10.34 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.09e-05/0.008553, allocations: 11.94 kB / 280.4 MB, free: 10.33 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001854/0.008739, allocations: 123.8 kB / 280.5 MB, free: 10.2 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001126/0.009865, allocations: 1.12 MB / 281.7 MB, free: 9.02 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002381/0.0101, allocations: 143.2 kB / 281.8 MB, free: 8.867 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.648e-05/0.01017, allocations: 47.67 kB / 281.9 MB, free: 8.816 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.911e-05/0.01019, allocations: 4 kB / 281.9 MB, free: 8.812 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.291e-05/0.01021, allocations: 37.39 kB / 281.9 MB, free: 8.766 MB / 266.7 MB Notification: Performance of pre-optimization done (n=15): time 1.553e-06/0.01021, allocations: 0 / 281.9 MB, free: 8.766 MB / 266.7 MB Notification: Performance of matching and sorting (n=15): time 0.0007549/0.01097, allocations: 364.7 kB / 282.3 MB, free: 8.398 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.704e-05/0.01099, allocations: 55.41 kB / 282.3 MB, free: 8.332 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001971/0.01119, allocations: 312.2 kB / 282.6 MB, free: 8.008 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.374e-05/0.01121, allocations: 29.7 kB / 282.6 MB, free: 7.973 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001071/0.01131, allocations: 270.9 kB / 282.9 MB, free: 7.703 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.809e-05/0.01134, allocations: 59.45 kB / 283 MB, free: 7.645 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.329e-05/0.01139, allocations: 55.36 kB / 283 MB, free: 7.582 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001146/0.01151, allocations: 0.504 MB / 283.5 MB, free: 7.066 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.185e-05/0.01156, allocations: 27.98 kB / 283.5 MB, free: 7.039 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.786e-05/0.01166, allocations: 140.2 kB / 283.7 MB, free: 6.852 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000159/0.01182, allocations: 197.9 kB / 283.9 MB, free: 6.609 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.01182, allocations: 4 kB / 283.9 MB, free: 6.605 MB / 266.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003336/0.01215, allocations: 280.7 kB / 284.2 MB, free: 6.32 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.01217, allocations: 8 kB / 284.2 MB, free: 6.312 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.962e-06/0.01217, allocations: 4 kB / 284.2 MB, free: 6.309 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003025/0.01248, allocations: 103.9 kB / 284.3 MB, free: 6.203 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.903e-05/0.01256, allocations: 35.92 kB / 284.3 MB, free: 6.168 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001305/0.01386, allocations: 2.266 MB / 286.6 MB, free: 3.785 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.456e-05/0.01395, allocations: 39.7 kB / 286.6 MB, free: 3.746 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.169e-05/0.01397, allocations: 8 kB / 286.6 MB, free: 3.738 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 9.757e-05/0.01406, allocations: 172.5 kB / 286.8 MB, free: 3.559 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.368e-05/0.0141, allocations: 31.86 kB / 286.8 MB, free: 3.527 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.621e-05/0.01412, allocations: 21.77 kB / 286.8 MB, free: 3.504 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.01413, allocations: 4 kB / 286.8 MB, free: 3.5 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.292e-06/0.01413, allocations: 4 kB / 286.8 MB, free: 3.496 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-06/0.01413, allocations: 0 / 286.8 MB, free: 3.496 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004932/0.01462, allocations: 0.5515 MB / 287.4 MB, free: 2.895 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.01463, allocations: 0 / 287.4 MB, free: 2.895 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.296e-05/0.01466, allocations: 12 kB / 287.4 MB, free: 2.883 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002055/0.01486, allocations: 103.6 kB / 287.5 MB, free: 2.777 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.998e-06/0.01487, allocations: 4 kB / 287.5 MB, free: 2.773 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001087/0.01596, allocations: 2.255 MB / 289.8 MB, free: 408 kB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.01596, allocations: 0 / 289.8 MB, free: 408 kB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002814/0.01624, allocations: 355.2 kB / 290.1 MB, free: 32 kB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.235e-05/0.01626, allocations: 23.78 kB / 290.1 MB, free: 8 kB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.475e-05/0.01628, allocations: 7.938 kB / 290.1 MB, free: 0 / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.901e-05/0.01636, allocations: 15.98 kB / 290.2 MB, free: 15.98 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.487e-05/0.0164, allocations: 19.98 kB / 290.2 MB, free: 15.96 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.002e-06/0.01641, allocations: 0 / 290.2 MB, free: 15.96 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001072/0.01652, allocations: 213.1 kB / 290.4 MB, free: 15.76 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01652, allocations: 0 / 290.4 MB, free: 15.76 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002827/0.0168, allocations: 91.84 kB / 290.5 MB, free: 15.67 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 9.042e-05/0.01689, allocations: 103.2 kB / 290.6 MB, free: 15.56 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003532/0.01724, allocations: 324.9 kB / 290.9 MB, free: 15.22 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.01725, allocations: 0 / 290.9 MB, free: 15.22 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001497/0.01739, allocations: 249.4 kB / 291.1 MB, free: 14.96 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002424/0.01764, allocations: 36.66 kB / 291.2 MB, free: 14.92 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008381/0.01848, allocations: 0.5106 MB / 291.7 MB, free: 14.38 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.619e-05/0.01853, allocations: 88.31 kB / 291.8 MB, free: 14.28 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.859e-05/0.01859, allocations: 22.28 kB / 291.8 MB, free: 14.26 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.574e-05/0.01863, allocations: 24.48 kB / 291.8 MB, free: 14.23 MB / 282.7 MB Notification: Performance of SimCode: time 7.71e-07/0.01863, allocations: 0 / 291.8 MB, free: 14.23 MB / 282.7 MB Notification: Performance of Templates: time 0.005027/0.02365, allocations: 3.283 MB / 295.1 MB, free: 11 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.908657187828794]