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.001288/0.001288, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.002132/0.002132, allocations: 207 kB / 23.72 MB, free: 4.391 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.454/1.454, allocations: 230.5 MB / 257.4 MB, free: 7.754 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.001994/0.001994, allocations: 63.89 kB / 377.8 MB, free: 2.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2633/0.2653, allocations: 53.41 MB / 431.2 MB, free: 6.41 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator): time 0.004064/0.2694, allocations: 2.774 MB / 434 MB, free: 3.629 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001274/0.2706, allocations: 0.6973 MB / 434.7 MB, free: 2.926 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001517/0.2708, allocations: 7.938 kB / 434.7 MB, free: 2.918 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001684/0.271, allocations: 67.42 kB / 434.7 MB, free: 2.852 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002248/0.2712, allocations: 115 kB / 434.8 MB, free: 2.738 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002237/0.2714, allocations: 91.86 kB / 434.9 MB, free: 2.648 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004236/0.2718, allocations: 406.2 kB / 435.3 MB, free: 2.25 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002155/0.2721, allocations: 93.47 kB / 435.4 MB, free: 2.16 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001613/0.2722, allocations: 155.4 kB / 435.6 MB, free: 2.008 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002175/0.2724, allocations: 155.2 kB / 435.7 MB, free: 1.855 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.401e-05/0.2725, allocations: 36 kB / 435.8 MB, free: 1.82 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.384e-05/0.2726, allocations: 36 kB / 435.8 MB, free: 1.785 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.456e-05/0.2726, allocations: 75.7 kB / 435.9 MB, free: 1.711 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001497/0.2728, allocations: 151.2 kB / 436 MB, free: 1.562 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004196/0.2732, allocations: 394.3 kB / 436.4 MB, free: 1.176 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.533e-06/0.2732, allocations: 4 kB / 436.4 MB, free: 1.172 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.2732, allocations: 0 / 436.4 MB, free: 1.172 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.522e-06/0.2732, allocations: 0 / 436.4 MB, free: 1.172 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.0009047/0.2741, allocations: 0.5675 MB / 437 MB, free: 0.5742 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.2742, allocations: 15.97 kB / 437 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.637e-05/0.2742, allocations: 66.73 kB / 437 MB, free: 496 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.221e-05/0.2743, allocations: 44.69 kB / 437.1 MB, free: 452 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000418/0.2747, allocations: 238.5 kB / 437.3 MB, free: 188 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.055e-05/0.2748, allocations: 28.97 kB / 437.4 MB, free: 156 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.07e-05/0.2748, allocations: 32.38 kB / 437.4 MB, free: 124 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005522/0.2754, allocations: 426.7 kB / 437.8 MB, free: 15.67 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.2754, allocations: 0 / 437.8 MB, free: 15.67 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.108e-05/0.2754, allocations: 16 kB / 437.8 MB, free: 15.65 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.688e-06/0.2754, allocations: 8 kB / 437.8 MB, free: 15.64 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003906/0.2758, allocations: 234.5 kB / 438.1 MB, free: 15.42 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001845/0.2777, allocations: 1.014 MB / 439.1 MB, free: 14.34 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000515/0.2782, allocations: 238.7 kB / 439.3 MB, free: 14.09 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003515/0.2785, allocations: 148.7 kB / 439.4 MB, free: 13.95 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.574e-05/0.2785, allocations: 4 kB / 439.4 MB, free: 13.94 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.403e-05/0.2786, allocations: 38.56 kB / 439.5 MB, free: 13.89 MB / 350.1 MB Notification: Performance of pre-optimization done (n=26): time 1.332e-06/0.2786, allocations: 0 / 439.5 MB, free: 13.89 MB / 350.1 MB Notification: Performance of matching and sorting (n=26): time 0.001121/0.2797, allocations: 399.9 kB / 439.9 MB, free: 13.49 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.227e-05/0.2797, allocations: 63.39 kB / 439.9 MB, free: 13.42 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003409/0.2801, allocations: 273.8 kB / 440.2 MB, free: 13.14 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.832e-05/0.2801, allocations: 29.7 kB / 440.2 MB, free: 13.11 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001504/0.2803, allocations: 220.2 kB / 440.5 MB, free: 12.89 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.011e-05/0.2803, allocations: 87.28 kB / 440.5 MB, free: 12.8 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001066/0.2804, allocations: 73.59 kB / 440.6 MB, free: 12.72 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001582/0.2806, allocations: 342.8 kB / 440.9 MB, free: 12.38 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001329/0.2807, allocations: 75.97 kB / 441 MB, free: 12.3 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002036/0.2809, allocations: 163.1 kB / 441.2 MB, free: 12.11 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003447/0.2813, allocations: 258.9 kB / 441.4 MB, free: 11.81 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.2813, allocations: 4 kB / 441.4 MB, free: 11.81 MB / 350.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0006929/0.282, allocations: 379 kB / 441.8 MB, free: 11.43 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/0.282, allocations: 4 kB / 441.8 MB, free: 11.42 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.282, allocations: 7.938 kB / 441.8 MB, free: 11.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00036/0.2824, allocations: 81.64 kB / 441.9 MB, free: 11.33 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000253/0.2826, allocations: 72.03 kB / 442 MB, free: 11.26 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002754/0.2854, allocations: 2.772 MB / 444.7 MB, free: 8.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002147/0.2856, allocations: 35.77 kB / 444.8 MB, free: 8.215 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.554e-05/0.2856, allocations: 16 kB / 444.8 MB, free: 8.199 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.0001728/0.2858, allocations: 157.3 kB / 444.9 MB, free: 8.039 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.879e-05/0.2858, allocations: 31.75 kB / 445 MB, free: 8.008 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.322e-05/0.2859, allocations: 42.39 kB / 445 MB, free: 7.969 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.2859, allocations: 4 kB / 445 MB, free: 7.965 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.2859, allocations: 0 / 445 MB, free: 7.965 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.2859, allocations: 0 / 445 MB, free: 7.965 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001159/0.2871, allocations: 0.6641 MB / 445.7 MB, free: 7.238 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.2871, allocations: 0 / 445.7 MB, free: 7.238 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002026/0.2873, allocations: 51.94 kB / 445.7 MB, free: 7.188 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002769/0.2876, allocations: 77.58 kB / 445.8 MB, free: 7.105 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.946e-05/0.2876, allocations: 4 kB / 445.8 MB, free: 7.102 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002672/0.2903, allocations: 2.768 MB / 448.6 MB, free: 4.094 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.2903, allocations: 0 / 448.6 MB, free: 4.094 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007106/0.291, allocations: 472.2 kB / 449 MB, free: 3.605 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.631e-05/0.291, allocations: 27.78 kB / 449.1 MB, free: 3.578 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.383e-05/0.2911, allocations: 8 kB / 449.1 MB, free: 3.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002205/0.2913, allocations: 23.97 kB / 449.1 MB, free: 3.547 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.766e-05/0.2914, allocations: 27.89 kB / 449.1 MB, free: 3.52 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.683e-05/0.2914, allocations: 15.94 kB / 449.1 MB, free: 3.504 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001881/0.2916, allocations: 189.3 kB / 449.3 MB, free: 3.316 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2916, allocations: 0 / 449.3 MB, free: 3.316 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004068/0.292, allocations: 95.83 kB / 449.4 MB, free: 3.223 MB / 350.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.001121/0.2931, allocations: 0.9964 MB / 450.4 MB, free: 2.191 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006341/0.2937, allocations: 441 kB / 450.8 MB, free: 1.734 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.711e-06/0.2937, allocations: 4 kB / 450.9 MB, free: 1.73 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003746/0.2941, allocations: 325.2 kB / 451.2 MB, free: 1.387 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004178/0.2945, allocations: 59.27 kB / 451.2 MB, free: 1.336 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004139/0.2987, allocations: 3.104 MB / 454.3 MB, free: 14.06 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001721/0.2988, allocations: 169.2 kB / 454.5 MB, free: 13.88 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001228/0.2989, allocations: 34.95 kB / 454.5 MB, free: 13.84 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001484/0.2991, allocations: 99.41 kB / 454.6 MB, free: 13.75 MB / 366.1 MB Notification: Performance of SimCode: time 6.01e-07/0.2991, allocations: 0 / 454.6 MB, free: 13.75 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04123/0.3403, allocations: 7.66 MB / 462.3 MB, free: 6.238 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.89/13.23, allocations: 3.438 kB / 462.3 MB, free: 6.238 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.792685164138675]