Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00164/0.00164, allocations: 108.6 kB / 21.22 MB, free: 0.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001589/0.001589, allocations: 192.8 kB / 24.51 MB, free: 4.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.359/1.359, allocations: 225.7 MB / 253.3 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Adder,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_Adder",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Adder,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_Adder",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00145/0.00145, allocations: 51.92 kB / 371.3 MB, free: 9.848 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2474/0.2489, allocations: 52.18 MB / 423.4 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Adder): time 0.00467/0.2536, allocations: 3.214 MB / 426.7 MB, free: 11.38 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001615/0.2552, allocations: 0.7751 MB / 427.4 MB, free: 10.6 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000167/0.2553, allocations: 7.938 kB / 427.4 MB, free: 10.59 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000198/0.2555, allocations: 63.42 kB / 427.5 MB, free: 10.53 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000215/0.2558, allocations: 111 kB / 427.6 MB, free: 10.42 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002958/0.2561, allocations: 127.8 kB / 427.7 MB, free: 10.29 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004868/0.2565, allocations: 446.2 kB / 428.2 MB, free: 9.855 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002292/0.2568, allocations: 112.4 kB / 428.3 MB, free: 9.746 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002248/0.257, allocations: 171.4 kB / 428.4 MB, free: 9.578 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000228/0.2572, allocations: 175.2 kB / 428.6 MB, free: 9.406 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.745e-05/0.2573, allocations: 47.94 kB / 428.7 MB, free: 9.359 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.007e-05/0.2573, allocations: 44 kB / 428.7 MB, free: 9.316 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.445e-05/0.2574, allocations: 87.73 kB / 428.8 MB, free: 9.23 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001797/0.2576, allocations: 191.1 kB / 429 MB, free: 9.043 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005469/0.2582, allocations: 0.5027 MB / 429.5 MB, free: 8.543 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.2582, allocations: 4 kB / 429.5 MB, free: 8.539 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.2582, allocations: 0 / 429.5 MB, free: 8.539 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.15e-05/0.2582, allocations: 4 kB / 429.5 MB, free: 8.535 MB / 334.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.001077/0.2593, allocations: 0.5948 MB / 430.1 MB, free: 7.906 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/0.2593, allocations: 8.031 kB / 430.1 MB, free: 7.898 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.382e-05/0.2593, allocations: 8.844 kB / 430.1 MB, free: 7.891 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.454e-05/0.2594, allocations: 70.72 kB / 430.2 MB, free: 7.812 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.166e-05/0.2595, allocations: 40.7 kB / 430.2 MB, free: 7.773 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004366/0.2599, allocations: 241.9 kB / 430.4 MB, free: 7.512 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.534e-05/0.2599, allocations: 25.03 kB / 430.5 MB, free: 7.488 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.32e-05/0.26, allocations: 32.38 kB / 430.5 MB, free: 7.457 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006517/0.2606, allocations: 356.9 kB / 430.9 MB, free: 7.102 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.2606, allocations: 0 / 430.9 MB, free: 7.102 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.423e-05/0.2607, allocations: 12 kB / 430.9 MB, free: 7.09 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.201e-05/0.2607, allocations: 8 kB / 430.9 MB, free: 7.082 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005965/0.2613, allocations: 274.4 kB / 431.1 MB, free: 6.812 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001978/0.2633, allocations: 1.218 MB / 432.4 MB, free: 5.52 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005744/0.2638, allocations: 202.7 kB / 432.6 MB, free: 5.312 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002095/0.264, allocations: 84.83 kB / 432.6 MB, free: 5.227 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.335e-05/0.2641, allocations: 7.984 kB / 432.6 MB, free: 5.219 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.247e-05/0.2641, allocations: 30.56 kB / 432.7 MB, free: 5.18 MB / 334.1 MB Notification: Performance of pre-optimization done (n=15): time 1.733e-06/0.2641, allocations: 0 / 432.7 MB, free: 5.18 MB / 334.1 MB Notification: Performance of matching and sorting (n=15): time 0.002139/0.2662, allocations: 0.5603 MB / 433.2 MB, free: 4.609 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.458e-05/0.2663, allocations: 63.34 kB / 433.3 MB, free: 4.535 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003408/0.2666, allocations: 296.2 kB / 433.6 MB, free: 4.238 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.117e-05/0.2667, allocations: 33.7 kB / 433.6 MB, free: 4.199 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000155/0.2668, allocations: 216.2 kB / 433.8 MB, free: 3.984 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.191e-05/0.2669, allocations: 55.53 kB / 433.9 MB, free: 3.93 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.582e-05/0.2669, allocations: 49.66 kB / 433.9 MB, free: 3.875 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001499/0.2671, allocations: 338.8 kB / 434.3 MB, free: 3.535 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002071/0.2673, allocations: 79.95 kB / 434.3 MB, free: 3.457 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000263/0.2676, allocations: 162.2 kB / 434.5 MB, free: 3.262 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004622/0.268, allocations: 242.1 kB / 434.7 MB, free: 2.988 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.268, allocations: 4 kB / 434.7 MB, free: 2.984 MB / 334.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009754/0.269, allocations: 413.2 kB / 435.1 MB, free: 2.574 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.269, allocations: 4 kB / 435.2 MB, free: 2.57 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.269, allocations: 4 kB / 435.2 MB, free: 2.566 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004153/0.2694, allocations: 104.8 kB / 435.3 MB, free: 2.461 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001554/0.2696, allocations: 39.92 kB / 435.3 MB, free: 2.422 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003093/0.2727, allocations: 2.09 MB / 437.4 MB, free: 224 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002239/0.2729, allocations: 39.7 kB / 437.4 MB, free: 184 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.969e-05/0.2729, allocations: 8 kB / 437.4 MB, free: 176 kB / 334.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.0001609/0.2731, allocations: 153.8 kB / 437.6 MB, free: 12 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.574e-05/0.2732, allocations: 28.05 kB / 437.6 MB, free: 15.98 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.965e-05/0.2732, allocations: 29.59 kB / 437.6 MB, free: 15.95 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.2732, allocations: 4 kB / 437.6 MB, free: 15.95 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.883e-06/0.2732, allocations: 0 / 437.6 MB, free: 15.95 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.061e-06/0.2732, allocations: 3.984 kB / 437.6 MB, free: 15.95 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001301/0.2745, allocations: 0.6973 MB / 438.3 MB, free: 15.19 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.2745, allocations: 0 / 438.3 MB, free: 15.19 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.349e-05/0.2746, allocations: 15.94 kB / 438.4 MB, free: 15.18 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003446/0.275, allocations: 100.8 kB / 438.5 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.205e-05/0.275, allocations: 4 kB / 438.5 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002888/0.2779, allocations: 2.04 MB / 440.5 MB, free: 12.92 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.2779, allocations: 8 kB / 440.5 MB, free: 12.91 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008902/0.2788, allocations: 416.3 kB / 440.9 MB, free: 12.49 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.131e-05/0.2788, allocations: 31.73 kB / 440.9 MB, free: 12.46 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.024e-05/0.2788, allocations: 8 kB / 441 MB, free: 12.45 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002019/0.279, allocations: 15.98 kB / 441 MB, free: 12.43 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.046e-05/0.2791, allocations: 23.91 kB / 441 MB, free: 12.41 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.32e-05/0.2791, allocations: 4 kB / 441 MB, free: 12.41 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002278/0.2793, allocations: 211.1 kB / 441.2 MB, free: 12.2 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2793, allocations: 0 / 441.2 MB, free: 12.2 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004658/0.2798, allocations: 87.89 kB / 441.3 MB, free: 12.11 MB / 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.001209/0.281, allocations: 0.9394 MB / 442.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007721/0.2818, allocations: 350 kB / 442.6 MB, free: 10.79 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.2818, allocations: 0 / 442.6 MB, free: 10.79 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000376/0.2822, allocations: 218.6 kB / 442.8 MB, free: 10.56 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003834/0.2825, allocations: 53.75 kB / 442.8 MB, free: 10.51 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005014/0.2876, allocations: 3.122 MB / 446 MB, free: 7.23 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004557/0.288, allocations: 0.7714 MB / 446.7 MB, free: 6.434 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001132/0.2881, allocations: 26.28 kB / 446.8 MB, free: 6.406 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001464/0.2883, allocations: 95.41 kB / 446.8 MB, free: 6.312 MB / 350.1 MB Notification: Performance of SimCode: time 1.402e-06/0.2883, allocations: 4 kB / 446.9 MB, free: 6.309 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04162/0.3299, allocations: 6.865 MB / 453.7 MB, free: 15.61 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.15/12.48, allocations: 8.094 kB / 453.7 MB, free: 15.61 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_Adder_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_Adder.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/Adder/Adder.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.820405117992777]