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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001215/0.001215, allocations: 76.06 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009541/0.0009541, allocations: 149.1 kB / 23.93 MB, free: 0.6328 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9036/0.9036, allocations: 173.4 MB / 200.4 MB, free: 9.441 MB / 186.7 MB " [Timeout remaining time 179] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 318.5 MB, free: 6.324 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.598e-06/1.097e-05, allocations: 6.281 kB / 318.5 MB, free: 6.316 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier): time 0.002585/0.002596, allocations: 2.737 MB / 321.2 MB, free: 3.562 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008347/0.003431, allocations: 0.7012 MB / 321.9 MB, free: 2.855 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001145/0.003546, allocations: 4 kB / 321.9 MB, free: 2.852 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001286/0.003674, allocations: 51.5 kB / 322 MB, free: 2.801 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001392/0.003813, allocations: 111.1 kB / 322.1 MB, free: 2.691 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002327/0.004046, allocations: 123.7 kB / 322.2 MB, free: 2.57 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003081/0.004354, allocations: 434.1 kB / 322.6 MB, free: 2.145 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001556/0.00451, allocations: 79.67 kB / 322.7 MB, free: 2.062 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001807/0.00469, allocations: 231.5 kB / 322.9 MB, free: 1.836 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001247/0.004815, allocations: 135.5 kB / 323 MB, free: 1.703 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.17e-05/0.004857, allocations: 40 kB / 323.1 MB, free: 1.664 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.356e-05/0.00489, allocations: 40 kB / 323.1 MB, free: 1.625 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.076e-05/0.004941, allocations: 83.69 kB / 323.2 MB, free: 1.543 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 8.968e-05/0.005031, allocations: 127.7 kB / 323.3 MB, free: 1.418 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003214/0.005352, allocations: 462.6 kB / 323.8 MB, free: 0.9648 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.964e-06/0.005354, allocations: 0 / 323.8 MB, free: 0.9648 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.005355, allocations: 0 / 323.8 MB, free: 0.9648 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.00536, allocations: 0 / 323.8 MB, free: 0.9648 MB / 282.7 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.0008263/0.006186, allocations: 0.6046 MB / 324.4 MB, free: 336 kB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.006224, allocations: 12.92 kB / 324.4 MB, free: 324 kB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.853e-05/0.006272, allocations: 66.72 kB / 324.5 MB, free: 248 kB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.872e-05/0.006321, allocations: 32.75 kB / 324.5 MB, free: 216 kB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002676/0.006589, allocations: 245 kB / 324.7 MB, free: 15.95 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.669e-05/0.006605, allocations: 24.86 kB / 324.8 MB, free: 15.92 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.501e-05/0.00663, allocations: 28.38 kB / 324.8 MB, free: 15.89 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004326/0.007063, allocations: 374.6 kB / 325.2 MB, free: 15.5 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.007072, allocations: 192 / 325.2 MB, free: 15.5 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.189e-05/0.007094, allocations: 16.12 kB / 325.2 MB, free: 15.49 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.0071, allocations: 4 kB / 325.2 MB, free: 15.48 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004325/0.007532, allocations: 289.8 kB / 325.5 MB, free: 15.2 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001081/0.008613, allocations: 1.023 MB / 326.5 MB, free: 14.1 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004501/0.009063, allocations: 238.5 kB / 326.7 MB, free: 13.86 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001751/0.009238, allocations: 104.8 kB / 326.8 MB, free: 13.75 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.578e-05/0.009254, allocations: 0 / 326.8 MB, free: 13.75 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002782/0.009532, allocations: 237.2 kB / 327 MB, free: 13.49 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 9.01e-07/0.009533, allocations: 0 / 327 MB, free: 13.49 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.001179/0.01071, allocations: 0.5941 MB / 327.6 MB, free: 12.89 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.195e-05/0.01076, allocations: 110.8 kB / 327.7 MB, free: 12.75 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002014/0.01097, allocations: 293.8 kB / 328 MB, free: 12.46 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.739e-05/0.01098, allocations: 29.7 kB / 328.1 MB, free: 12.42 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.325e-05/0.01108, allocations: 204 kB / 328.3 MB, free: 12.22 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.496e-05/0.0111, allocations: 43.64 kB / 328.3 MB, free: 12.18 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.499e-05/0.01117, allocations: 49.94 kB / 328.4 MB, free: 12.12 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.741e-05/0.01125, allocations: 334.8 kB / 328.7 MB, free: 11.78 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001972/0.01145, allocations: 137.8 kB / 328.8 MB, free: 11.64 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000245/0.0117, allocations: 290.4 kB / 329.1 MB, free: 11.29 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003845/0.01208, allocations: 327.1 kB / 329.4 MB, free: 10.93 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.584e-06/0.01208, allocations: 4 kB / 329.4 MB, free: 10.93 MB / 298.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006733/0.01276, allocations: 0.5016 MB / 329.9 MB, free: 10.4 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.68e-05/0.01278, allocations: 37.69 kB / 330 MB, free: 10.36 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.01279, allocations: 7.938 kB / 330 MB, free: 10.35 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002195/0.01301, allocations: 80.8 kB / 330 MB, free: 10.27 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001119/0.01312, allocations: 55.94 kB / 330.1 MB, free: 10.21 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001684/0.0148, allocations: 1.941 MB / 332 MB, free: 8.16 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001665/0.01497, allocations: 55.73 kB / 332.1 MB, free: 8.105 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.642e-05/0.01499, allocations: 12.05 kB / 332.1 MB, free: 8.094 MB / 298.7 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.0001088/0.0151, allocations: 157.8 kB / 332.3 MB, free: 7.93 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.35e-05/0.01512, allocations: 23.86 kB / 332.3 MB, free: 7.906 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.89e-05/0.01515, allocations: 25.77 kB / 332.3 MB, free: 7.883 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.81e-07/0.01515, allocations: 4 kB / 332.3 MB, free: 7.879 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.072e-06/0.01515, allocations: 0 / 332.3 MB, free: 7.879 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.01515, allocations: 0 / 332.3 MB, free: 7.879 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000168/0.01532, allocations: 268.5 kB / 332.6 MB, free: 7.574 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.01532, allocations: 0 / 332.6 MB, free: 7.574 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.151e-05/0.01538, allocations: 19.98 kB / 332.6 MB, free: 7.555 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001498/0.01553, allocations: 80.8 kB / 332.7 MB, free: 7.473 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.038e-05/0.01554, allocations: 4 kB / 332.7 MB, free: 7.469 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001308/0.01685, allocations: 1.855 MB / 334.5 MB, free: 5.5 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.01685, allocations: 3.984 kB / 334.5 MB, free: 5.496 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005516/0.01741, allocations: 365.5 kB / 334.9 MB, free: 5.117 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.022e-05/0.01744, allocations: 31.78 kB / 334.9 MB, free: 5.086 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.993e-05/0.01746, allocations: 8 kB / 334.9 MB, free: 5.078 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001128/0.01757, allocations: 31.95 kB / 335 MB, free: 5.047 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.853e-05/0.01763, allocations: 27.94 kB / 335 MB, free: 5.02 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.187e-06/0.01764, allocations: 8 kB / 335 MB, free: 5.012 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000135/0.01777, allocations: 197.2 kB / 335.2 MB, free: 4.816 MB / 298.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.01777, allocations: 4 kB / 335.2 MB, free: 4.812 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002611/0.01803, allocations: 75.89 kB / 335.3 MB, free: 4.738 MB / 298.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: 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.0007457/0.01878, allocations: 0.9084 MB / 336.2 MB, free: 3.797 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007113/0.01949, allocations: 0.5151 MB / 336.7 MB, free: 3.25 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.01949, allocations: 3.938 kB / 336.7 MB, free: 3.246 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002478/0.01974, allocations: 231.2 kB / 336.9 MB, free: 3.008 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002043/0.01994, allocations: 48.52 kB / 337 MB, free: 2.961 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004044/0.02399, allocations: 3.709 MB / 340.7 MB, free: 15.05 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.241e-05/0.02407, allocations: 142.9 kB / 340.8 MB, free: 14.89 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 7.085e-05/0.02414, allocations: 30.28 kB / 340.9 MB, free: 14.86 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.271e-05/0.02423, allocations: 84.47 kB / 340.9 MB, free: 14.78 MB / 314.7 MB Notification: Performance of SimCode: time 5.01e-07/0.02423, allocations: 0 / 340.9 MB, free: 14.78 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02039/0.04463, allocations: 7.685 MB / 348.6 MB, free: 7.293 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.928/7.973, allocations: 7.922 kB / 348.6 MB, free: 7.285 MB / 314.7 MB " [Timeout remaining time 652] (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) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/NonInvertingAmplifier/NonInvertingAmplifier.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier_res.csv. Warning: Get data of variable buffer.opAmp.out.v from file Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier_res.csv failed! Error: Could not read variable buffer.opAmp.out.i in file Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier_res.csv. Warning: Get data of variable buffer.opAmp.out.i from file Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.710156006738544]