Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.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.0008293/0.0008293, allocations: 80.34 kB / 20.67 MB, free: 3.883 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.0008223/0.0008223, allocations: 156.9 kB / 23.95 MB, free: 0.6055 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.9065/0.9065, allocations: 177 MB / 204.1 MB, free: 5.73 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.NonInvertingAmplifier,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_NonInvertingAmplifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_NonInvertingAmplifier",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 0 / 324.6 MB, free: 15.84 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.736e-05/1.861e-05, allocations: 3.266 kB / 324.6 MB, free: 15.84 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier): time 0.002881/0.002899, allocations: 2.775 MB / 327.3 MB, free: 13.04 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001127/0.004026, allocations: 0.7089 MB / 328 MB, free: 12.32 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001258/0.004152, allocations: 11.94 kB / 328.1 MB, free: 12.31 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001411/0.004293, allocations: 47.5 kB / 328.1 MB, free: 12.27 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001512/0.004444, allocations: 115 kB / 328.2 MB, free: 12.15 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002275/0.004671, allocations: 103.8 kB / 328.3 MB, free: 12.05 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002973/0.004969, allocations: 430 kB / 328.7 MB, free: 11.63 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001675/0.005136, allocations: 83.67 kB / 328.8 MB, free: 11.55 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001851/0.005321, allocations: 231.5 kB / 329 MB, free: 11.32 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001341/0.005455, allocations: 135.6 kB / 329.2 MB, free: 11.19 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.993e-05/0.005495, allocations: 40 kB / 329.2 MB, free: 11.15 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.353e-05/0.005529, allocations: 40 kB / 329.3 MB, free: 11.11 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.194e-05/0.005581, allocations: 79.69 kB / 329.3 MB, free: 11.03 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.585e-05/0.005677, allocations: 127.7 kB / 329.5 MB, free: 10.91 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003489/0.006026, allocations: 482.5 kB / 329.9 MB, free: 10.43 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.006029, allocations: 3.938 kB / 329.9 MB, free: 10.43 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.624e-06/0.006031, allocations: 0 / 329.9 MB, free: 10.43 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.002e-06/0.006037, allocations: 4 kB / 329.9 MB, free: 10.43 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0008055/0.006842, allocations: 0.5975 MB / 330.5 MB, free: 9.793 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.006883, allocations: 11.98 kB / 330.5 MB, free: 9.781 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.94e-05/0.006932, allocations: 62.72 kB / 330.6 MB, free: 9.711 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.029e-05/0.006983, allocations: 36.75 kB / 330.6 MB, free: 9.676 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003454/0.007328, allocations: 245.2 kB / 330.9 MB, free: 9.41 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.23e-05/0.00735, allocations: 25.02 kB / 330.9 MB, free: 9.383 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.784e-05/0.007378, allocations: 28.31 kB / 330.9 MB, free: 9.355 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004197/0.007798, allocations: 359.7 kB / 331.3 MB, free: 8.98 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.816e-06/0.007807, allocations: 192 / 331.3 MB, free: 8.98 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.32e-05/0.00783, allocations: 16.12 kB / 331.3 MB, free: 8.965 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.007836, allocations: 4 kB / 331.3 MB, free: 8.961 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006431/0.008479, allocations: 266.5 kB / 331.6 MB, free: 8.703 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001116/0.009595, allocations: 0.9757 MB / 332.5 MB, free: 7.648 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003959/0.009991, allocations: 207.4 kB / 332.7 MB, free: 7.438 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001464/0.01014, allocations: 92.8 kB / 332.8 MB, free: 7.344 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.006e-05/0.01016, allocations: 0 / 332.8 MB, free: 7.344 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003084/0.01047, allocations: 264.8 kB / 333.1 MB, free: 7.047 MB / 298.7 MB Notification: Performance of pre-optimization done (n=16): time 1.282e-06/0.01047, allocations: 0 / 333.1 MB, free: 7.047 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.0009682/0.01144, allocations: 450.2 kB / 333.5 MB, free: 6.598 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.175e-05/0.0115, allocations: 132.5 kB / 333.7 MB, free: 6.438 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002189/0.01172, allocations: 293.7 kB / 334 MB, free: 6.141 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.039e-05/0.01174, allocations: 33.7 kB / 334 MB, free: 6.102 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.599e-05/0.01183, allocations: 200 kB / 334.2 MB, free: 5.902 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.236e-05/0.01186, allocations: 59.58 kB / 334.2 MB, free: 5.844 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.48e-05/0.01193, allocations: 53.7 kB / 334.3 MB, free: 5.785 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.766e-05/0.01202, allocations: 330.8 kB / 334.6 MB, free: 5.453 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001734/0.01219, allocations: 125.6 kB / 334.7 MB, free: 5.324 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002348/0.01243, allocations: 315.5 kB / 335 MB, free: 4.945 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000336/0.01276, allocations: 299.7 kB / 335.3 MB, free: 4.609 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.01276, allocations: 0 / 335.3 MB, free: 4.609 MB / 298.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005852/0.01335, allocations: 452.8 kB / 335.8 MB, free: 4.148 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.55e-05/0.0134, allocations: 37.7 kB / 335.8 MB, free: 4.105 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.134e-06/0.0134, allocations: 0 / 335.8 MB, free: 4.105 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002852/0.01369, allocations: 80.72 kB / 335.9 MB, free: 4.023 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001157/0.0138, allocations: 52 kB / 335.9 MB, free: 3.973 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001526/0.01533, allocations: 1.857 MB / 337.8 MB, free: 1.996 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001779/0.01551, allocations: 55.8 kB / 337.9 MB, free: 1.941 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.842e-05/0.01553, allocations: 19.94 kB / 337.9 MB, free: 1.922 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 7 (buffer.opAmp.satNeg,buffer.opAmp.satPos,vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 1 * 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,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0001211/0.01565, allocations: 153.8 kB / 338 MB, free: 1.762 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.656e-05/0.01567, allocations: 23.86 kB / 338.1 MB, free: 1.738 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.922e-05/0.0157, allocations: 34.14 kB / 338.1 MB, free: 1.711 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-06/0.0157, allocations: 0 / 338.1 MB, free: 1.711 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.425e-06/0.01571, allocations: 0 / 338.1 MB, free: 1.711 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.01571, allocations: 4 kB / 338.1 MB, free: 1.707 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004561/0.01617, allocations: 272.5 kB / 338.4 MB, free: 1.398 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.01617, allocations: 0 / 338.4 MB, free: 1.398 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.652e-05/0.01623, allocations: 23.92 kB / 338.4 MB, free: 1.375 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001709/0.01641, allocations: 80.78 kB / 338.5 MB, free: 1.293 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.003e-05/0.01642, allocations: 0 / 338.5 MB, free: 1.293 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001235/0.01765, allocations: 1.849 MB / 340.3 MB, free: 15.32 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.01765, allocations: 0 / 340.3 MB, free: 15.32 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004389/0.01809, allocations: 317 kB / 340.6 MB, free: 14.99 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.856e-05/0.01812, allocations: 23.81 kB / 340.6 MB, free: 14.96 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.439e-05/0.01814, allocations: 11.94 kB / 340.6 MB, free: 14.95 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001064/0.01825, allocations: 31.95 kB / 340.7 MB, free: 14.92 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.007e-05/0.01831, allocations: 19.97 kB / 340.7 MB, free: 14.9 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.658e-06/0.01832, allocations: 11.92 kB / 340.7 MB, free: 14.89 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001331/0.01845, allocations: 205.2 kB / 340.9 MB, free: 14.69 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01845, allocations: 0 / 340.9 MB, free: 14.69 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002806/0.01873, allocations: 83.88 kB / 341 MB, free: 14.61 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count,buffer.opAmp.satPos,buffer.opAmp.satNeg) * Number of discrete states: 1 (vIn.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006418/0.01938, allocations: 0.8433 MB / 341.8 MB, free: 13.73 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005675/0.01994, allocations: 444 kB / 342.3 MB, free: 13.27 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.01994, allocations: 0 / 342.3 MB, free: 13.27 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002499/0.02019, allocations: 242.5 kB / 342.5 MB, free: 13.02 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002379/0.02043, allocations: 48.36 kB / 342.6 MB, free: 12.97 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003574/0.02401, allocations: 3.241 MB / 345.8 MB, free: 9.535 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001099/0.02412, allocations: 159.7 kB / 346 MB, free: 9.359 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 9.019e-05/0.02421, allocations: 34.91 kB / 346 MB, free: 9.328 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000102/0.02431, allocations: 88.47 kB / 346.1 MB, free: 9.242 MB / 314.7 MB Notification: Performance of SimCode: time 9.42e-07/0.02431, allocations: 0 / 346.1 MB, free: 9.242 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02019/0.0445, allocations: 8.067 MB / 354.1 MB, free: 1.336 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.603/7.647, allocations: 0 / 354.1 MB, free: 1.336 MB / 314.7 MB " [Timeout remaining time 652] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier_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_NonInvertingAmplifier.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/NonInvertingAmplifier/NonInvertingAmplifier.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable buffer.opAmp.out.v in file Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier_res.csv. Warning: Get data of variable buffer.opAmp.out.v from file Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier_res.csv failed! Error: Could not read variable buffer.opAmp.out.i in file Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier_res.csv. Warning: Get data of variable buffer.opAmp.out.i from file Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.382657994516194]