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.001374/0.001374, allocations: 118.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001493/0.001493, allocations: 197.2 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.471/1.471, allocations: 227.4 MB / 246.9 MB, free: 10.44 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001854/0.001854, allocations: 67.88 kB / 358.3 MB, free: 13.34 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3021/0.304, allocations: 50.54 MB / 408.8 MB, free: 1.473 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier): time 0.004271/0.3083, allocations: 2.947 MB / 411.8 MB, free: 14.52 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001394/0.3097, allocations: 0.7557 MB / 412.5 MB, free: 13.76 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001469/0.3099, allocations: 4 kB / 412.5 MB, free: 13.75 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000178/0.3101, allocations: 43.52 kB / 412.6 MB, free: 13.71 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002029/0.3103, allocations: 111.2 kB / 412.7 MB, free: 13.6 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003036/0.3106, allocations: 111.8 kB / 412.8 MB, free: 13.49 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004605/0.3111, allocations: 422.4 kB / 413.2 MB, free: 13.08 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000249/0.3113, allocations: 131.2 kB / 413.3 MB, free: 12.94 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001992/0.3116, allocations: 159.4 kB / 413.5 MB, free: 12.79 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002264/0.3118, allocations: 167.3 kB / 413.7 MB, free: 12.62 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.434e-05/0.3119, allocations: 40 kB / 413.7 MB, free: 12.58 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.578e-05/0.3119, allocations: 40 kB / 413.7 MB, free: 12.54 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.792e-05/0.312, allocations: 83.69 kB / 413.8 MB, free: 12.46 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001896/0.3122, allocations: 175.2 kB / 414 MB, free: 12.29 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000504/0.3127, allocations: 449.3 kB / 414.4 MB, free: 11.85 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.3127, allocations: 0 / 414.4 MB, free: 11.85 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.3128, allocations: 0 / 414.4 MB, free: 11.85 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.384e-06/0.3128, allocations: 0 / 414.4 MB, free: 11.85 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.001342/0.3141, allocations: 0.6846 MB / 415.1 MB, free: 11.11 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.3142, allocations: 11.97 kB / 415.1 MB, free: 11.1 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.722e-05/0.3142, allocations: 66.72 kB / 415.2 MB, free: 11.03 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.097e-05/0.3143, allocations: 36.7 kB / 415.2 MB, free: 10.99 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004859/0.3148, allocations: 303.7 kB / 415.5 MB, free: 10.66 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.615e-05/0.3148, allocations: 20.94 kB / 415.5 MB, free: 10.63 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.377e-05/0.3149, allocations: 24.38 kB / 415.6 MB, free: 10.61 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007148/0.3156, allocations: 331.8 kB / 415.9 MB, free: 10.27 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.3156, allocations: 0 / 415.9 MB, free: 10.27 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.002e-05/0.3157, allocations: 8 kB / 415.9 MB, free: 10.27 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.229e-05/0.3157, allocations: 11.94 kB / 415.9 MB, free: 10.25 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008401/0.3165, allocations: 286.1 kB / 416.2 MB, free: 9.977 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001889/0.3184, allocations: 1.135 MB / 417.3 MB, free: 8.762 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008523/0.3193, allocations: 254.6 kB / 417.6 MB, free: 8.504 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003429/0.3197, allocations: 112.7 kB / 417.7 MB, free: 8.391 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.501e-05/0.3197, allocations: 0 / 417.7 MB, free: 8.391 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005011/0.3202, allocations: 181.9 kB / 417.9 MB, free: 8.191 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.373e-06/0.3202, allocations: 3.938 kB / 417.9 MB, free: 8.188 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.00244/0.3227, allocations: 0.6708 MB / 418.5 MB, free: 7.488 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.785e-05/0.3228, allocations: 110.8 kB / 418.6 MB, free: 7.355 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003272/0.3231, allocations: 290.6 kB / 418.9 MB, free: 7.066 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.938e-05/0.3231, allocations: 29.7 kB / 419 MB, free: 7.031 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001634/0.3233, allocations: 204 kB / 419.2 MB, free: 6.828 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.213e-05/0.3233, allocations: 43.91 kB / 419.2 MB, free: 6.785 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001074/0.3235, allocations: 53.88 kB / 419.3 MB, free: 6.723 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001526/0.3236, allocations: 338.8 kB / 419.6 MB, free: 6.383 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003687/0.324, allocations: 108.1 kB / 419.7 MB, free: 6.277 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000434/0.3244, allocations: 217.2 kB / 419.9 MB, free: 6.02 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007551/0.3252, allocations: 324.6 kB / 420.2 MB, free: 5.656 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.3252, allocations: 0 / 420.2 MB, free: 5.656 MB / 334.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.00131/0.3265, allocations: 475.7 kB / 420.7 MB, free: 5.176 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.806e-05/0.3266, allocations: 40.34 kB / 420.7 MB, free: 5.133 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.437e-06/0.3266, allocations: 4 kB / 420.7 MB, free: 5.129 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004092/0.327, allocations: 88.86 kB / 420.8 MB, free: 5.039 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002151/0.3272, allocations: 47.91 kB / 420.9 MB, free: 4.992 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003131/0.3304, allocations: 2.064 MB / 422.9 MB, free: 2.789 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003475/0.3307, allocations: 56 kB / 423 MB, free: 2.734 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.655e-05/0.3308, allocations: 15.94 kB / 423 MB, free: 2.719 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.0002341/0.331, allocations: 158.8 kB / 423.1 MB, free: 2.555 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.911e-05/0.3311, allocations: 19.86 kB / 423.2 MB, free: 2.535 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.818e-05/0.3311, allocations: 29.83 kB / 423.2 MB, free: 2.496 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.3311, allocations: 4.031 kB / 423.2 MB, free: 2.492 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.3312, allocations: 4 kB / 423.2 MB, free: 2.488 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.3312, allocations: 0 / 423.2 MB, free: 2.488 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000336/0.3315, allocations: 325.3 kB / 423.5 MB, free: 2.121 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.3315, allocations: 4 kB / 423.5 MB, free: 2.117 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000135/0.3317, allocations: 23.97 kB / 423.5 MB, free: 2.094 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002851/0.332, allocations: 76.8 kB / 423.6 MB, free: 2.016 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.816e-05/0.332, allocations: 12 kB / 423.6 MB, free: 2.004 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00277/0.3348, allocations: 1.97 MB / 425.6 MB, free: 15.89 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.3348, allocations: 4.062 kB / 425.6 MB, free: 15.89 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001159/0.3359, allocations: 373.6 kB / 426 MB, free: 15.5 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.364e-05/0.336, allocations: 104.9 kB / 426.1 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.512e-05/0.3361, allocations: 7.938 kB / 426.1 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002452/0.3363, allocations: 35.95 kB / 426.1 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.323e-05/0.3364, allocations: 15.98 kB / 426.1 MB, free: 15.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.442e-05/0.3364, allocations: 7.984 kB / 426.1 MB, free: 15.32 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002141/0.3367, allocations: 202 kB / 426.3 MB, free: 15.12 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3367, allocations: 0 / 426.3 MB, free: 15.12 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004194/0.3371, allocations: 79.83 kB / 426.4 MB, free: 15.04 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.001484/0.3386, allocations: 0.9054 MB / 427.3 MB, free: 14.11 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001415/0.34, allocations: 0.5055 MB / 427.8 MB, free: 13.57 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.34, allocations: 0 / 427.8 MB, free: 13.57 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005085/0.3406, allocations: 239.1 kB / 428.1 MB, free: 13.33 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000341/0.3409, allocations: 56.55 kB / 428.1 MB, free: 13.27 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007835/0.3487, allocations: 3.589 MB / 431.7 MB, free: 9.52 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004235/0.3492, allocations: 0.7558 MB / 432.5 MB, free: 8.738 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001284/0.3493, allocations: 26.28 kB / 432.5 MB, free: 8.715 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001373/0.3495, allocations: 83.41 kB / 432.6 MB, free: 8.633 MB / 350.1 MB Notification: Performance of SimCode: time 6.02e-07/0.3495, allocations: 0 / 432.6 MB, free: 8.633 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0364/0.3859, allocations: 6.866 MB / 439.4 MB, free: 1.984 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.44/11.83, allocations: 3.5 kB / 439.4 MB, free: 1.984 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.1.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