Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.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.001873/0.001873, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002266/0.002266, allocations: 214.6 kB / 23.73 MB, free: 4.164 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.427/1.427, allocations: 230.5 MB / 257.4 MB, free: 7.781 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.OpAmps.DifferentialAmplifier,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_DifferentialAmplifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_DifferentialAmplifier",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002054/0.002054, allocations: 63.91 kB / 377.8 MB, free: 2.793 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2528/0.2549, allocations: 53.41 MB / 431.2 MB, free: 6.461 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier): time 0.005557/0.2604, allocations: 4.062 MB / 435.2 MB, free: 2.383 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002258/0.2627, allocations: 1.195 MB / 436.4 MB, free: 1.184 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002739/0.263, allocations: 15.94 kB / 436.5 MB, free: 1.168 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004237/0.2634, allocations: 140.4 kB / 436.6 MB, free: 1.031 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000442/0.2638, allocations: 210.2 kB / 436.8 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004392/0.2643, allocations: 203.7 kB / 437 MB, free: 0.625 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007613/0.265, allocations: 0.7669 MB / 437.8 MB, free: 15.85 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003348/0.2654, allocations: 179.1 kB / 437.9 MB, free: 15.68 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003904/0.2658, allocations: 314.7 kB / 438.2 MB, free: 15.37 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003869/0.2662, allocations: 286.4 kB / 438.5 MB, free: 15.09 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.642e-05/0.2663, allocations: 68 kB / 438.6 MB, free: 15.02 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001398/0.2664, allocations: 64 kB / 438.7 MB, free: 14.96 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001422/0.2665, allocations: 151.5 kB / 438.8 MB, free: 14.81 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002738/0.2668, allocations: 282.6 kB / 439.1 MB, free: 14.53 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008495/0.2677, allocations: 0.7819 MB / 439.9 MB, free: 13.75 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.2677, allocations: 0 / 439.9 MB, free: 13.75 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.2677, allocations: 4 kB / 439.9 MB, free: 13.74 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.919e-06/0.2677, allocations: 0 / 439.9 MB, free: 13.74 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: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.001714/0.2694, allocations: 0.9386 MB / 440.8 MB, free: 12.77 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.2694, allocations: 11.98 kB / 440.8 MB, free: 12.75 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001129/0.2695, allocations: 102.7 kB / 440.9 MB, free: 12.64 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002928/0.2698, allocations: 92.45 kB / 441 MB, free: 12.55 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000602/0.2704, allocations: 380.2 kB / 441.4 MB, free: 12.16 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.816e-05/0.2705, allocations: 41.69 kB / 441.4 MB, free: 12.12 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.877e-05/0.2706, allocations: 64.12 kB / 441.5 MB, free: 12.05 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009974/0.2716, allocations: 0.6759 MB / 442.2 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.907e-05/0.2716, allocations: 4 kB / 442.2 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.139e-05/0.2716, allocations: 24 kB / 442.2 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.67e-05/0.2716, allocations: 16 kB / 442.2 MB, free: 11.28 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007648/0.2724, allocations: 393.1 kB / 442.6 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003135/0.2755, allocations: 1.567 MB / 444.1 MB, free: 9.25 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007235/0.2763, allocations: 365.6 kB / 444.5 MB, free: 8.891 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009623/0.2772, allocations: 405.2 kB / 444.9 MB, free: 8.492 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.333e-05/0.2773, allocations: 11.94 kB / 444.9 MB, free: 8.48 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000625/0.2779, allocations: 499.6 kB / 445.4 MB, free: 7.906 MB / 350.1 MB Notification: Performance of pre-optimization done (n=44): time 2.144e-06/0.2779, allocations: 0 / 445.4 MB, free: 7.906 MB / 350.1 MB Notification: Performance of matching and sorting (n=44): time 0.002832/0.2807, allocations: 0.9503 MB / 446.4 MB, free: 6.945 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001421/0.2809, allocations: 239.3 kB / 446.6 MB, free: 6.656 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005566/0.2814, allocations: 453.7 kB / 447 MB, free: 6.207 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.504e-05/0.2815, allocations: 37.7 kB / 447.1 MB, free: 6.164 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000248/0.2817, allocations: 316.8 kB / 447.4 MB, free: 5.848 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001255/0.2818, allocations: 150.8 kB / 447.5 MB, free: 5.699 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001423/0.282, allocations: 98.23 kB / 447.6 MB, free: 5.598 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001726/0.2822, allocations: 366.7 kB / 448 MB, free: 5.23 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000268/0.2824, allocations: 137.2 kB / 448.1 MB, free: 5.094 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005054/0.2829, allocations: 481.7 kB / 448.6 MB, free: 4.52 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006799/0.2836, allocations: 423.4 kB / 449 MB, free: 4.059 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.2836, allocations: 0 / 449 MB, free: 4.059 MB / 350.1 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001427/0.285, allocations: 0.6642 MB / 449.7 MB, free: 3.387 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.22e-05/0.2851, allocations: 8 kB / 449.7 MB, free: 3.379 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.256e-05/0.2851, allocations: 4 kB / 449.7 MB, free: 3.375 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008611/0.2859, allocations: 224.6 kB / 449.9 MB, free: 3.152 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003461/0.2863, allocations: 91.83 kB / 450 MB, free: 3.062 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004161/0.2904, allocations: 2.701 MB / 452.7 MB, free: 260 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005847/0.291, allocations: 75.7 kB / 452.8 MB, free: 184 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.968e-05/0.2911, allocations: 20 kB / 452.8 MB, free: 164 kB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,rootMeanSquare.mean.y_last,$PRE.rootMeanSquare.mean.y_last,opAmp.satPos,opAmp.satNeg) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 46 * 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,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0003547/0.2914, allocations: 177.8 kB / 452.9 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.853e-05/0.2915, allocations: 55.61 kB / 453 MB, free: 15.92 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001152/0.2917, allocations: 60.95 kB / 453.1 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.606e-06/0.2917, allocations: 8.047 kB / 453.1 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.454e-05/0.2917, allocations: 7.984 kB / 453.1 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.76e-06/0.2917, allocations: 7.938 kB / 453.1 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001975/0.2937, allocations: 1.082 MB / 454.2 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.2937, allocations: 0 / 454.2 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002212/0.2939, allocations: 43.97 kB / 454.2 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007455/0.2946, allocations: 228.7 kB / 454.4 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.521e-05/0.2947, allocations: 8 kB / 454.4 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003848/0.2985, allocations: 2.754 MB / 457.2 MB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.2985, allocations: 80 / 457.2 MB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001544/0.3, allocations: 0.8227 MB / 458 MB, free: 10.71 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001083/0.3002, allocations: 59.56 kB / 458.1 MB, free: 10.65 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.2e-05/0.3002, allocations: 8 kB / 458.1 MB, free: 10.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003505/0.3006, allocations: 39.97 kB / 458.1 MB, free: 10.6 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.239e-05/0.3007, allocations: 43.92 kB / 458.2 MB, free: 10.56 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.336e-05/0.3007, allocations: 12 kB / 458.2 MB, free: 10.55 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003474/0.301, allocations: 303.1 kB / 458.5 MB, free: 10.25 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.301, allocations: 0 / 458.5 MB, free: 10.25 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006345/0.3017, allocations: 187.7 kB / 458.7 MB, free: 10.07 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: 4 ($whenCondition1,rootMeanSquare.mean.y_last,opAmp.satNeg,opAmp.satPos) * Number of discrete states: 1 (rootMeanSquare.mean.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 25 * 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,15)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001831/0.3035, allocations: 1.373 MB / 460 MB, free: 8.664 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001048/0.3045, allocations: 0.5466 MB / 460.6 MB, free: 8.102 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.3045, allocations: 4.062 kB / 460.6 MB, free: 8.098 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006086/0.3051, allocations: 378.2 kB / 460.9 MB, free: 7.715 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004981/0.3056, allocations: 96.78 kB / 461 MB, free: 7.621 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00741/0.3131, allocations: 4.819 MB / 465.9 MB, free: 2.621 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002887/0.3133, allocations: 267.8 kB / 466.1 MB, free: 2.332 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002073/0.3136, allocations: 48.39 kB / 466.2 MB, free: 2.285 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002558/0.3138, allocations: 195.4 kB / 466.4 MB, free: 2.094 MB / 366.1 MB Notification: Performance of SimCode: time 9.22e-07/0.3138, allocations: 4 kB / 466.4 MB, free: 2.09 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04677/0.3606, allocations: 13.09 MB / 479.5 MB, free: 5.215 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.71/13.07, allocations: 4 kB / 479.5 MB, free: 5.211 MB / 382.1 MB " [Timeout remaining time 647] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Electrical_Analog_Examples_OpAmps_DifferentialAmplifier.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier_res.csv. Warning: Get data of variable opAmp.v_out from file Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.549198566935956]