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.001902/0.001902, allocations: 116.4 kB / 20.43 MB, free: 1.457 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.002376/0.002376, allocations: 214.3 kB / 23.75 MB, free: 4.672 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.447/1.447, allocations: 230.5 MB / 257.4 MB, free: 8.004 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.00255/0.00255, allocations: 67.89 kB / 377.8 MB, free: 2.969 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2556/0.2582, allocations: 53.42 MB / 431.2 MB, free: 6.672 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier): time 0.006233/0.2644, allocations: 4.536 MB / 435.8 MB, free: 2.117 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002313/0.2667, allocations: 1.265 MB / 437 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000262/0.267, allocations: 11.94 kB / 437.1 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000437/0.2674, allocations: 142.7 kB / 437.2 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004184/0.2679, allocations: 214.2 kB / 437.4 MB, free: 496 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004246/0.2683, allocations: 207.6 kB / 437.6 MB, free: 288 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007908/0.2691, allocations: 0.7591 MB / 438.4 MB, free: 15.52 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003374/0.2694, allocations: 191.1 kB / 438.5 MB, free: 15.33 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003927/0.2698, allocations: 310.8 kB / 438.9 MB, free: 15.02 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004457/0.2702, allocations: 326.4 kB / 439.2 MB, free: 14.7 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.059e-05/0.2703, allocations: 68 kB / 439.2 MB, free: 14.64 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001392/0.2705, allocations: 75.98 kB / 439.3 MB, free: 14.56 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001337/0.2706, allocations: 147.4 kB / 439.5 MB, free: 14.42 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003299/0.2709, allocations: 354.2 kB / 439.8 MB, free: 14.07 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008796/0.2718, allocations: 0.759 MB / 440.6 MB, free: 13.31 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.2718, allocations: 0 / 440.6 MB, free: 13.31 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.2718, allocations: 0 / 440.6 MB, free: 13.31 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.016e-05/0.2718, allocations: 0 / 440.6 MB, free: 13.31 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.001803/0.2736, allocations: 0.9541 MB / 441.5 MB, free: 12.32 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.617e-05/0.2737, allocations: 11.97 kB / 441.5 MB, free: 12.31 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001209/0.2738, allocations: 98.7 kB / 441.6 MB, free: 12.2 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003066/0.2741, allocations: 100.4 kB / 441.7 MB, free: 12.11 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006004/0.2747, allocations: 360.3 kB / 442.1 MB, free: 11.73 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.063e-05/0.2748, allocations: 45.69 kB / 442.1 MB, free: 11.68 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.205e-05/0.2748, allocations: 56.12 kB / 442.2 MB, free: 11.63 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008677/0.2757, allocations: 486.5 kB / 442.6 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.07e-05/0.2757, allocations: 0 / 442.6 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.221e-05/0.2758, allocations: 31.94 kB / 442.7 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.795e-05/0.2758, allocations: 20 kB / 442.7 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007485/0.2766, allocations: 397.1 kB / 443.1 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003279/0.2798, allocations: 1.708 MB / 444.8 MB, free: 8.922 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000756/0.2806, allocations: 358 kB / 445.1 MB, free: 8.566 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009808/0.2816, allocations: 413.1 kB / 445.5 MB, free: 8.16 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.728e-05/0.2816, allocations: 7.938 kB / 445.6 MB, free: 8.152 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005257/0.2821, allocations: 298 kB / 445.8 MB, free: 7.824 MB / 350.1 MB Notification: Performance of pre-optimization done (n=44): time 2.004e-06/0.2821, allocations: 0 / 445.8 MB, free: 7.824 MB / 350.1 MB Notification: Performance of matching and sorting (n=44): time 0.002824/0.285, allocations: 0.9464 MB / 446.8 MB, free: 6.867 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001787/0.2851, allocations: 239.3 kB / 447 MB, free: 6.578 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005528/0.2857, allocations: 441.8 kB / 447.5 MB, free: 6.141 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.989e-05/0.2857, allocations: 37.7 kB / 447.5 MB, free: 6.098 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002671/0.286, allocations: 320.7 kB / 447.8 MB, free: 5.777 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001983/0.2862, allocations: 146.7 kB / 447.9 MB, free: 5.633 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001634/0.2864, allocations: 102.3 kB / 448 MB, free: 5.527 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0003173/0.2867, allocations: 362.7 kB / 448.4 MB, free: 5.164 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002782/0.287, allocations: 133.2 kB / 448.5 MB, free: 5.031 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004285/0.2874, allocations: 309.8 kB / 448.8 MB, free: 4.668 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006512/0.288, allocations: 411.4 kB / 449.2 MB, free: 4.219 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.288, allocations: 3.938 kB / 449.2 MB, free: 4.215 MB / 350.1 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001343/0.2894, allocations: 0.6642 MB / 449.9 MB, free: 3.543 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.238e-05/0.2894, allocations: 10.5 kB / 449.9 MB, free: 3.535 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.072e-05/0.2894, allocations: 4 kB / 449.9 MB, free: 3.531 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008871/0.2903, allocations: 232.5 kB / 450.1 MB, free: 3.301 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003217/0.2906, allocations: 79.89 kB / 450.2 MB, free: 3.223 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004102/0.2947, allocations: 2.74 MB / 453 MB, free: 384 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004551/0.2952, allocations: 79.66 kB / 453 MB, free: 304 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.027e-05/0.2952, allocations: 20 kB / 453.1 MB, free: 284 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.0002693/0.2955, allocations: 193.2 kB / 453.2 MB, free: 84 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.515e-05/0.2956, allocations: 55.61 kB / 453.3 MB, free: 28 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001296/0.2957, allocations: 64.95 kB / 453.4 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.2957, allocations: 4 kB / 453.4 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.2957, allocations: 4 kB / 453.4 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.94e-06/0.2957, allocations: 0 / 453.4 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001918/0.2976, allocations: 1.145 MB / 454.5 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.2976, allocations: 4 kB / 454.5 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002342/0.2979, allocations: 47.91 kB / 454.6 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000739/0.2986, allocations: 227 kB / 454.8 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.849e-05/0.2986, allocations: 12 kB / 454.8 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00385/0.3025, allocations: 2.775 MB / 457.6 MB, free: 11.58 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.3025, allocations: 48 / 457.6 MB, free: 11.58 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001593/0.3041, allocations: 0.8301 MB / 458.4 MB, free: 10.72 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.634e-05/0.3042, allocations: 59.56 kB / 458.5 MB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.122e-05/0.3042, allocations: 8 kB / 458.5 MB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003474/0.3046, allocations: 44.03 kB / 458.5 MB, free: 10.61 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.559e-05/0.3047, allocations: 35.92 kB / 458.6 MB, free: 10.58 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.187e-05/0.3047, allocations: 12 kB / 458.6 MB, free: 10.57 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003623/0.3051, allocations: 307.1 kB / 458.9 MB, free: 10.27 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3051, allocations: 0 / 458.9 MB, free: 10.27 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006465/0.3057, allocations: 183.7 kB / 459 MB, free: 10.09 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.001967/0.3077, allocations: 1.381 MB / 460.4 MB, free: 8.676 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001144/0.3088, allocations: 0.5427 MB / 461 MB, free: 8.117 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.3088, allocations: 4.062 kB / 461 MB, free: 8.113 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006178/0.3094, allocations: 374.3 kB / 461.3 MB, free: 7.734 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005182/0.3099, allocations: 97.31 kB / 461.4 MB, free: 7.641 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007966/0.3179, allocations: 4.819 MB / 466.3 MB, free: 2.637 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005498/0.3185, allocations: 0.8709 MB / 467.1 MB, free: 1.738 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001961/0.3187, allocations: 48.48 kB / 467.2 MB, free: 1.691 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002456/0.3189, allocations: 191.4 kB / 467.4 MB, free: 1.504 MB / 366.1 MB Notification: Performance of SimCode: time 1.082e-06/0.3189, allocations: 0 / 467.4 MB, free: 1.504 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04584/0.3647, allocations: 12.87 MB / 480.2 MB, free: 4.824 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.76/13.13, allocations: 7.922 kB / 480.2 MB, free: 4.816 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.671846747998643]