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.0007043/0.0007043, allocations: 80.34 kB / 20.67 MB, free: 3.895 MB / 18.57 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.0008062/0.0008062, allocations: 160.9 kB / 23.95 MB, free: 0.6172 MB / 18.57 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 0.9314/0.9314, allocations: 177 MB / 204.1 MB, free: 5.762 MB / 186.7 MB " [Timeout remaining time 179] 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 1.223e-06/1.223e-06, allocations: 0 / 324.6 MB, free: 15.86 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.878e-05/2e-05, allocations: 2.281 kB / 324.6 MB, free: 15.86 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator): time 0.003355/0.003375, allocations: 2.77 MB / 327.3 MB, free: 13.07 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001178/0.004553, allocations: 0.7088 MB / 328.1 MB, free: 12.36 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001834/0.004736, allocations: 7.938 kB / 328.1 MB, free: 12.35 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001324/0.004869, allocations: 67.36 kB / 328.1 MB, free: 12.28 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001801/0.005049, allocations: 119 kB / 328.2 MB, free: 12.16 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002183/0.005267, allocations: 103.8 kB / 328.3 MB, free: 12.06 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003407/0.005608, allocations: 429.7 kB / 328.8 MB, free: 11.64 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001743/0.005782, allocations: 87.83 kB / 328.8 MB, free: 11.56 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001946/0.005977, allocations: 231.4 kB / 329.1 MB, free: 11.33 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001441/0.006121, allocations: 123.6 kB / 329.2 MB, free: 11.21 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.227e-05/0.006163, allocations: 36 kB / 329.2 MB, free: 11.18 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.317e-05/0.006196, allocations: 35.94 kB / 329.3 MB, free: 11.14 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.674e-05/0.006243, allocations: 79.67 kB / 329.3 MB, free: 11.06 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.412e-05/0.006327, allocations: 123.7 kB / 329.5 MB, free: 10.94 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003099/0.006637, allocations: 402.7 kB / 329.9 MB, free: 10.55 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.006639, allocations: 0 / 329.9 MB, free: 10.55 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.00664, allocations: 3.938 kB / 329.9 MB, free: 10.54 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.322e-06/0.006646, allocations: 0 / 329.9 MB, free: 10.54 MB / 298.7 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.0006206/0.007266, allocations: 0.5559 MB / 330.4 MB, free: 9.957 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/0.007303, allocations: 15.98 kB / 330.4 MB, free: 9.941 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.273e-05/0.007356, allocations: 66.72 kB / 330.5 MB, free: 9.867 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.844e-05/0.007404, allocations: 40.7 kB / 330.5 MB, free: 9.828 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002877/0.007692, allocations: 249.2 kB / 330.8 MB, free: 9.559 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.95e-05/0.007712, allocations: 25.03 kB / 330.8 MB, free: 9.531 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003083/0.00802, allocations: 36.31 kB / 330.8 MB, free: 9.496 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003548/0.008375, allocations: 419.1 kB / 331.2 MB, free: 9.051 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.747e-06/0.008384, allocations: 192 / 331.2 MB, free: 9.051 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.322e-05/0.008407, allocations: 20.12 kB / 331.3 MB, free: 9.031 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.008413, allocations: 8 kB / 331.3 MB, free: 9.023 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002529/0.008666, allocations: 234.5 kB / 331.5 MB, free: 8.797 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001149/0.009815, allocations: 1.011 MB / 332.5 MB, free: 7.715 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003467/0.01016, allocations: 230.8 kB / 332.7 MB, free: 7.48 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002027/0.01036, allocations: 148.7 kB / 332.9 MB, free: 7.332 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.864e-05/0.01038, allocations: 4 kB / 332.9 MB, free: 7.328 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.446e-05/0.01041, allocations: 46.55 kB / 332.9 MB, free: 7.273 MB / 298.7 MB Notification: Performance of pre-optimization done (n=26): time 1.173e-06/0.01041, allocations: 0 / 332.9 MB, free: 7.273 MB / 298.7 MB Notification: Performance of matching and sorting (n=26): time 0.0006641/0.01107, allocations: 403.3 kB / 333.3 MB, free: 6.867 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.922e-05/0.0111, allocations: 51.41 kB / 333.4 MB, free: 6.805 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001856/0.01129, allocations: 273.8 kB / 333.6 MB, free: 6.527 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.764e-05/0.01131, allocations: 33.64 kB / 333.7 MB, free: 6.488 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.984e-05/0.01141, allocations: 212.3 kB / 333.9 MB, free: 6.273 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.533e-05/0.01145, allocations: 87.22 kB / 334 MB, free: 6.188 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.853e-05/0.01152, allocations: 73.64 kB / 334 MB, free: 6.109 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.313e-05/0.01161, allocations: 342.7 kB / 334.4 MB, free: 5.766 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.89e-05/0.0117, allocations: 75.97 kB / 334.5 MB, free: 5.691 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001303/0.01183, allocations: 167.1 kB / 334.6 MB, free: 5.488 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002395/0.01207, allocations: 270.9 kB / 334.9 MB, free: 5.184 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.01207, allocations: 0 / 334.9 MB, free: 5.184 MB / 298.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0004189/0.01249, allocations: 375.1 kB / 335.2 MB, free: 4.805 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.01251, allocations: 12.06 kB / 335.3 MB, free: 4.793 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.01252, allocations: 7.938 kB / 335.3 MB, free: 4.785 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002289/0.01275, allocations: 77.64 kB / 335.3 MB, free: 4.703 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001356/0.01288, allocations: 67.91 kB / 335.4 MB, free: 4.637 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001877/0.01476, allocations: 2.772 MB / 338.2 MB, free: 1.629 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001199/0.01488, allocations: 43.89 kB / 338.2 MB, free: 1.586 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.516e-05/0.01489, allocations: 12 kB / 338.2 MB, free: 1.574 MB / 298.7 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.0002207/0.01511, allocations: 142.7 kB / 338.4 MB, free: 1.426 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.833e-05/0.01518, allocations: 31.81 kB / 338.4 MB, free: 1.395 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.777e-05/0.01524, allocations: 42.2 kB / 338.4 MB, free: 1.355 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.01524, allocations: 0 / 338.4 MB, free: 1.355 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.263e-06/0.01525, allocations: 4 kB / 338.5 MB, free: 1.352 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.576e-06/0.01525, allocations: 144 / 338.5 MB, free: 1.352 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009729/0.01623, allocations: 0.6641 MB / 339.1 MB, free: 0.625 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.806e-06/0.01623, allocations: 3.984 kB / 339.1 MB, free: 0.6211 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001346/0.01637, allocations: 47.97 kB / 339.2 MB, free: 0.5742 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001967/0.01657, allocations: 85.61 kB / 339.3 MB, free: 496 kB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.869e-05/0.01658, allocations: 8 kB / 339.3 MB, free: 488 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002063/0.01865, allocations: 2.757 MB / 342 MB, free: 13.48 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.01865, allocations: 0 / 342 MB, free: 13.48 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005253/0.01918, allocations: 463.2 kB / 342.5 MB, free: 13 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.294e-05/0.01923, allocations: 31.94 kB / 342.5 MB, free: 12.97 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.871e-05/0.01925, allocations: 8 kB / 342.5 MB, free: 12.96 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001783/0.01943, allocations: 27.97 kB / 342.5 MB, free: 12.94 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.864e-05/0.0195, allocations: 19.97 kB / 342.6 MB, free: 12.92 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.771e-05/0.01952, allocations: 15.92 kB / 342.6 MB, free: 12.9 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001527/0.01968, allocations: 189.2 kB / 342.8 MB, free: 12.72 MB / 314.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01968, allocations: 0 / 342.8 MB, free: 12.72 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003154/0.01999, allocations: 95.83 kB / 342.8 MB, free: 12.62 MB / 314.7 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.000722/0.02071, allocations: 1.001 MB / 343.8 MB, free: 11.59 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004853/0.0212, allocations: 441.7 kB / 344.3 MB, free: 11.13 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.0212, allocations: 4.25 kB / 344.3 MB, free: 11.12 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002186/0.02142, allocations: 325.3 kB / 344.6 MB, free: 10.78 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003168/0.02174, allocations: 55.22 kB / 344.7 MB, free: 10.73 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002897/0.02463, allocations: 3.076 MB / 347.7 MB, free: 7.477 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001332/0.02477, allocations: 169.2 kB / 347.9 MB, free: 7.289 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 9.971e-05/0.02487, allocations: 30.97 kB / 347.9 MB, free: 7.258 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000105/0.02497, allocations: 96.47 kB / 348 MB, free: 7.164 MB / 314.7 MB Notification: Performance of SimCode: time 1.222e-06/0.02497, allocations: 0 / 348 MB, free: 7.164 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02511/0.05008, allocations: 7.816 MB / 355.8 MB, free: 15.5 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.244/8.294, allocations: 7.219 kB / 355.8 MB, free: 15.5 MB / 330.7 MB " [Timeout remaining time 652] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/SignalGenerator/SignalGenerator.csv","/var/lib/jenkins/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: 10.132245705462992]