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.001657/0.001657, allocations: 123.4 kB / 17.79 MB, free: 5.359 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.001395/0.001395, allocations: 208.3 kB / 20.75 MB, free: 2.41 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.41/1.41, allocations: 230.6 MB / 254.1 MB, free: 15.05 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: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Adder,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_Adder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Adder,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_Adder",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002512/0.002512, allocations: 51.92 kB / 373 MB, free: 10.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.122/0.1245, allocations: 53.33 MB / 426.4 MB, free: 4.734 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Adder): time 0.004808/0.1293, allocations: 3.219 MB / 429.6 MB, free: 1.496 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001495/0.1308, allocations: 0.8219 MB / 430.4 MB, free: 0.668 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000147/0.1309, allocations: 4 kB / 430.4 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001798/0.1311, allocations: 55.42 kB / 430.5 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002161/0.1313, allocations: 119 kB / 430.6 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003302/0.1316, allocations: 135.8 kB / 430.7 MB, free: 368 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.201/0.3326, allocations: 446 kB / 431.1 MB, free: 7.648 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003433/0.333, allocations: 110.1 kB / 431.2 MB, free: 7.637 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004117/0.3334, allocations: 173.1 kB / 431.4 MB, free: 7.637 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002125/0.3336, allocations: 186.3 kB / 431.6 MB, free: 7.598 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.733e-05/0.3337, allocations: 42.81 kB / 431.6 MB, free: 7.598 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001119/0.3338, allocations: 45.72 kB / 431.7 MB, free: 7.598 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.289e-05/0.3338, allocations: 91.33 kB / 431.8 MB, free: 7.586 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001716/0.334, allocations: 195.4 kB / 432 MB, free: 7.531 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005585/0.3346, allocations: 0.5001 MB / 432.5 MB, free: 7.465 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.481e-06/0.3346, allocations: 2.344 kB / 432.5 MB, free: 7.465 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.3346, allocations: 0.5938 kB / 432.5 MB, free: 7.465 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.45e-05/0.3346, allocations: 0 / 432.5 MB, free: 7.465 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.001014/0.3356, allocations: 0.6797 MB / 433.1 MB, free: 6.988 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.3357, allocations: 9.5 kB / 433.2 MB, free: 6.988 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.629e-05/0.3357, allocations: 71.69 kB / 433.2 MB, free: 6.949 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001844/0.3359, allocations: 48.56 kB / 433.3 MB, free: 6.93 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003908/0.3363, allocations: 314.5 kB / 433.6 MB, free: 6.703 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.071e-05/0.3363, allocations: 20.62 kB / 433.6 MB, free: 6.703 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.214e-05/0.3364, allocations: 31.97 kB / 433.6 MB, free: 6.703 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005825/0.3369, allocations: 346.8 kB / 434 MB, free: 6.645 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.337, allocations: 0.5625 kB / 434 MB, free: 6.645 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.087e-05/0.337, allocations: 20.97 kB / 434 MB, free: 6.645 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.618e-06/0.337, allocations: 11.88 kB / 434 MB, free: 6.645 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005444/0.3375, allocations: 266.2 kB / 434.3 MB, free: 6.645 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001746/0.3393, allocations: 1.261 MB / 435.5 MB, free: 6.094 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005745/0.3399, allocations: 280.5 kB / 435.8 MB, free: 5.973 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002085/0.3401, allocations: 99 kB / 435.9 MB, free: 5.957 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.663e-05/0.3401, allocations: 5.609 kB / 435.9 MB, free: 5.953 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.62e-05/0.3401, allocations: 36.34 kB / 435.9 MB, free: 5.914 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 1.232e-06/0.3401, allocations: 0 / 435.9 MB, free: 5.914 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.002155/0.3423, allocations: 0.6365 MB / 436.6 MB, free: 5.75 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.549e-05/0.3423, allocations: 52.62 kB / 436.6 MB, free: 5.688 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003429/0.3426, allocations: 301.2 kB / 436.9 MB, free: 5.578 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.911e-05/0.3427, allocations: 31.39 kB / 436.9 MB, free: 5.547 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001261/0.3428, allocations: 226.6 kB / 437.2 MB, free: 5.398 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.205e-05/0.3428, allocations: 56.53 kB / 437.2 MB, free: 5.363 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.93e-05/0.3429, allocations: 49.78 kB / 437.3 MB, free: 5.344 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.742e-05/0.343, allocations: 336.9 kB / 437.6 MB, free: 5.031 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002163/0.3432, allocations: 77.8 kB / 437.7 MB, free: 5.031 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002456/0.3435, allocations: 168.8 kB / 437.8 MB, free: 4.926 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004201/0.3439, allocations: 245.2 kB / 438.1 MB, free: 4.824 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.3439, allocations: 1.125 kB / 438.1 MB, free: 4.824 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001006/0.3449, allocations: 405.9 kB / 438.5 MB, free: 4.715 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/0.3449, allocations: 9.906 kB / 438.5 MB, free: 4.711 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.172e-05/0.3449, allocations: 5.25 kB / 438.5 MB, free: 4.711 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000456/0.3454, allocations: 102 kB / 438.6 MB, free: 4.684 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001617/0.3455, allocations: 47.11 kB / 438.6 MB, free: 4.676 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002754/0.3483, allocations: 2.178 MB / 440.8 MB, free: 2.91 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002413/0.3485, allocations: 37.78 kB / 440.9 MB, free: 2.891 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.989e-05/0.3486, allocations: 9.375 kB / 440.9 MB, free: 2.891 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.0001435/0.3487, allocations: 153.3 kB / 441 MB, free: 2.75 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.038e-05/0.3487, allocations: 24.89 kB / 441 MB, free: 2.738 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.58e-05/0.3488, allocations: 33.25 kB / 441.1 MB, free: 2.711 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.3488, allocations: 5.438 kB / 441.1 MB, free: 2.707 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.3488, allocations: 0 / 441.1 MB, free: 2.707 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.3488, allocations: 3.984 kB / 441.1 MB, free: 2.707 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001291/0.3501, allocations: 0.7151 MB / 441.8 MB, free: 2.258 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.3501, allocations: 0.7031 kB / 441.8 MB, free: 2.258 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.491e-05/0.3502, allocations: 17.09 kB / 441.8 MB, free: 2.258 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003488/0.3505, allocations: 103.4 kB / 441.9 MB, free: 2.227 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.45e-05/0.3505, allocations: 9.906 kB / 441.9 MB, free: 2.219 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002534/0.3531, allocations: 2.152 MB / 444.1 MB, free: 480 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.075e-06/0.3531, allocations: 5.203 kB / 444.1 MB, free: 476 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008822/0.354, allocations: 411.2 kB / 444.5 MB, free: 256 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.526e-05/0.354, allocations: 114.3 kB / 444.6 MB, free: 132 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.881e-05/0.3541, allocations: 1.984 kB / 444.6 MB, free: 132 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002097/0.3543, allocations: 23.48 kB / 444.6 MB, free: 128 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.185e-05/0.3543, allocations: 10.06 kB / 444.6 MB, free: 128 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.606e-05/0.3543, allocations: 14.61 kB / 444.6 MB, free: 120 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002111/0.3545, allocations: 210.5 kB / 444.8 MB, free: 0 / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3545, allocations: 0 / 444.8 MB, free: 0 / 350.1 MB Notification: Performance of remove unused functions: time 0.0005451/0.3551, allocations: 86.17 kB / 444.9 MB, free: 15.99 MB / 366.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.001283/0.3564, allocations: 0.9462 MB / 445.9 MB, free: 15.23 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007811/0.3571, allocations: 345.3 kB / 446.2 MB, free: 15.05 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3572, allocations: 0 / 446.2 MB, free: 15.05 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003891/0.3575, allocations: 221.1 kB / 446.4 MB, free: 14.9 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003917/0.3579, allocations: 49.09 kB / 446.5 MB, free: 14.88 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005263/0.3632, allocations: 3.139 MB / 449.6 MB, free: 12.88 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004439/0.3636, allocations: 0.771 MB / 450.4 MB, free: 12.17 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.601e-05/0.3637, allocations: 24.66 kB / 450.4 MB, free: 12.16 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001443/0.3639, allocations: 94.89 kB / 450.5 MB, free: 12.09 MB / 366.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3639, allocations: 1.25 kB / 450.5 MB, free: 12.09 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03476/0.3986, allocations: 6.678 MB / 457.2 MB, free: 10.53 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.65/12.05, allocations: 5.125 kB / 457.2 MB, free: 10.52 MB / 366.1 MB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_Adder_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_Adder.fmu > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/Adder/Adder.csv","/var/lib/jenkins1/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: 14.358472814084962]