Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00163/0.00163, allocations: 111.1 kB / 20.44 MB, free: 1.34 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002086/0.002086, allocations: 210.2 kB / 23.72 MB, free: 4.527 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.435/1.435, allocations: 230.6 MB / 257.5 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_NonInvertingAmplifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_NonInvertingAmplifier",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002257/0.002257, allocations: 43.92 kB / 377.7 MB, free: 2.977 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3043/0.3066, allocations: 53.37 MB / 431.1 MB, free: 6.66 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier): time 0.00432/0.3109, allocations: 2.763 MB / 433.9 MB, free: 3.887 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001308/0.3122, allocations: 0.7285 MB / 434.6 MB, free: 3.152 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000141/0.3124, allocations: 4 kB / 434.6 MB, free: 3.148 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000159/0.3125, allocations: 51.5 kB / 434.7 MB, free: 3.098 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002012/0.3127, allocations: 103.2 kB / 434.8 MB, free: 2.996 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002863/0.313, allocations: 123.8 kB / 434.9 MB, free: 2.875 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004297/0.3135, allocations: 414.4 kB / 435.3 MB, free: 2.469 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002049/0.3137, allocations: 97.34 kB / 435.4 MB, free: 2.371 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001973/0.3139, allocations: 159.4 kB / 435.5 MB, free: 2.215 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002141/0.3141, allocations: 179.2 kB / 435.7 MB, free: 2.039 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.25e-05/0.3141, allocations: 40 kB / 435.7 MB, free: 2 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.374e-05/0.3142, allocations: 44 kB / 435.8 MB, free: 1.957 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.789e-05/0.3143, allocations: 79.7 kB / 435.9 MB, free: 1.879 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001508/0.3144, allocations: 143.4 kB / 436 MB, free: 1.738 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004787/0.3149, allocations: 458.3 kB / 436.5 MB, free: 1.289 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.3149, allocations: 0 / 436.5 MB, free: 1.289 MB / 334.1 MB Notification: Performance of FrontEnd: time 9.71e-07/0.3149, allocations: 0 / 436.5 MB, free: 1.289 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.602e-06/0.3149, allocations: 0 / 436.5 MB, free: 1.289 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.001213/0.3161, allocations: 0.6053 MB / 437.1 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/0.3162, allocations: 8.031 kB / 437.1 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.846e-05/0.3162, allocations: 62.73 kB / 437.1 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.063e-05/0.3163, allocations: 36.7 kB / 437.2 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003896/0.3167, allocations: 261.7 kB / 437.4 MB, free: 260 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.26e-05/0.3167, allocations: 20.88 kB / 437.4 MB, free: 240 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.881e-05/0.3168, allocations: 24.38 kB / 437.5 MB, free: 216 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007173/0.3175, allocations: 374.2 kB / 437.8 MB, free: 15.82 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.3175, allocations: 0 / 437.8 MB, free: 15.82 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.834e-05/0.3175, allocations: 12 kB / 437.8 MB, free: 15.81 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.738e-06/0.3175, allocations: 7.984 kB / 437.9 MB, free: 15.8 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000776/0.3183, allocations: 285.8 kB / 438.1 MB, free: 15.52 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00176/0.3201, allocations: 1.018 MB / 439.1 MB, free: 14.43 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007938/0.3208, allocations: 242.6 kB / 439.4 MB, free: 14.18 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003116/0.3212, allocations: 96.78 kB / 439.5 MB, free: 14.09 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.654e-05/0.3212, allocations: 11.92 kB / 439.5 MB, free: 14.07 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005039/0.3217, allocations: 233.3 kB / 439.7 MB, free: 13.81 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.503e-06/0.3217, allocations: 0 / 439.7 MB, free: 13.81 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.002195/0.3239, allocations: 0.5867 MB / 440.3 MB, free: 13.22 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.497e-05/0.324, allocations: 110.8 kB / 440.4 MB, free: 13.09 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003121/0.3243, allocations: 289.8 kB / 440.7 MB, free: 12.79 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.927e-05/0.3243, allocations: 33.7 kB / 440.7 MB, free: 12.75 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001461/0.3244, allocations: 204 kB / 440.9 MB, free: 12.55 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.173e-05/0.3245, allocations: 47.64 kB / 441 MB, free: 12.5 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.063e-05/0.3246, allocations: 53.83 kB / 441 MB, free: 12.44 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001471/0.3247, allocations: 335 kB / 441.4 MB, free: 12.1 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003651/0.3251, allocations: 145.8 kB / 441.5 MB, free: 11.95 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004601/0.3256, allocations: 298.2 kB / 441.8 MB, free: 11.6 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007053/0.3263, allocations: 320.6 kB / 442.1 MB, free: 11.24 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.3263, allocations: 0 / 442.1 MB, free: 11.24 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001248/0.3275, allocations: 0.4975 MB / 442.6 MB, free: 10.72 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.581e-05/0.3276, allocations: 41.69 kB / 442.6 MB, free: 10.67 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.3276, allocations: 0 / 442.6 MB, free: 10.67 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003801/0.3279, allocations: 88.8 kB / 442.7 MB, free: 10.58 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002142/0.3282, allocations: 47.97 kB / 442.8 MB, free: 10.54 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002899/0.3311, allocations: 1.941 MB / 444.7 MB, free: 8.48 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003185/0.3314, allocations: 63.8 kB / 444.8 MB, free: 8.418 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.53e-05/0.3314, allocations: 15.94 kB / 444.8 MB, free: 8.402 MB / 350.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.0001531/0.3316, allocations: 149.7 kB / 444.9 MB, free: 8.246 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.251e-05/0.3316, allocations: 27.81 kB / 445 MB, free: 8.219 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.303e-05/0.3316, allocations: 25.77 kB / 445 MB, free: 8.191 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.3317, allocations: 4 kB / 445 MB, free: 8.188 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-06/0.3317, allocations: 0 / 445 MB, free: 8.188 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.3317, allocations: 8.016 kB / 445 MB, free: 8.18 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002684/0.3319, allocations: 260.6 kB / 445.3 MB, free: 7.883 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.3319, allocations: 0 / 445.3 MB, free: 7.883 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001298/0.3321, allocations: 23.97 kB / 445.3 MB, free: 7.859 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002591/0.3323, allocations: 80.94 kB / 445.4 MB, free: 7.777 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.679e-05/0.3323, allocations: 7.984 kB / 445.4 MB, free: 7.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002424/0.3348, allocations: 1.859 MB / 447.2 MB, free: 5.797 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.3348, allocations: 0 / 447.2 MB, free: 5.797 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001029/0.3358, allocations: 373.6 kB / 447.6 MB, free: 5.41 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.008e-05/0.3358, allocations: 23.86 kB / 447.6 MB, free: 5.387 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.645e-05/0.3359, allocations: 3.938 kB / 447.6 MB, free: 5.383 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002284/0.3361, allocations: 39.89 kB / 447.7 MB, free: 5.344 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.7e-05/0.3362, allocations: 19.97 kB / 447.7 MB, free: 5.324 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.006e-05/0.3362, allocations: 0 / 447.7 MB, free: 5.324 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002087/0.3364, allocations: 205.2 kB / 447.9 MB, free: 5.125 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3364, allocations: 0 / 447.9 MB, free: 5.125 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003961/0.3368, allocations: 79.89 kB / 448 MB, free: 5.047 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.001385/0.3382, allocations: 0.9019 MB / 448.9 MB, free: 4.109 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001298/0.3395, allocations: 0.515 MB / 449.4 MB, free: 3.562 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3395, allocations: 4 kB / 449.4 MB, free: 3.559 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004805/0.34, allocations: 239.1 kB / 449.6 MB, free: 3.312 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003241/0.3403, allocations: 50.39 kB / 449.7 MB, free: 3.27 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007495/0.3478, allocations: 3.704 MB / 453.4 MB, free: 15.39 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001522/0.3479, allocations: 150.9 kB / 453.5 MB, free: 15.22 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001256/0.348, allocations: 26.28 kB / 453.5 MB, free: 15.19 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001402/0.3482, allocations: 83.41 kB / 453.6 MB, free: 15.11 MB / 366.1 MB Notification: Performance of SimCode: time 1.002e-06/0.3482, allocations: 0 / 453.6 MB, free: 15.11 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03815/0.3863, allocations: 7.651 MB / 461.3 MB, free: 7.652 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12/12.39, allocations: 23.72 kB / 461.3 MB, free: 7.633 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.sim & python3 -m fmpy simulate --output-file Modelica_4.1.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_1_0_Modelica_Electrical_Analog_Examples_OpAmps_NonInvertingAmplifier.fmu > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier_res.csv. Warning: Get data of variable buffer.opAmp.out.v from file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier_res.csv failed! Error: Could not read variable buffer.opAmp.out.i in file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier_res.csv. Warning: Get data of variable buffer.opAmp.out.i from file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.840943051996874]