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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001058/0.001058, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001091/0.001091, allocations: 197.2 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.49/1.49, allocations: 227.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001372/0.001372, allocations: 59.91 kB / 358.2 MB, free: 13.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2842/0.2856, allocations: 50.54 MB / 408.8 MB, free: 1.527 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier): time 0.004501/0.2901, allocations: 2.955 MB / 411.7 MB, free: 14.57 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001322/0.2915, allocations: 0.7518 MB / 412.5 MB, free: 13.8 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001438/0.2916, allocations: 7.938 kB / 412.5 MB, free: 13.8 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001718/0.2919, allocations: 55.5 kB / 412.6 MB, free: 13.74 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001954/0.2921, allocations: 99.19 kB / 412.6 MB, free: 13.64 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003062/0.2924, allocations: 119.8 kB / 412.8 MB, free: 13.53 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004083/0.2928, allocations: 422.4 kB / 413.2 MB, free: 13.11 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000237/0.293, allocations: 131.2 kB / 413.3 MB, free: 12.98 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001728/0.2932, allocations: 155.4 kB / 413.5 MB, free: 12.82 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001988/0.2934, allocations: 179.2 kB / 413.6 MB, free: 12.65 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.51e-05/0.2935, allocations: 44 kB / 413.7 MB, free: 12.61 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.409e-05/0.2935, allocations: 40 kB / 413.7 MB, free: 12.57 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.586e-05/0.2936, allocations: 75.7 kB / 413.8 MB, free: 12.49 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001555/0.2938, allocations: 167.2 kB / 414 MB, free: 12.33 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004572/0.2943, allocations: 457.3 kB / 414.4 MB, free: 11.88 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.2943, allocations: 7.938 kB / 414.4 MB, free: 11.88 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.464e-06/0.2943, allocations: 0 / 414.4 MB, free: 11.88 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.694e-06/0.2943, allocations: 0 / 414.4 MB, free: 11.88 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001289/0.2956, allocations: 0.6806 MB / 415.1 MB, free: 11.14 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.916e-05/0.2956, allocations: 11.97 kB / 415.1 MB, free: 11.13 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.613e-05/0.2957, allocations: 66.66 kB / 415.2 MB, free: 11.05 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.475e-05/0.2958, allocations: 36.7 kB / 415.2 MB, free: 11.02 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004378/0.2962, allocations: 303.8 kB / 415.5 MB, free: 10.68 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.659e-05/0.2963, allocations: 20.92 kB / 415.5 MB, free: 10.66 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.263e-05/0.2964, allocations: 28.31 kB / 415.5 MB, free: 10.63 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007092/0.2971, allocations: 327.8 kB / 415.9 MB, free: 10.3 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.2971, allocations: 0 / 415.9 MB, free: 10.3 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.957e-05/0.2971, allocations: 8 kB / 415.9 MB, free: 10.29 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.117e-06/0.2971, allocations: 8 kB / 415.9 MB, free: 10.29 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007962/0.2979, allocations: 286 kB / 416.2 MB, free: 10.01 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001763/0.2997, allocations: 1.147 MB / 417.3 MB, free: 8.781 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008278/0.3006, allocations: 250.5 kB / 417.6 MB, free: 8.527 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003262/0.3009, allocations: 104.8 kB / 417.7 MB, free: 8.422 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.639e-05/0.3009, allocations: 8 kB / 417.7 MB, free: 8.414 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00047/0.3014, allocations: 181.3 kB / 417.8 MB, free: 8.219 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.473e-06/0.3014, allocations: 0 / 417.8 MB, free: 8.219 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.00231/0.3037, allocations: 0.6708 MB / 418.5 MB, free: 7.52 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.733e-05/0.3038, allocations: 106.8 kB / 418.6 MB, free: 7.391 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002917/0.3041, allocations: 290.6 kB / 418.9 MB, free: 7.102 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.619e-05/0.3041, allocations: 29.7 kB / 418.9 MB, free: 7.066 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001296/0.3043, allocations: 208 kB / 419.1 MB, free: 6.859 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.719e-05/0.3043, allocations: 43.67 kB / 419.2 MB, free: 6.816 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.014e-05/0.3044, allocations: 54.11 kB / 419.2 MB, free: 6.754 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001229/0.3046, allocations: 330.8 kB / 419.5 MB, free: 6.422 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003444/0.3049, allocations: 120.1 kB / 419.7 MB, free: 6.305 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004053/0.3053, allocations: 213.2 kB / 419.9 MB, free: 6.051 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007106/0.306, allocations: 319.5 kB / 420.2 MB, free: 5.695 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.3061, allocations: 0 / 420.2 MB, free: 5.695 MB / 334.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001214/0.3073, allocations: 483.7 kB / 420.7 MB, free: 5.207 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.073e-05/0.3073, allocations: 33.7 kB / 420.7 MB, free: 5.168 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.448e-06/0.3073, allocations: 4 kB / 420.7 MB, free: 5.164 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004061/0.3078, allocations: 88.86 kB / 420.8 MB, free: 5.074 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002148/0.308, allocations: 55.89 kB / 420.8 MB, free: 5.02 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00289/0.3109, allocations: 2.056 MB / 422.9 MB, free: 2.824 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003298/0.3112, allocations: 63.84 kB / 423 MB, free: 2.762 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.503e-05/0.3113, allocations: 15.94 kB / 423 MB, free: 2.746 MB / 334.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: 5 (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 (24): * Single equations (assignments): 22 * 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,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001572/0.3114, allocations: 145.7 kB / 423.1 MB, free: 2.594 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.612e-05/0.3115, allocations: 23.86 kB / 423.1 MB, free: 2.57 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.718e-05/0.3115, allocations: 29.83 kB / 423.2 MB, free: 2.531 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.3115, allocations: 0 / 423.2 MB, free: 2.531 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.3115, allocations: 4 kB / 423.2 MB, free: 2.527 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.3116, allocations: 11.86 kB / 423.2 MB, free: 2.516 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002847/0.3118, allocations: 329.3 kB / 423.5 MB, free: 2.145 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.3119, allocations: 0 / 423.5 MB, free: 2.145 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001345/0.312, allocations: 23.97 kB / 423.5 MB, free: 2.121 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002744/0.3123, allocations: 88.92 kB / 423.6 MB, free: 2.031 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.316e-05/0.3123, allocations: 0 / 423.6 MB, free: 2.031 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002401/0.3147, allocations: 1.974 MB / 425.6 MB, free: 15.92 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3147, allocations: 0 / 425.6 MB, free: 15.92 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001032/0.3158, allocations: 369.6 kB / 425.9 MB, free: 15.54 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.597e-05/0.3158, allocations: 104.9 kB / 426 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.967e-05/0.3159, allocations: 11.98 kB / 426.1 MB, free: 15.4 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002368/0.3161, allocations: 35.95 kB / 426.1 MB, free: 15.37 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.258e-05/0.3162, allocations: 19.97 kB / 426.1 MB, free: 15.35 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.26e-05/0.3162, allocations: 4 kB / 426.1 MB, free: 15.34 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001935/0.3164, allocations: 202 kB / 426.3 MB, free: 15.15 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.3164, allocations: 0 / 426.3 MB, free: 15.15 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004087/0.3168, allocations: 79.89 kB / 426.4 MB, free: 15.07 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: 3 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * 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,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001346/0.3182, allocations: 0.9052 MB / 427.3 MB, free: 14.13 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001303/0.3195, allocations: 0.509 MB / 427.8 MB, free: 13.6 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.3195, allocations: 0 / 427.8 MB, free: 13.6 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004669/0.32, allocations: 239.2 kB / 428 MB, free: 13.36 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003305/0.3203, allocations: 44.61 kB / 428.1 MB, free: 13.31 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007128/0.3275, allocations: 3.6 MB / 431.7 MB, free: 9.551 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003088/0.3278, allocations: 0.7558 MB / 432.4 MB, free: 8.77 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001197/0.3279, allocations: 22.3 kB / 432.5 MB, free: 8.75 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000129/0.3281, allocations: 83.41 kB / 432.5 MB, free: 8.668 MB / 350.1 MB Notification: Performance of SimCode: time 1.062e-06/0.3281, allocations: 0 / 432.5 MB, free: 8.668 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0311/0.3592, allocations: 6.863 MB / 439.4 MB, free: 2.02 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.06/11.42, allocations: 4 kB / 439.4 MB, free: 2.016 MB / 350.1 MB (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) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/NonInvertingAmplifier/NonInvertingAmplifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches