Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_NonInvertingAmplifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier,fileNamePrefix="Modelica_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001172/0.001177, allocations: 112.5 kB / 17.07 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001238/0.001238, allocations: 200 kB / 18 MB, free: 5.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.345/1.345, allocations: 222.9 MB / 241.7 MB, free: 15.08 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001126/0.001127, allocations: 47.94 kB / 350.8 MB, free: 3.707 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2772/0.2783, allocations: 49.43 MB / 400.3 MB, free: 8.414 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier): time 0.004392/0.2827, allocations: 2.937 MB / 403.2 MB, free: 5.855 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001567/0.2843, allocations: 0.7207 MB / 403.9 MB, free: 5.129 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002411/0.2846, allocations: 7.938 kB / 403.9 MB, free: 5.121 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001933/0.2848, allocations: 51.5 kB / 404 MB, free: 5.07 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003097/0.2851, allocations: 103.2 kB / 404.1 MB, free: 4.969 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003903/0.2855, allocations: 119.8 kB / 404.2 MB, free: 4.852 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005714/0.2861, allocations: 422.4 kB / 404.6 MB, free: 4.438 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000267/0.2864, allocations: 123.3 kB / 404.7 MB, free: 4.309 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002512/0.2867, allocations: 155.4 kB / 404.9 MB, free: 4.156 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002725/0.2869, allocations: 167.3 kB / 405 MB, free: 3.992 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.273e-05/0.287, allocations: 43.94 kB / 405.1 MB, free: 3.949 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.45e-05/0.2871, allocations: 40 kB / 405.1 MB, free: 3.91 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.297e-05/0.2872, allocations: 83.73 kB / 405.2 MB, free: 3.828 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001989/0.2874, allocations: 171.2 kB / 405.4 MB, free: 3.66 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004815/0.2879, allocations: 452.2 kB / 405.8 MB, free: 3.219 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.2879, allocations: 0 / 405.8 MB, free: 3.219 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.684e-06/0.2879, allocations: 0 / 405.8 MB, free: 3.219 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.845e-05/0.288, allocations: 4 kB / 405.8 MB, free: 3.215 MB / 318.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.001449/0.2894, allocations: 0.677 MB / 406.5 MB, free: 2.484 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/0.2895, allocations: 16.03 kB / 406.5 MB, free: 2.469 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.678e-05/0.2895, allocations: 62.72 kB / 406.6 MB, free: 2.398 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.813e-05/0.2896, allocations: 36.47 kB / 406.6 MB, free: 2.363 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004167/0.29, allocations: 287.7 kB / 406.9 MB, free: 2.043 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.284e-05/0.2901, allocations: 24.88 kB / 406.9 MB, free: 2.02 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.169e-05/0.2901, allocations: 24.38 kB / 406.9 MB, free: 1.996 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000705/0.2908, allocations: 331.8 kB / 407.3 MB, free: 1.664 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.2909, allocations: 0 / 407.3 MB, free: 1.664 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.1e-05/0.2909, allocations: 12 kB / 407.3 MB, free: 1.652 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.2909, allocations: 7.938 kB / 407.3 MB, free: 1.645 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000825/0.2917, allocations: 286 kB / 407.6 MB, free: 1.363 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001972/0.2937, allocations: 1.143 MB / 408.7 MB, free: 148 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008464/0.2946, allocations: 254.5 kB / 409 MB, free: 15.89 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003346/0.2949, allocations: 104.8 kB / 409.1 MB, free: 15.78 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.086e-05/0.295, allocations: 0 / 409.1 MB, free: 15.78 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004718/0.2954, allocations: 187.8 kB / 409.2 MB, free: 15.58 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.172e-06/0.2955, allocations: 0 / 409.2 MB, free: 15.58 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.002393/0.2979, allocations: 0.6667 MB / 409.9 MB, free: 14.88 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.119e-05/0.2979, allocations: 106.8 kB / 410 MB, free: 14.75 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000295/0.2982, allocations: 286.6 kB / 410.3 MB, free: 14.46 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.886e-05/0.2983, allocations: 33.69 kB / 410.3 MB, free: 14.43 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001285/0.2984, allocations: 191.7 kB / 410.5 MB, free: 14.23 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.157e-05/0.2985, allocations: 51.3 kB / 410.6 MB, free: 14.18 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.839e-05/0.2986, allocations: 49.94 kB / 410.6 MB, free: 14.12 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001212/0.2987, allocations: 334.8 kB / 410.9 MB, free: 13.79 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003512/0.299, allocations: 100.2 kB / 411 MB, free: 13.69 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004188/0.2995, allocations: 214 kB / 411.2 MB, free: 13.43 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007182/0.3002, allocations: 324.6 kB / 411.6 MB, free: 13.07 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.3002, allocations: 0 / 411.6 MB, free: 13.07 MB / 334.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001296/0.3015, allocations: 485.9 kB / 412 MB, free: 12.58 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.262e-05/0.3016, allocations: 33.7 kB / 412.1 MB, free: 12.54 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/0.3016, allocations: 0 / 412.1 MB, free: 12.54 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004106/0.302, allocations: 92.86 kB / 412.2 MB, free: 12.45 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002606/0.3023, allocations: 48.11 kB / 412.2 MB, free: 12.4 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002955/0.3052, allocations: 2.072 MB / 414.3 MB, free: 10.19 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003514/0.3056, allocations: 55.64 kB / 414.3 MB, free: 10.14 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.73e-05/0.3057, allocations: 24 kB / 414.4 MB, free: 10.11 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.0001541/0.3058, allocations: 149.7 kB / 414.5 MB, free: 9.957 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.368e-05/0.3059, allocations: 27.66 kB / 414.5 MB, free: 9.93 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.957e-05/0.3059, allocations: 21.83 kB / 414.5 MB, free: 9.902 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.3059, allocations: 4 kB / 414.6 MB, free: 9.898 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.883e-06/0.3059, allocations: 3.938 kB / 414.6 MB, free: 9.895 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.306, allocations: 0 / 414.6 MB, free: 9.895 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003007/0.3063, allocations: 329.3 kB / 414.9 MB, free: 9.523 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.746e-06/0.3063, allocations: 4 kB / 414.9 MB, free: 9.52 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001413/0.3064, allocations: 19.98 kB / 414.9 MB, free: 9.5 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002872/0.3067, allocations: 80.8 kB / 415 MB, free: 9.418 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.596e-05/0.3067, allocations: 3.984 kB / 415 MB, free: 9.414 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002398/0.3091, allocations: 1.99 MB / 417 MB, free: 7.285 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.3092, allocations: 4.031 kB / 417 MB, free: 7.281 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001071/0.3102, allocations: 371.8 kB / 417.3 MB, free: 6.898 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.804e-05/0.3103, allocations: 100.8 kB / 417.4 MB, free: 6.781 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.735e-05/0.3104, allocations: 3.938 kB / 417.4 MB, free: 6.777 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002552/0.3106, allocations: 35.95 kB / 417.5 MB, free: 6.742 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.667e-05/0.3107, allocations: 19.97 kB / 417.5 MB, free: 6.723 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.239e-05/0.3108, allocations: 4 kB / 417.5 MB, free: 6.719 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002021/0.311, allocations: 206 kB / 417.7 MB, free: 6.52 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.311, allocations: 4 kB / 417.7 MB, free: 6.516 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004165/0.3114, allocations: 71.84 kB / 417.8 MB, free: 6.445 MB / 334.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.001619/0.313, allocations: 0.9056 MB / 418.7 MB, free: 5.504 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001969/0.315, allocations: 0.4942 MB / 419.2 MB, free: 4.984 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.315, allocations: 0 / 419.2 MB, free: 4.984 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007335/0.3158, allocations: 241.1 kB / 419.4 MB, free: 4.738 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000513/0.3163, allocations: 57.62 kB / 419.5 MB, free: 4.684 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01152/0.3278, allocations: 3.578 MB / 423 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000473/0.3283, allocations: 0.7558 MB / 423.8 MB, free: 160 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.000181/0.3285, allocations: 30.31 kB / 423.8 MB, free: 132 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002055/0.3288, allocations: 83.41 kB / 423.9 MB, free: 48 kB / 334.1 MB Notification: Performance of SimCode: time 1.052e-06/0.3288, allocations: 0 / 423.9 MB, free: 48 kB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02841/0.3572, allocations: 6.849 MB / 430.8 MB, free: 9.418 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.3/11.65, allocations: 4.688 kB / 430.8 MB, free: 9.414 MB / 350.1 MB (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_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_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_NonInvertingAmplifier.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches