Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.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.001282/0.001282, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001433/0.001433, allocations: 203.6 kB / 23.73 MB, free: 4.379 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.403/1.403, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.DifferentialAmplifier,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_DifferentialAmplifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_DifferentialAmplifier",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001468/0.001468, allocations: 47.92 kB / 377.8 MB, free: 3.012 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2606/0.262, allocations: 53.36 MB / 431.1 MB, free: 6.629 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier): time 0.005928/0.268, allocations: 4.054 MB / 435.2 MB, free: 2.559 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002526/0.2705, allocations: 1.215 MB / 436.4 MB, free: 1.34 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002761/0.2708, allocations: 15.94 kB / 436.4 MB, free: 1.324 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004505/0.2712, allocations: 146.7 kB / 436.6 MB, free: 1.18 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004336/0.2717, allocations: 206.2 kB / 436.8 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005293/0.2722, allocations: 223.6 kB / 437 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008558/0.273, allocations: 0.7631 MB / 437.7 MB, free: 15.98 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003938/0.2734, allocations: 195 kB / 437.9 MB, free: 15.8 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004414/0.2739, allocations: 294.9 kB / 438.2 MB, free: 15.51 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004179/0.2743, allocations: 330.5 kB / 438.5 MB, free: 15.18 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.498e-05/0.2744, allocations: 64 kB / 438.6 MB, free: 15.12 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001553/0.2745, allocations: 72 kB / 438.7 MB, free: 15.05 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001364/0.2747, allocations: 143.5 kB / 438.8 MB, free: 14.91 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002961/0.275, allocations: 302.6 kB / 439.1 MB, free: 14.61 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008662/0.2758, allocations: 0.7589 MB / 439.9 MB, free: 13.86 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.2758, allocations: 0 / 439.9 MB, free: 13.86 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.2758, allocations: 0 / 439.9 MB, free: 13.86 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.698e-06/0.2759, allocations: 0 / 439.9 MB, free: 13.86 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.001842/0.2777, allocations: 0.9577 MB / 440.8 MB, free: 12.86 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/0.2777, allocations: 8.031 kB / 440.8 MB, free: 12.85 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001269/0.2779, allocations: 102.7 kB / 440.9 MB, free: 12.74 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002772/0.2781, allocations: 92.45 kB / 441 MB, free: 12.65 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005827/0.2787, allocations: 364.2 kB / 441.4 MB, free: 12.27 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.934e-05/0.2788, allocations: 41.69 kB / 441.4 MB, free: 12.23 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.356e-05/0.2789, allocations: 60.12 kB / 441.5 MB, free: 12.17 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001106/0.28, allocations: 0.7253 MB / 442.2 MB, free: 11.39 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.053e-05/0.28, allocations: 0 / 442.2 MB, free: 11.39 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.887e-05/0.28, allocations: 20 kB / 442.2 MB, free: 11.37 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.973e-05/0.28, allocations: 19.98 kB / 442.2 MB, free: 11.35 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008937/0.2809, allocations: 421 kB / 442.6 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002998/0.2839, allocations: 1.634 MB / 444.3 MB, free: 9.223 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007564/0.2847, allocations: 355.9 kB / 444.6 MB, free: 8.867 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00106/0.2858, allocations: 421.2 kB / 445 MB, free: 8.453 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.428e-05/0.2858, allocations: 4.328 kB / 445 MB, free: 8.449 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006599/0.2864, allocations: 474.1 kB / 445.5 MB, free: 7.906 MB / 350.1 MB Notification: Performance of pre-optimization done (n=41): time 1.954e-06/0.2864, allocations: 0 / 445.5 MB, free: 7.906 MB / 350.1 MB Notification: Performance of matching and sorting (n=41): time 0.003544/0.29, allocations: 1.106 MB / 446.6 MB, free: 6.789 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001636/0.2902, allocations: 235.3 kB / 446.8 MB, free: 6.504 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005545/0.2907, allocations: 449.8 kB / 447.3 MB, free: 6.059 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.688e-05/0.2907, allocations: 33.7 kB / 447.3 MB, free: 6.02 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002762/0.291, allocations: 320.8 kB / 447.6 MB, free: 5.699 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001306/0.2912, allocations: 142.8 kB / 447.8 MB, free: 5.559 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001506/0.2913, allocations: 94.08 kB / 447.9 MB, free: 5.461 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001974/0.2915, allocations: 362.7 kB / 448.2 MB, free: 5.098 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003546/0.2919, allocations: 152.9 kB / 448.4 MB, free: 4.945 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005923/0.2925, allocations: 0.4891 MB / 448.9 MB, free: 4.34 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007972/0.2932, allocations: 439.4 kB / 449.3 MB, free: 3.863 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.2933, allocations: 4 kB / 449.3 MB, free: 3.859 MB / 350.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001792/0.295, allocations: 0.7519 MB / 450 MB, free: 3.098 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/0.2951, allocations: 8 kB / 450 MB, free: 3.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.159e-05/0.2951, allocations: 7.938 kB / 450.1 MB, free: 3.082 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006263/0.2957, allocations: 184.7 kB / 450.2 MB, free: 2.898 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003343/0.296, allocations: 87.89 kB / 450.3 MB, free: 2.812 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004277/0.3003, allocations: 2.663 MB / 453 MB, free: 40 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000503/0.3008, allocations: 83.77 kB / 453.1 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.735e-05/0.3009, allocations: 16 kB / 453.1 MB, free: 15.94 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,rootMeanSquare.mean.y_last,$PRE.rootMeanSquare.mean.y_last) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * 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 {(2,15)} Notification: Performance of prepare postOptimizeDAE: time 0.0002626/0.3011, allocations: 185.8 kB / 453.3 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.593e-05/0.3012, allocations: 55.7 kB / 453.3 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001124/0.3013, allocations: 64.64 kB / 453.4 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.409e-06/0.3013, allocations: 4 kB / 453.4 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.3013, allocations: 0 / 453.4 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.3013, allocations: 0 / 453.4 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002281/0.3036, allocations: 1.164 MB / 454.5 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.3036, allocations: 0 / 454.5 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002107/0.3038, allocations: 47.97 kB / 454.6 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000523/0.3043, allocations: 179.4 kB / 454.8 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.459e-05/0.3044, allocations: 8 kB / 454.8 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004034/0.3084, allocations: 2.646 MB / 457.4 MB, free: 11.42 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.3084, allocations: 4 kB / 457.4 MB, free: 11.42 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001978/0.3104, allocations: 0.9103 MB / 458.3 MB, free: 10.49 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001081/0.3105, allocations: 59.62 kB / 458.4 MB, free: 10.43 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.919e-05/0.3105, allocations: 4 kB / 458.4 MB, free: 10.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003711/0.3109, allocations: 51.97 kB / 458.5 MB, free: 10.38 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.909e-05/0.311, allocations: 31.94 kB / 458.5 MB, free: 10.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.424e-05/0.311, allocations: 11.98 kB / 458.5 MB, free: 10.33 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003689/0.3114, allocations: 303.1 kB / 458.8 MB, free: 10.04 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3114, allocations: 0 / 458.8 MB, free: 10.04 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006313/0.312, allocations: 183.7 kB / 459 MB, free: 9.859 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (rootMeanSquare.mean.x) * Number of discrete variables: 2 ($whenCondition1,rootMeanSquare.mean.y_last) * Number of discrete states: 1 (rootMeanSquare.mean.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 {(3,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002321/0.3143, allocations: 1.47 MB / 460.4 MB, free: 8.359 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001194/0.3155, allocations: 0.5494 MB / 461 MB, free: 7.797 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.3155, allocations: 8.062 kB / 461 MB, free: 7.789 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006692/0.3162, allocations: 370.5 kB / 461.4 MB, free: 7.414 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005087/0.3167, allocations: 90.03 kB / 461.4 MB, free: 7.324 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007901/0.3246, allocations: 4.877 MB / 466.3 MB, free: 2.27 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002886/0.3249, allocations: 267.5 kB / 466.6 MB, free: 1.98 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002013/0.3251, allocations: 52.36 kB / 466.6 MB, free: 1.93 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002418/0.3253, allocations: 187.4 kB / 466.8 MB, free: 1.746 MB / 366.1 MB Notification: Performance of SimCode: time 8.22e-07/0.3253, allocations: 0 / 466.8 MB, free: 1.746 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04541/0.3707, allocations: 12.93 MB / 479.8 MB, free: 5.09 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.26/12.63, allocations: 3.938 kB / 479.8 MB, free: 5.086 MB / 382.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_DifferentialAmplifier.fmu > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/DifferentialAmplifier/DifferentialAmplifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable opAmp.v_out in file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier_res.csv. Warning: Get data of variable opAmp.v_out from file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.037693536025472]