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.00176/0.00176, allocations: 107.1 kB / 20.44 MB, free: 1.328 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.002215/0.002215, allocations: 205.3 kB / 23.72 MB, free: 4.508 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.415/1.415, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.001691/0.001691, allocations: 47.92 kB / 377.8 MB, free: 3.016 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2534/0.2551, allocations: 53.38 MB / 431.1 MB, free: 6.621 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier): time 0.005753/0.2609, allocations: 4.05 MB / 435.2 MB, free: 2.555 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002444/0.2633, allocations: 1.223 MB / 436.4 MB, free: 1.328 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004815/0.2638, allocations: 15.94 kB / 436.4 MB, free: 1.312 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005215/0.2643, allocations: 142.8 kB / 436.6 MB, free: 1.172 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006383/0.265, allocations: 206.2 kB / 436.8 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005816/0.2656, allocations: 215.6 kB / 437 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001017/0.2666, allocations: 0.7669 MB / 437.7 MB, free: 15.98 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003872/0.267, allocations: 183.1 kB / 437.9 MB, free: 15.8 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000481/0.2674, allocations: 298.9 kB / 438.2 MB, free: 15.51 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004807/0.2679, allocations: 290.5 kB / 438.5 MB, free: 15.23 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001328/0.2681, allocations: 64 kB / 438.6 MB, free: 15.16 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001837/0.2682, allocations: 68 kB / 438.6 MB, free: 15.1 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001604/0.2684, allocations: 155.4 kB / 438.8 MB, free: 14.95 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003561/0.2688, allocations: 278.7 kB / 439 MB, free: 14.67 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008651/0.2696, allocations: 0.7745 MB / 439.8 MB, free: 13.9 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.2696, allocations: 0 / 439.8 MB, free: 13.9 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.2696, allocations: 0 / 439.8 MB, free: 13.9 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.03e-05/0.2697, allocations: 4 kB / 439.8 MB, free: 13.89 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.002001/0.2717, allocations: 0.946 MB / 440.8 MB, free: 12.91 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/0.2717, allocations: 12.02 kB / 440.8 MB, free: 12.9 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001268/0.2718, allocations: 98.7 kB / 440.9 MB, free: 12.79 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003125/0.2721, allocations: 96.45 kB / 441 MB, free: 12.7 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006489/0.2728, allocations: 356.4 kB / 441.3 MB, free: 12.32 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.056e-05/0.2728, allocations: 41.69 kB / 441.4 MB, free: 12.29 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.668e-05/0.2729, allocations: 56.12 kB / 441.4 MB, free: 12.23 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001138/0.2741, allocations: 0.7291 MB / 442.1 MB, free: 11.45 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.112e-05/0.2741, allocations: 4 kB / 442.1 MB, free: 11.44 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.189e-05/0.2741, allocations: 27.94 kB / 442.2 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.376e-05/0.2741, allocations: 12 kB / 442.2 MB, free: 11.4 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000908/0.275, allocations: 413 kB / 442.6 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003053/0.2781, allocations: 1.646 MB / 444.2 MB, free: 9.27 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007789/0.2789, allocations: 346 kB / 444.6 MB, free: 8.926 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001053/0.2799, allocations: 417.2 kB / 445 MB, free: 8.516 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.54e-05/0.28, allocations: 4.328 kB / 445 MB, free: 8.512 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006892/0.2807, allocations: 486 kB / 445.5 MB, free: 7.957 MB / 350.1 MB Notification: Performance of pre-optimization done (n=41): time 1.944e-06/0.2807, allocations: 0 / 445.5 MB, free: 7.957 MB / 350.1 MB Notification: Performance of matching and sorting (n=41): time 0.003491/0.2841, allocations: 1.102 MB / 446.6 MB, free: 6.844 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001611/0.2843, allocations: 243.3 kB / 446.8 MB, free: 6.551 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000615/0.2849, allocations: 445.8 kB / 447.2 MB, free: 6.105 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.578e-05/0.285, allocations: 41.7 kB / 447.3 MB, free: 6.059 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002546/0.2852, allocations: 308.8 kB / 447.6 MB, free: 5.75 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000134/0.2854, allocations: 150.7 kB / 447.7 MB, free: 5.602 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001494/0.2855, allocations: 94.14 kB / 447.8 MB, free: 5.504 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001954/0.2857, allocations: 362.7 kB / 448.2 MB, free: 5.141 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003456/0.286, allocations: 148.9 kB / 448.3 MB, free: 4.992 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005781/0.2866, allocations: 0.4968 MB / 448.8 MB, free: 4.379 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007658/0.2874, allocations: 439.5 kB / 449.2 MB, free: 3.902 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.2874, allocations: 0 / 449.2 MB, free: 3.902 MB / 350.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001769/0.2892, allocations: 0.7441 MB / 450 MB, free: 3.148 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/0.2892, allocations: 12.06 kB / 450 MB, free: 3.137 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.365e-05/0.2892, allocations: 11.94 kB / 450 MB, free: 3.125 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006328/0.2898, allocations: 180.7 kB / 450.2 MB, free: 2.945 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003258/0.2902, allocations: 83.83 kB / 450.3 MB, free: 2.863 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004127/0.2943, allocations: 2.661 MB / 452.9 MB, free: 96 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004835/0.2948, allocations: 83.66 kB / 453 MB, free: 12 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.931e-05/0.2948, allocations: 20.05 kB / 453 MB, free: 15.99 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.0002597/0.2951, allocations: 173.8 kB / 453.2 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.491e-05/0.2952, allocations: 55.67 kB / 453.3 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001042/0.2953, allocations: 56.84 kB / 453.3 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.2953, allocations: 8 kB / 453.3 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.2953, allocations: 4 kB / 453.3 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.2953, allocations: 0 / 453.3 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002229/0.2975, allocations: 1.164 MB / 454.5 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.2975, allocations: 0 / 454.5 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002091/0.2977, allocations: 47.91 kB / 454.5 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005171/0.2982, allocations: 183.5 kB / 454.7 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.568e-05/0.2983, allocations: 8 kB / 454.7 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003947/0.3022, allocations: 2.653 MB / 457.4 MB, free: 11.47 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.3022, allocations: 0 / 457.4 MB, free: 11.47 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001971/0.3042, allocations: 0.9065 MB / 458.3 MB, free: 10.55 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001082/0.3043, allocations: 55.66 kB / 458.3 MB, free: 10.49 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.512e-05/0.3043, allocations: 15.98 kB / 458.3 MB, free: 10.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003561/0.3047, allocations: 44.03 kB / 458.4 MB, free: 10.43 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.692e-05/0.3048, allocations: 39.8 kB / 458.4 MB, free: 10.39 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.459e-05/0.3048, allocations: 12 kB / 458.4 MB, free: 10.38 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003592/0.3052, allocations: 307.1 kB / 458.7 MB, free: 10.09 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3052, allocations: 0 / 458.7 MB, free: 10.09 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006334/0.3058, allocations: 179.7 kB / 458.9 MB, free: 9.914 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.002279/0.3081, allocations: 1.462 MB / 460.4 MB, free: 8.422 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001203/0.3093, allocations: 0.5565 MB / 460.9 MB, free: 7.852 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.105e-06/0.3093, allocations: 0 / 460.9 MB, free: 7.852 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006685/0.31, allocations: 383.1 kB / 461.3 MB, free: 7.465 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004993/0.3105, allocations: 80.75 kB / 461.4 MB, free: 7.387 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007928/0.3184, allocations: 4.881 MB / 466.3 MB, free: 2.32 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002875/0.3187, allocations: 267.5 kB / 466.5 MB, free: 2.031 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002237/0.3189, allocations: 48.45 kB / 466.6 MB, free: 1.984 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002409/0.3191, allocations: 187.4 kB / 466.8 MB, free: 1.801 MB / 366.1 MB Notification: Performance of SimCode: time 1.322e-06/0.3191, allocations: 0 / 466.8 MB, free: 1.801 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04682/0.366, allocations: 12.8 MB / 479.6 MB, free: 5.281 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.59/12.96, allocations: 7.188 kB / 479.6 MB, free: 5.277 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.46163323102519]