Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001281/0.001281, allocations: 112.5 kB / 20.43 MB, free: 1.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001487/0.001487, allocations: 212.3 kB / 23.74 MB, free: 4.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.41/1.41, allocations: 230.5 MB / 257.4 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] 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.InvertingAmp,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_InvertingAmp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.InvertingAmp,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_InvertingAmp",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001842/0.001842, allocations: 63.89 kB / 377.8 MB, free: 3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2785/0.2803, allocations: 53.42 MB / 431.2 MB, free: 6.695 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.InvertingAmp): time 0.004329/0.2847, allocations: 2.836 MB / 434 MB, free: 3.848 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001246/0.2859, allocations: 0.6778 MB / 434.7 MB, free: 3.164 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001517/0.2861, allocations: 15.94 kB / 434.7 MB, free: 3.148 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001568/0.2862, allocations: 43.56 kB / 434.8 MB, free: 3.105 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001835/0.2864, allocations: 91.19 kB / 434.9 MB, free: 3.016 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002485/0.2866, allocations: 87.77 kB / 435 MB, free: 2.93 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004338/0.2871, allocations: 382.5 kB / 435.3 MB, free: 2.555 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001865/0.2873, allocations: 87.36 kB / 435.4 MB, free: 2.469 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001832/0.2874, allocations: 147.5 kB / 435.6 MB, free: 2.324 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002204/0.2877, allocations: 167.3 kB / 435.7 MB, free: 2.16 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.429e-05/0.2877, allocations: 36 kB / 435.8 MB, free: 2.125 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.411e-05/0.2878, allocations: 36 kB / 435.8 MB, free: 2.09 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.895e-05/0.2878, allocations: 67.75 kB / 435.9 MB, free: 2.023 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001819/0.288, allocations: 171.2 kB / 436 MB, free: 1.855 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004316/0.2885, allocations: 378.9 kB / 436.4 MB, free: 1.488 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.85e-06/0.2885, allocations: 0 / 436.4 MB, free: 1.488 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.2885, allocations: 0 / 436.4 MB, free: 1.488 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.176e-05/0.2885, allocations: 4 kB / 436.4 MB, free: 1.484 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.00124/0.2897, allocations: 0.5819 MB / 437 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.971e-05/0.2898, allocations: 12.03 kB / 437 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.526e-05/0.2898, allocations: 62.72 kB / 437.1 MB, free: 0.7852 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.85e-05/0.2899, allocations: 40.7 kB / 437.1 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003759/0.2903, allocations: 218.9 kB / 437.3 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.217e-05/0.2903, allocations: 16.88 kB / 437.3 MB, free: 500 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.343e-05/0.2903, allocations: 24.38 kB / 437.3 MB, free: 476 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006512/0.291, allocations: 306.7 kB / 437.6 MB, free: 156 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.386e-05/0.291, allocations: 3.984 kB / 437.6 MB, free: 152 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.691e-05/0.291, allocations: 8 kB / 437.7 MB, free: 144 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.787e-06/0.291, allocations: 8 kB / 437.7 MB, free: 136 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007707/0.2918, allocations: 249.6 kB / 437.9 MB, free: 15.88 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001704/0.2935, allocations: 1.047 MB / 439 MB, free: 14.75 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007757/0.2943, allocations: 206.5 kB / 439.2 MB, free: 14.54 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002863/0.2946, allocations: 84.73 kB / 439.2 MB, free: 14.46 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.284e-05/0.2946, allocations: 7.984 kB / 439.2 MB, free: 14.45 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004328/0.295, allocations: 165.9 kB / 439.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.392e-06/0.295, allocations: 0 / 439.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.00199/0.297, allocations: 442.1 kB / 439.8 MB, free: 13.82 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.978e-05/0.2971, allocations: 114.8 kB / 440 MB, free: 13.69 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003212/0.2974, allocations: 277.9 kB / 440.2 MB, free: 13.41 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.742e-05/0.2975, allocations: 29.7 kB / 440.3 MB, free: 13.37 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001574/0.2976, allocations: 200 kB / 440.4 MB, free: 13.17 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.447e-05/0.2977, allocations: 47.67 kB / 440.5 MB, free: 13.12 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.222e-05/0.2978, allocations: 57.89 kB / 440.6 MB, free: 13.06 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001556/0.2979, allocations: 330.8 kB / 440.9 MB, free: 12.73 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003257/0.2982, allocations: 92.16 kB / 441 MB, free: 12.64 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004013/0.2986, allocations: 206.8 kB / 441.2 MB, free: 12.39 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006684/0.2993, allocations: 304.3 kB / 441.5 MB, free: 12.04 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.2993, allocations: 0 / 441.5 MB, free: 12.04 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001175/0.3005, allocations: 423.8 kB / 441.9 MB, free: 11.61 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.978e-05/0.3005, allocations: 36.05 kB / 441.9 MB, free: 11.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.999e-06/0.3005, allocations: 8.031 kB / 441.9 MB, free: 11.57 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003358/0.3009, allocations: 76.8 kB / 442 MB, free: 11.49 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000205/0.3011, allocations: 47.89 kB / 442 MB, free: 11.44 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002346/0.3034, allocations: 1.612 MB / 443.7 MB, free: 9.715 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003401/0.3038, allocations: 51.81 kB / 443.7 MB, free: 9.664 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.446e-05/0.3038, allocations: 12 kB / 443.7 MB, free: 9.652 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (23): * Single equations (assignments): 21 * 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,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0001548/0.3039, allocations: 153.7 kB / 443.9 MB, free: 9.492 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.955e-05/0.304, allocations: 27.81 kB / 443.9 MB, free: 9.465 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.817e-05/0.304, allocations: 21.7 kB / 443.9 MB, free: 9.445 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.049e-05/0.304, allocations: 4 kB / 443.9 MB, free: 9.441 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-06/0.304, allocations: 0 / 443.9 MB, free: 9.441 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.304, allocations: 7.922 kB / 443.9 MB, free: 9.434 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002837/0.3043, allocations: 272.5 kB / 444.2 MB, free: 9.125 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.3043, allocations: 0 / 444.2 MB, free: 9.125 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001181/0.3044, allocations: 23.97 kB / 444.2 MB, free: 9.102 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002451/0.3047, allocations: 64.98 kB / 444.3 MB, free: 9.035 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.775e-05/0.3047, allocations: 8 kB / 444.3 MB, free: 9.027 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002185/0.3069, allocations: 1.608 MB / 445.9 MB, free: 7.301 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.3069, allocations: 0 / 445.9 MB, free: 7.301 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009757/0.3079, allocations: 305.6 kB / 446.2 MB, free: 6.98 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.773e-05/0.308, allocations: 35.83 kB / 446.2 MB, free: 6.945 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.583e-05/0.308, allocations: 4 kB / 446.2 MB, free: 6.941 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000231/0.3082, allocations: 31.95 kB / 446.3 MB, free: 6.91 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.966e-05/0.3083, allocations: 23.97 kB / 446.3 MB, free: 6.887 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.269e-05/0.3083, allocations: 3.938 kB / 446.3 MB, free: 6.883 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002142/0.3085, allocations: 201.2 kB / 446.5 MB, free: 6.688 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3085, allocations: 3.938 kB / 446.5 MB, free: 6.684 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003421/0.3089, allocations: 79.89 kB / 446.6 MB, free: 6.605 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 (7): * Single equations (assignments): 4 * 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,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001307/0.3102, allocations: 0.851 MB / 447.4 MB, free: 5.723 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009448/0.3111, allocations: 413.8 kB / 447.8 MB, free: 5.293 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.3111, allocations: 0 / 447.8 MB, free: 5.293 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004497/0.3116, allocations: 219.2 kB / 448 MB, free: 5.066 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002736/0.3119, allocations: 48.38 kB / 448.1 MB, free: 5.023 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005094/0.3169, allocations: 2.992 MB / 451.1 MB, free: 1.859 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003763/0.3173, allocations: 0.7558 MB / 451.8 MB, free: 1.074 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.572e-05/0.3174, allocations: 22.3 kB / 451.9 MB, free: 1.055 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001268/0.3175, allocations: 83.39 kB / 451.9 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of SimCode: time 6.82e-07/0.3175, allocations: 0 / 451.9 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03775/0.3553, allocations: 7.057 MB / 459 MB, free: 10.06 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.33/12.68, allocations: 3.984 kB / 459 MB, free: 10.06 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp_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_InvertingAmp.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/InvertingAmp/InvertingAmp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable vIn.signalSource.y in file Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp_res.csv. Warning: Get data of variable vIn.signalSource.y from file Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.050335502997768]