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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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: translateModel(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed,tolerance=2e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|opAmp.q_fp1|opAmp.q_fr1|opAmp.q_fr2|opAmp.q_fr3|opAmp.v_in|opAmp.v_source|opAmp.x",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed") translateModel(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed,tolerance=2e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|opAmp.q_fp1|opAmp.q_fr1|opAmp.q_fr2|opAmp.q_fr3|opAmp.v_in|opAmp.v_source|opAmp.x",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001675/0.001675, allocations: 111.6 kB / 18.45 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002307/0.002307, allocations: 213 kB / 19.4 MB, free: 3.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.344/2.344, allocations: 227.4 MB / 247.6 MB, free: 10.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002187/0.002187, allocations: 63.89 kB / 359.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4022/0.4044, allocations: 50.54 MB / 409.9 MB, free: 1.605 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed): time 0.007083/0.4115, allocations: 3.24 MB / 413.2 MB, free: 14.35 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003045/0.4146, allocations: 1.021 MB / 414.2 MB, free: 13.32 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003242/0.415, allocations: 4 kB / 414.2 MB, free: 13.32 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000293/0.4154, allocations: 59.36 kB / 414.3 MB, free: 13.26 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007749/0.4162, allocations: 134.9 kB / 414.4 MB, free: 13.12 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007207/0.4169, allocations: 151.7 kB / 414.5 MB, free: 12.98 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008765/0.4178, allocations: 489.9 kB / 415 MB, free: 12.5 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004026/0.4182, allocations: 139.1 kB / 415.2 MB, free: 12.36 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004914/0.4187, allocations: 183.4 kB / 415.3 MB, free: 12.18 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004557/0.4192, allocations: 211.1 kB / 415.5 MB, free: 11.97 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.891e-05/0.4193, allocations: 40 kB / 415.6 MB, free: 11.93 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003083/0.4197, allocations: 75.97 kB / 415.7 MB, free: 11.86 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001299/0.4198, allocations: 99.59 kB / 415.7 MB, free: 11.76 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000314/0.4202, allocations: 207 kB / 416 MB, free: 11.55 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009045/0.4211, allocations: 0.5033 MB / 416.5 MB, free: 11.05 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.4211, allocations: 0 / 416.5 MB, free: 11.05 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.4211, allocations: 0 / 416.5 MB, free: 11.05 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.347e-05/0.4212, allocations: 4 kB / 416.5 MB, free: 11.05 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.002346/0.4235, allocations: 0.7403 MB / 417.2 MB, free: 10.26 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.088e-05/0.4236, allocations: 12.03 kB / 417.2 MB, free: 10.25 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003434/0.424, allocations: 56.38 kB / 417.3 MB, free: 10.2 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000705/0.4247, allocations: 311.3 kB / 417.6 MB, free: 9.855 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.59e-05/0.4248, allocations: 29.03 kB / 417.6 MB, free: 9.828 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001066/0.4249, allocations: 32.38 kB / 417.6 MB, free: 9.797 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001211/0.4261, allocations: 353.3 kB / 418 MB, free: 9.441 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.023e-05/0.4262, allocations: 0 / 418 MB, free: 9.441 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.384e-05/0.4262, allocations: 15.98 kB / 418 MB, free: 9.426 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.78e-05/0.4263, allocations: 8 kB / 418 MB, free: 9.418 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009977/0.4273, allocations: 242.4 kB / 418.2 MB, free: 9.184 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003624/0.4309, allocations: 1.162 MB / 419.4 MB, free: 7.938 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001178/0.4321, allocations: 286.2 kB / 419.7 MB, free: 7.652 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009156/0.4331, allocations: 217.1 kB / 419.9 MB, free: 7.438 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001213/0.4343, allocations: 1.113 MB / 421 MB, free: 6.066 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.95e-05/0.4344, allocations: 38.8 kB / 421 MB, free: 6.02 MB / 334.1 MB Notification: Performance of pre-optimization done (n=27): time 3.537e-06/0.4344, allocations: 0 / 421 MB, free: 6.02 MB / 334.1 MB Notification: Performance of matching and sorting (n=27): time 0.002475/0.4369, allocations: 0.5287 MB / 421.6 MB, free: 5.465 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.359e-05/0.437, allocations: 85.11 kB / 421.7 MB, free: 5.363 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006297/0.4376, allocations: 337.7 kB / 422 MB, free: 5.02 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.101e-05/0.4377, allocations: 29.7 kB / 422 MB, free: 4.984 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002372/0.4379, allocations: 220.1 kB / 422.2 MB, free: 4.762 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001289/0.4381, allocations: 98.69 kB / 422.3 MB, free: 4.664 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002132/0.4383, allocations: 73.97 kB / 422.4 MB, free: 4.582 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001907/0.4385, allocations: 350.7 kB / 422.7 MB, free: 4.23 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004069/0.439, allocations: 100.7 kB / 422.8 MB, free: 4.133 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005149/0.4395, allocations: 186 kB / 423 MB, free: 3.922 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009636/0.4405, allocations: 284.2 kB / 423.3 MB, free: 3.617 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/0.4405, allocations: 0 / 423.3 MB, free: 3.617 MB / 334.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001506/0.442, allocations: 436.9 kB / 423.7 MB, free: 3.18 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.741e-05/0.4421, allocations: 8 kB / 423.7 MB, free: 3.172 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.307e-05/0.4421, allocations: 3.984 kB / 423.7 MB, free: 3.168 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004642/0.4426, allocations: 69.06 kB / 423.8 MB, free: 3.098 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006028/0.4432, allocations: 79.89 kB / 423.9 MB, free: 3.02 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003178/0.4464, allocations: 1.951 MB / 425.8 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004871/0.4469, allocations: 39.75 kB / 425.9 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.499e-05/0.447, allocations: 15.98 kB / 425.9 MB, free: 0.875 MB / 334.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.0002833/0.4473, allocations: 157.6 kB / 426 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000133/0.4474, allocations: 35.53 kB / 426.1 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001411/0.4489, allocations: 338.2 kB / 426.4 MB, free: 344 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.018e-05/0.4489, allocations: 4 kB / 426.4 MB, free: 340 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.396e-06/0.4489, allocations: 3.938 kB / 426.4 MB, free: 336 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/0.4489, allocations: 3.938 kB / 426.4 MB, free: 332 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008604/0.4498, allocations: 401.2 kB / 426.8 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.4498, allocations: 0 / 426.8 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007181/0.4506, allocations: 55.89 kB / 426.9 MB, free: 15.83 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003925/0.451, allocations: 64.81 kB / 426.9 MB, free: 15.76 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.039e-05/0.451, allocations: 11.98 kB / 426.9 MB, free: 15.75 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007323/0.4518, allocations: 0.5991 MB / 427.5 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.173e-06/0.4518, allocations: 3.938 kB / 427.5 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001846/0.4537, allocations: 0.5249 MB / 428.1 MB, free: 14.58 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001601/0.4539, allocations: 100.7 kB / 428.2 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.118e-05/0.454, allocations: 11.98 kB / 428.2 MB, free: 14.45 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005412/0.4545, allocations: 19.98 kB / 428.2 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.884e-05/0.4546, allocations: 23.92 kB / 428.2 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.141e-05/0.4547, allocations: 7.984 kB / 428.2 MB, free: 14.4 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004581/0.4552, allocations: 239.2 kB / 428.5 MB, free: 14.17 MB / 350.1 MB Notification: Performance of sort global known variables: time 5.51e-07/0.4552, allocations: 0 / 428.5 MB, free: 14.17 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009392/0.4561, allocations: 111.8 kB / 428.6 MB, free: 14.06 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.0003344/0.4565, allocations: 135.3 kB / 428.7 MB, free: 13.92 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001617/0.4581, allocations: 414.3 kB / 429.1 MB, free: 13.5 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.4582, allocations: 0 / 429.1 MB, free: 13.5 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007224/0.4589, allocations: 143.9 kB / 429.2 MB, free: 13.36 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007357/0.4597, allocations: 41.95 kB / 429.3 MB, free: 13.32 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002561/0.4622, allocations: 0.8947 MB / 430.2 MB, free: 12.39 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005424/0.4628, allocations: 0.7912 MB / 431 MB, free: 11.57 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001822/0.463, allocations: 31.42 kB / 431 MB, free: 11.54 MB / 350.1 MB Notification: Performance of SimCode: time 9.22e-07/0.463, allocations: 0 / 431 MB, free: 11.54 MB / 350.1 MB Notification: Performance of Templates: time 0.01349/0.4765, allocations: 5.513 MB / 436.5 MB, free: 6.035 MB / 350.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.makefile (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 & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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) Reference file matches