Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.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.001372/0.001372, allocations: 112.2 kB / 20.43 MB, free: 1.457 MB / 14.72 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.001398/0.001398, allocations: 181.3 kB / 23.72 MB, free: 4.699 MB / 14.72 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 1.522/1.522, allocations: 225.6 MB / 252.5 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 178] 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.DifferentialAmplifier,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_DifferentialAmplifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_DifferentialAmplifier",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001559/0.001559, allocations: 43.94 kB / 370.5 MB, free: 9.805 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2503/0.2519, allocations: 52.19 MB / 422.7 MB, free: 14.57 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier): time 0.00577/0.2577, allocations: 4.476 MB / 427.1 MB, free: 10.07 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002492/0.2602, allocations: 1.226 MB / 428.4 MB, free: 8.844 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003099/0.2605, allocations: 11.94 kB / 428.4 MB, free: 8.832 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004519/0.2609, allocations: 142.8 kB / 428.5 MB, free: 8.691 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004317/0.2613, allocations: 206.2 kB / 428.7 MB, free: 8.488 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005268/0.2619, allocations: 203.6 kB / 428.9 MB, free: 8.289 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007959/0.2627, allocations: 0.7591 MB / 429.7 MB, free: 7.523 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003539/0.263, allocations: 195.1 kB / 429.9 MB, free: 7.332 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003491/0.2634, allocations: 287 kB / 430.2 MB, free: 7.051 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004136/0.2638, allocations: 330.5 kB / 430.5 MB, free: 6.727 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.163e-05/0.2639, allocations: 68 kB / 430.5 MB, free: 6.66 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.855e-05/0.264, allocations: 64 kB / 430.6 MB, free: 6.598 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001431/0.2641, allocations: 151.4 kB / 430.8 MB, free: 6.449 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003138/0.2644, allocations: 338.3 kB / 431.1 MB, free: 6.117 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007963/0.2652, allocations: 0.7511 MB / 431.8 MB, free: 5.367 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.2652, allocations: 4 kB / 431.8 MB, free: 5.363 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.2652, allocations: 0 / 431.8 MB, free: 5.363 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.047e-05/0.2652, allocations: 0 / 431.8 MB, free: 5.363 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: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.001812/0.2671, allocations: 0.9422 MB / 432.8 MB, free: 4.383 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.2671, allocations: 12.03 kB / 432.8 MB, free: 4.371 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001202/0.2672, allocations: 98.69 kB / 432.9 MB, free: 4.266 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001195/0.2673, allocations: 76.47 kB / 433 MB, free: 4.191 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005318/0.2679, allocations: 352.4 kB / 433.3 MB, free: 3.82 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.863e-05/0.2679, allocations: 37.69 kB / 433.3 MB, free: 3.785 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.819e-05/0.268, allocations: 56.12 kB / 433.4 MB, free: 3.73 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009934/0.269, allocations: 0.5534 MB / 434 MB, free: 3.164 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.155e-05/0.269, allocations: 3.953 kB / 434 MB, free: 3.16 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.947e-05/0.2691, allocations: 24 kB / 434 MB, free: 3.137 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.626e-05/0.2691, allocations: 16 kB / 434 MB, free: 3.121 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008843/0.27, allocations: 413 kB / 434.4 MB, free: 2.715 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003104/0.2731, allocations: 1.763 MB / 436.2 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007726/0.2738, allocations: 345.6 kB / 436.5 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001046/0.2749, allocations: 432.2 kB / 436.9 MB, free: 104 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.986e-05/0.2749, allocations: 4.328 kB / 436.9 MB, free: 100 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000624/0.2755, allocations: 294.4 kB / 437.2 MB, free: 15.77 MB / 350.1 MB Notification: Performance of pre-optimization done (n=41): time 2.395e-06/0.2755, allocations: 0 / 437.2 MB, free: 15.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=41): time 0.003611/0.2792, allocations: 1.114 MB / 438.3 MB, free: 14.65 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001634/0.2793, allocations: 239.3 kB / 438.6 MB, free: 14.36 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006031/0.2799, allocations: 433.9 kB / 439 MB, free: 13.93 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.148e-05/0.28, allocations: 33.7 kB / 439 MB, free: 13.89 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000276/0.2802, allocations: 308.8 kB / 439.3 MB, free: 13.58 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001442/0.2804, allocations: 146.8 kB / 439.5 MB, free: 13.43 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001507/0.2805, allocations: 94.14 kB / 439.6 MB, free: 13.34 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.00019/0.2807, allocations: 366.7 kB / 439.9 MB, free: 12.97 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003406/0.2811, allocations: 144.9 kB / 440.1 MB, free: 12.83 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004954/0.2816, allocations: 317 kB / 440.4 MB, free: 12.44 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007687/0.2823, allocations: 447.2 kB / 440.8 MB, free: 11.96 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.2823, allocations: 0 / 440.8 MB, free: 11.96 MB / 350.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001743/0.2841, allocations: 0.748 MB / 441.5 MB, free: 11.2 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.398e-05/0.2841, allocations: 8 kB / 441.6 MB, free: 11.19 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.129e-05/0.2841, allocations: 7.938 kB / 441.6 MB, free: 11.18 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006327/0.2847, allocations: 180.8 kB / 441.7 MB, free: 11 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003429/0.2851, allocations: 87.83 kB / 441.8 MB, free: 10.92 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00438/0.2895, allocations: 2.711 MB / 444.5 MB, free: 8.098 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005172/0.29, allocations: 79.58 kB / 444.6 MB, free: 8.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.26e-05/0.29, allocations: 20 kB / 444.6 MB, free: 8 MB / 350.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.0002857/0.2903, allocations: 181.7 kB / 444.8 MB, free: 7.812 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.327e-05/0.2904, allocations: 51.67 kB / 444.9 MB, free: 7.762 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001053/0.2905, allocations: 60.81 kB / 444.9 MB, free: 7.703 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.2905, allocations: 4 kB / 444.9 MB, free: 7.699 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.2905, allocations: 0 / 444.9 MB, free: 7.699 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.668e-06/0.2905, allocations: 3.984 kB / 444.9 MB, free: 7.695 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002276/0.2928, allocations: 1.218 MB / 446.1 MB, free: 6.422 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.2928, allocations: 0 / 446.1 MB, free: 6.422 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002209/0.293, allocations: 51.91 kB / 446.2 MB, free: 6.371 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005529/0.2936, allocations: 191.8 kB / 446.4 MB, free: 6.184 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.536e-05/0.2936, allocations: 8 kB / 446.4 MB, free: 6.176 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004031/0.2976, allocations: 2.665 MB / 449.1 MB, free: 3.395 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.2976, allocations: 0 / 449.1 MB, free: 3.395 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002082/0.2997, allocations: 0.9026 MB / 450 MB, free: 2.473 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001303/0.2998, allocations: 51.67 kB / 450 MB, free: 2.422 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.975e-05/0.2999, allocations: 12.06 kB / 450 MB, free: 2.41 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003651/0.3003, allocations: 39.97 kB / 450.1 MB, free: 2.371 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001134/0.3004, allocations: 39.81 kB / 450.1 MB, free: 2.332 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.986e-05/0.3004, allocations: 12.09 kB / 450.1 MB, free: 2.32 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004011/0.3008, allocations: 299.1 kB / 450.4 MB, free: 2.035 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3008, allocations: 0 / 450.4 MB, free: 2.035 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007655/0.3016, allocations: 187.7 kB / 450.6 MB, free: 1.852 MB / 350.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.002412/0.304, allocations: 1.458 MB / 452 MB, free: 372 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001341/0.3053, allocations: 0.5643 MB / 452.6 MB, free: 15.79 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.3053, allocations: 0.875 kB / 452.6 MB, free: 15.79 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000682/0.306, allocations: 378.4 kB / 453 MB, free: 15.4 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005459/0.3066, allocations: 84.38 kB / 453.1 MB, free: 15.32 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0082/0.3148, allocations: 4.843 MB / 457.9 MB, free: 10.3 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005326/0.3153, allocations: 0.8633 MB / 458.8 MB, free: 9.406 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002249/0.3155, allocations: 52.45 kB / 458.8 MB, free: 9.355 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002399/0.3158, allocations: 183.4 kB / 459 MB, free: 9.176 MB / 366.1 MB Notification: Performance of SimCode: time 1.082e-06/0.3158, allocations: 0 / 459 MB, free: 9.176 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04723/0.363, allocations: 12.42 MB / 471.4 MB, free: 12.97 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13/13.36, allocations: 5.906 kB / 471.4 MB, free: 12.97 MB / 382.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.sim & python3 -m fmpy simulate --output-file Modelica_4.0.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_0_0_Modelica_Electrical_Analog_Examples_OpAmps_DifferentialAmplifier.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/DifferentialAmplifier/DifferentialAmplifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.0.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier_res.csv. Warning: Get data of variable opAmp.v_out from file Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.940093099998194]