Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.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.001758/0.001758, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.001777/0.001777, allocations: 206.6 kB / 20.75 MB, free: 2.312 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.568/1.568, allocations: 230.4 MB / 254 MB, free: 15.02 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: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_SignalGenerator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_SignalGenerator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002653/0.002653, allocations: 67.89 kB / 373 MB, free: 10.04 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1353/0.1379, allocations: 53.37 MB / 426.4 MB, free: 4.566 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator): time 0.005002/0.1429, allocations: 3.015 MB / 429.4 MB, free: 1.539 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001688/0.1446, allocations: 0.74 MB / 430.2 MB, free: 0.793 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001963/0.1448, allocations: 7.938 kB / 430.2 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002222/0.145, allocations: 55.44 kB / 430.2 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000297/0.1453, allocations: 123 kB / 430.3 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000261/0.1456, allocations: 79.89 kB / 430.4 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005046/0.1461, allocations: 422.1 kB / 430.8 MB, free: 120 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002486/0.1464, allocations: 99.38 kB / 430.9 MB, free: 12 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2445/0.3908, allocations: 146.3 kB / 431.1 MB, free: 7.344 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003103/0.3912, allocations: 173 kB / 431.2 MB, free: 7.312 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.947e-05/0.3912, allocations: 34.16 kB / 431.3 MB, free: 7.312 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.639e-05/0.3913, allocations: 33.22 kB / 431.3 MB, free: 7.312 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.217e-05/0.3914, allocations: 81.09 kB / 431.4 MB, free: 7.297 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001779/0.3916, allocations: 182.8 kB / 431.6 MB, free: 7.246 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004837/0.392, allocations: 394.3 kB / 431.9 MB, free: 7.18 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.392, allocations: 0.9375 kB / 431.9 MB, free: 7.18 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.392, allocations: 1.375 kB / 431.9 MB, free: 7.18 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.087e-06/0.3921, allocations: 3.656 kB / 432 MB, free: 7.18 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.0008843/0.3929, allocations: 0.6415 MB / 432.6 MB, free: 6.715 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/0.393, allocations: 9.594 kB / 432.6 MB, free: 6.715 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.041e-05/0.3931, allocations: 68.05 kB / 432.7 MB, free: 6.676 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.835e-05/0.3931, allocations: 40.52 kB / 432.7 MB, free: 6.656 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003716/0.3935, allocations: 303.6 kB / 433 MB, free: 6.43 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.612e-05/0.3935, allocations: 24.72 kB / 433 MB, free: 6.43 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.618e-05/0.3936, allocations: 31.03 kB / 433.1 MB, free: 6.43 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000455/0.3941, allocations: 297.7 kB / 433.4 MB, free: 6.387 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.3941, allocations: 0 / 433.4 MB, free: 6.387 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.999e-05/0.3941, allocations: 14.06 kB / 433.4 MB, free: 6.387 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.285e-05/0.3941, allocations: 8.281 kB / 433.4 MB, free: 6.387 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003918/0.3945, allocations: 243.3 kB / 433.6 MB, free: 6.387 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001692/0.3962, allocations: 1.127 MB / 434.7 MB, free: 5.922 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004974/0.3967, allocations: 236.8 kB / 435 MB, free: 5.895 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003612/0.397, allocations: 157.2 kB / 435.1 MB, free: 5.887 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.829e-05/0.3971, allocations: 2.812 kB / 435.1 MB, free: 5.887 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.815e-05/0.3971, allocations: 36.47 kB / 435.2 MB, free: 5.848 MB / 350.1 MB Notification: Performance of pre-optimization done (n=26): time 1.213e-06/0.3971, allocations: 0 / 435.2 MB, free: 5.848 MB / 350.1 MB Notification: Performance of matching and sorting (n=26): time 0.001197/0.3983, allocations: 0.5427 MB / 435.7 MB, free: 5.59 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.491e-05/0.3983, allocations: 57.72 kB / 435.8 MB, free: 5.523 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002666/0.3986, allocations: 275.1 kB / 436 MB, free: 5.414 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.882e-05/0.3986, allocations: 31.36 kB / 436.1 MB, free: 5.383 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.812e-05/0.3987, allocations: 207.2 kB / 436.3 MB, free: 5.238 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.094e-05/0.3988, allocations: 94.17 kB / 436.4 MB, free: 5.18 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.89e-05/0.3989, allocations: 64.56 kB / 436.4 MB, free: 5.164 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.962e-05/0.3989, allocations: 339.8 kB / 436.7 MB, free: 4.848 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001318/0.399, allocations: 84.36 kB / 436.8 MB, free: 4.844 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001734/0.3992, allocations: 164.7 kB / 437 MB, free: 4.738 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002908/0.3995, allocations: 259.1 kB / 437.2 MB, free: 4.625 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.3995, allocations: 1.562 kB / 437.2 MB, free: 4.625 MB / 350.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0006861/0.4002, allocations: 378.4 kB / 437.6 MB, free: 4.551 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.997e-05/0.4002, allocations: 9.812 kB / 437.6 MB, free: 4.551 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.4002, allocations: 2.688 kB / 437.6 MB, free: 4.551 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004031/0.4006, allocations: 87.31 kB / 437.7 MB, free: 4.531 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002886/0.4009, allocations: 70.05 kB / 437.8 MB, free: 4.531 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002543/0.4035, allocations: 2.985 MB / 440.8 MB, free: 1.793 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002819/0.4037, allocations: 37.91 kB / 440.8 MB, free: 1.773 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.969e-05/0.4038, allocations: 19.77 kB / 440.8 MB, free: 1.77 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 4 (opAmp2.satNeg,opAmp2.satPos,opAmp1.satNeg,opAmp1.satPos) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001988/0.404, allocations: 146.9 kB / 441 MB, free: 1.656 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.346e-05/0.404, allocations: 30.55 kB / 441 MB, free: 1.641 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.847e-05/0.4041, allocations: 32.58 kB / 441 MB, free: 1.629 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/0.4041, allocations: 2.891 kB / 441 MB, free: 1.629 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.077e-06/0.4041, allocations: 1.188 kB / 441 MB, free: 1.629 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.754e-06/0.4041, allocations: 2.5 kB / 441 MB, free: 1.629 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001375/0.4055, allocations: 0.7741 MB / 441.8 MB, free: 1.215 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.4055, allocations: 1.125 kB / 441.8 MB, free: 1.215 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002169/0.4057, allocations: 44.12 kB / 441.9 MB, free: 1.211 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004066/0.4061, allocations: 85.95 kB / 441.9 MB, free: 1.18 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.962e-05/0.4062, allocations: 5.188 kB / 441.9 MB, free: 1.176 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002758/0.4089, allocations: 2.991 MB / 444.9 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.4089, allocations: 1.25 kB / 444.9 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008715/0.4098, allocations: 461.7 kB / 445.4 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001345/0.4099, allocations: 114.1 kB / 445.5 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.238e-05/0.41, allocations: 5.625 kB / 445.5 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002495/0.4102, allocations: 24.84 kB / 445.5 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.31e-05/0.4103, allocations: 28.09 kB / 445.6 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.139e-05/0.4103, allocations: 10.88 kB / 445.6 MB, free: 13.87 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002612/0.4106, allocations: 189 kB / 445.7 MB, free: 13.76 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4106, allocations: 1.312 kB / 445.8 MB, free: 13.76 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006184/0.4112, allocations: 103.9 kB / 445.9 MB, free: 13.73 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (opAmp1.v_int,c.v) * Number of discrete variables: 4 (opAmp1.satPos,opAmp1.satNeg,opAmp2.satPos,opAmp2.satNeg) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001264/0.4125, allocations: 0.9942 MB / 446.8 MB, free: 12.93 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000864/0.4133, allocations: 439.7 kB / 447.3 MB, free: 12.64 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.4133, allocations: 1.969 kB / 447.3 MB, free: 12.64 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004222/0.4138, allocations: 338.5 kB / 447.6 MB, free: 12.38 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004455/0.4142, allocations: 53.34 kB / 447.7 MB, free: 12.36 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004834/0.419, allocations: 3.115 MB / 450.8 MB, free: 10.23 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005167/0.4196, allocations: 0.7751 MB / 451.6 MB, free: 9.531 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001679/0.4197, allocations: 37.38 kB / 451.6 MB, free: 9.52 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001661/0.4199, allocations: 97.52 kB / 451.7 MB, free: 9.449 MB / 366.1 MB Notification: Performance of SimCode: time 6.92e-07/0.4199, allocations: 0.9688 kB / 451.7 MB, free: 9.449 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.041/0.4609, allocations: 6.945 MB / 458.6 MB, free: 8.086 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.55/13.02, allocations: 10.61 kB / 458.6 MB, free: 8.078 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_SignalGenerator.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/SignalGenerator/SignalGenerator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable opAmp1.out.v in file Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator_res.csv. Warning: Get data of variable opAmp1.out.v from file Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator_res.csv failed! Error: Could not read variable opAmp1.out.i in file Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator_res.csv. Warning: Get data of variable opAmp1.out.i from file Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator_res.csv failed! Error: Could not read variable opAmp2.out.v in file Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator_res.csv. Warning: Get data of variable opAmp2.out.v from file Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator_res.csv failed! Error: Could not read variable opAmp2.out.i in file Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator_res.csv. Warning: Get data of variable opAmp2.out.i from file Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.832377056009136]