Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.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.001323/0.001323, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.001501/0.001501, allocations: 207.5 kB / 23.73 MB, free: 4.391 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.492/1.492, allocations: 230.5 MB / 257.4 MB, free: 7.75 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.AmplifierWithOpAmpDetailed,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_AmplifierWithOpAmpDetailed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_AmplifierWithOpAmpDetailed",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001988/0.001988, allocations: 63.89 kB / 377.7 MB, free: 2.797 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2683/0.2702, allocations: 53.41 MB / 431.1 MB, free: 6.422 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed): time 0.004581/0.2748, allocations: 2.972 MB / 434.1 MB, free: 3.441 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002048/0.2769, allocations: 0.9469 MB / 435.1 MB, free: 2.488 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000189/0.2771, allocations: 11.88 kB / 435.1 MB, free: 2.477 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001766/0.2772, allocations: 63.42 kB / 435.1 MB, free: 2.414 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003685/0.2776, allocations: 130.9 kB / 435.3 MB, free: 2.285 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003862/0.278, allocations: 159.6 kB / 435.4 MB, free: 2.129 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005834/0.2786, allocations: 486 kB / 435.9 MB, free: 1.652 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002298/0.2788, allocations: 89.33 kB / 436 MB, free: 1.562 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003015/0.2791, allocations: 203.3 kB / 436.2 MB, free: 1.363 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002418/0.2793, allocations: 175.1 kB / 436.4 MB, free: 1.191 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.617e-05/0.2794, allocations: 40 kB / 436.4 MB, free: 1.152 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001684/0.2796, allocations: 75.97 kB / 436.5 MB, free: 1.078 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.294e-05/0.2797, allocations: 95.61 kB / 436.6 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001712/0.2798, allocations: 183.2 kB / 436.7 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005386/0.2804, allocations: 0.498 MB / 437.2 MB, free: 312 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.2804, allocations: 3.938 kB / 437.2 MB, free: 308 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.2804, allocations: 3.938 kB / 437.2 MB, free: 304 kB / 334.1 MB Notification: Performance of Transformations before backend: time 6.322e-06/0.2804, allocations: 0 / 437.2 MB, free: 304 kB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001297/0.2817, allocations: 0.6607 MB / 437.9 MB, free: 15.61 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/0.2817, allocations: 15.98 kB / 437.9 MB, free: 15.59 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.456e-05/0.2818, allocations: 66.72 kB / 438 MB, free: 15.52 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001835/0.282, allocations: 56.64 kB / 438 MB, free: 15.46 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000475/0.2825, allocations: 265.2 kB / 438.3 MB, free: 15.18 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.08e-05/0.2825, allocations: 29.03 kB / 438.3 MB, free: 15.14 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.217e-05/0.2826, allocations: 32.38 kB / 438.4 MB, free: 15.11 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007032/0.2833, allocations: 455.9 kB / 438.8 MB, free: 14.64 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.2833, allocations: 0 / 438.8 MB, free: 14.64 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.204e-05/0.2833, allocations: 12 kB / 438.8 MB, free: 14.62 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.21e-05/0.2833, allocations: 8 kB / 438.8 MB, free: 14.62 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004866/0.2838, allocations: 226.5 kB / 439 MB, free: 14.39 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001937/0.2858, allocations: 1.054 MB / 440.1 MB, free: 13.27 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006344/0.2864, allocations: 243.6 kB / 440.3 MB, free: 13.02 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005139/0.2869, allocations: 189.9 kB / 440.5 MB, free: 12.83 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003451/0.2873, allocations: 72.16 kB / 440.6 MB, free: 12.76 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.424e-05/0.2873, allocations: 42.73 kB / 440.6 MB, free: 12.71 MB / 350.1 MB Notification: Performance of pre-optimization done (n=27): time 1.623e-06/0.2873, allocations: 0 / 440.6 MB, free: 12.71 MB / 350.1 MB Notification: Performance of matching and sorting (n=27): time 0.001439/0.2887, allocations: 448.5 kB / 441.1 MB, free: 12.27 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.889e-05/0.2888, allocations: 85.09 kB / 441.2 MB, free: 12.16 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003821/0.2892, allocations: 345.6 kB / 441.5 MB, free: 11.82 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.087e-05/0.2892, allocations: 29.7 kB / 441.5 MB, free: 11.78 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001639/0.2894, allocations: 224.5 kB / 441.7 MB, free: 11.56 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.321e-05/0.2894, allocations: 103.1 kB / 441.8 MB, free: 11.46 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001145/0.2896, allocations: 66.08 kB / 441.9 MB, free: 11.38 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001578/0.2897, allocations: 350.7 kB / 442.3 MB, free: 11.03 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002332/0.29, allocations: 100.7 kB / 442.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003066/0.2903, allocations: 211.4 kB / 442.6 MB, free: 10.69 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000539/0.2908, allocations: 272 kB / 442.8 MB, free: 10.4 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.047e-06/0.2908, allocations: 3.938 kB / 442.8 MB, free: 10.39 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008447/0.2916, allocations: 417.4 kB / 443.2 MB, free: 9.977 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.2917, allocations: 4 kB / 443.2 MB, free: 9.973 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.2917, allocations: 7.984 kB / 443.2 MB, free: 9.965 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002617/0.2919, allocations: 65.08 kB / 443.3 MB, free: 9.898 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003554/0.2923, allocations: 79.83 kB / 443.4 MB, free: 9.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002082/0.2944, allocations: 1.828 MB / 445.2 MB, free: 7.879 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000289/0.2947, allocations: 47.69 kB / 445.3 MB, free: 7.832 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.643e-05/0.2947, allocations: 12 kB / 445.3 MB, free: 7.82 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 36 * 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): 1 system {(1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001911/0.2949, allocations: 157.3 kB / 445.4 MB, free: 7.66 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.109e-05/0.2949, allocations: 35.77 kB / 445.5 MB, free: 7.625 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007175/0.2957, allocations: 326.4 kB / 445.8 MB, free: 7.297 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.2957, allocations: 4 kB / 445.8 MB, free: 7.293 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.2957, allocations: 3.938 kB / 445.8 MB, free: 7.289 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/0.2957, allocations: 3.984 kB / 445.8 MB, free: 7.285 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004256/0.2961, allocations: 320.5 kB / 446.1 MB, free: 6.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.2961, allocations: 4 kB / 446.1 MB, free: 6.926 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003446/0.2965, allocations: 59.89 kB / 446.2 MB, free: 6.867 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001959/0.2966, allocations: 64.81 kB / 446.2 MB, free: 6.801 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.178e-05/0.2967, allocations: 4 kB / 446.2 MB, free: 6.797 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004593/0.2971, allocations: 0.6031 MB / 446.8 MB, free: 6.168 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.2971, allocations: 160 / 446.8 MB, free: 6.168 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009351/0.2981, allocations: 0.5094 MB / 447.3 MB, free: 5.641 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.391e-05/0.2981, allocations: 43.69 kB / 447.4 MB, free: 5.598 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.863e-05/0.2982, allocations: 4 kB / 447.4 MB, free: 5.594 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002564/0.2984, allocations: 19.98 kB / 447.4 MB, free: 5.574 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.931e-05/0.2985, allocations: 19.97 kB / 447.4 MB, free: 5.555 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.773e-05/0.2985, allocations: 4 kB / 447.4 MB, free: 5.551 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002675/0.2988, allocations: 243.4 kB / 447.7 MB, free: 5.316 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2988, allocations: 0 / 447.7 MB, free: 5.316 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004576/0.2992, allocations: 115.7 kB / 447.8 MB, free: 5.203 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (opAmp.v_in,opAmp.q_fr1,opAmp.q_fr2,opAmp.q_fr3,opAmp.q_fp1,opAmp.v_source,opAmp.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 19 * 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 {(1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001332/0.3006, allocations: 1.07 MB / 448.9 MB, free: 4.105 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008407/0.3014, allocations: 386.9 kB / 449.2 MB, free: 3.715 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.3014, allocations: 0 / 449.2 MB, free: 3.715 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003459/0.3018, allocations: 127.9 kB / 449.4 MB, free: 3.59 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003539/0.3021, allocations: 37.36 kB / 449.4 MB, free: 3.555 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005219/0.3073, allocations: 3.709 MB / 453.1 MB, free: 15.71 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002012/0.3075, allocations: 190.5 kB / 453.3 MB, free: 15.5 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001543/0.3077, allocations: 38.95 kB / 453.3 MB, free: 15.46 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001884/0.3079, allocations: 131.4 kB / 453.5 MB, free: 15.34 MB / 366.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3079, allocations: 0 / 453.5 MB, free: 15.34 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05547/0.3633, allocations: 8.403 MB / 461.9 MB, free: 7.105 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.64/13, allocations: 7.312 kB / 461.9 MB, free: 7.102 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_AmplifierWithOpAmpDetailed_fmu --startTime=0 --stopTime=0.003 --stepSize=1.2e-06 --timeout=50 --tolerance=2e-07 Modelica_trunk_Modelica_Electrical_Analog_Examples_AmplifierWithOpAmpDetailed.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/AmplifierWithOpAmpDetailed/AmplifierWithOpAmpDetailed.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.621813517063856]