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.001045/0.001045, allocations: 109.2 kB / 17.86 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001059/0.001059, allocations: 209.7 kB / 18.79 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.349/1.349, allocations: 227.4 MB / 246.9 MB, free: 10.57 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001145/0.001145, allocations: 62.52 kB / 306.9 MB, free: 1.012 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09396/0.09512, allocations: 50.53 MB / 357.4 MB, free: 14.48 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed): time 0.003907/0.09907, allocations: 3.292 MB / 360.7 MB, free: 11.16 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001434/0.1005, allocations: 1.013 MB / 361.7 MB, free: 10.14 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001162/0.1006, allocations: 7.938 kB / 361.7 MB, free: 10.14 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001452/0.1008, allocations: 43.67 kB / 361.8 MB, free: 10.09 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002874/0.1011, allocations: 115.1 kB / 361.9 MB, free: 9.98 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002341/0.1014, allocations: 123.8 kB / 362 MB, free: 9.859 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003647/0.1017, allocations: 465.9 kB / 362.5 MB, free: 9.402 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002031/0.1019, allocations: 119.8 kB / 362.6 MB, free: 9.277 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002248/0.1022, allocations: 183.3 kB / 362.8 MB, free: 9.098 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001949/0.1024, allocations: 187.2 kB / 363 MB, free: 8.914 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.79e-05/0.1024, allocations: 28 kB / 363 MB, free: 8.887 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001376/0.1026, allocations: 67.95 kB / 363.1 MB, free: 8.82 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.576e-05/0.1027, allocations: 83.61 kB / 363.1 MB, free: 8.738 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001656/0.1028, allocations: 195 kB / 363.3 MB, free: 8.547 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003437/0.1032, allocations: 379.3 kB / 363.7 MB, free: 8.176 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.1032, allocations: 4 kB / 363.7 MB, free: 8.172 MB / 302.1 MB Notification: Performance of FrontEnd: time 7.72e-07/0.1032, allocations: 0 / 363.7 MB, free: 8.172 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.67e-06/0.1032, allocations: 0 / 363.7 MB, free: 8.172 MB / 302.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.001238/0.1045, allocations: 0.7325 MB / 364.4 MB, free: 7.391 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.317e-05/0.1045, allocations: 8.031 kB / 364.4 MB, free: 7.383 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001813/0.1047, allocations: 56.45 kB / 364.5 MB, free: 7.328 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003404/0.105, allocations: 315.3 kB / 364.8 MB, free: 6.984 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.281e-05/0.1051, allocations: 25.03 kB / 364.8 MB, free: 6.961 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.418e-05/0.1051, allocations: 40.28 kB / 364.9 MB, free: 6.922 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006079/0.1057, allocations: 353.3 kB / 365.2 MB, free: 6.57 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.1058, allocations: 0 / 365.2 MB, free: 6.57 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.208e-05/0.1058, allocations: 12 kB / 365.2 MB, free: 6.559 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/0.1058, allocations: 11.94 kB / 365.2 MB, free: 6.547 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004804/0.1063, allocations: 238.5 kB / 365.5 MB, free: 6.312 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001784/0.1081, allocations: 1.182 MB / 366.6 MB, free: 5.047 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006244/0.1087, allocations: 279.5 kB / 366.9 MB, free: 4.766 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000472/0.1092, allocations: 217.3 kB / 367.1 MB, free: 4.551 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007281/0.11, allocations: 1.105 MB / 368.2 MB, free: 3.188 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.59e-05/0.11, allocations: 42.73 kB / 368.3 MB, free: 3.137 MB / 302.1 MB Notification: Performance of pre-optimization done (n=27): time 2.525e-06/0.11, allocations: 4 kB / 368.3 MB, free: 3.133 MB / 302.1 MB Notification: Performance of matching and sorting (n=27): time 0.001294/0.1113, allocations: 0.5267 MB / 368.8 MB, free: 2.582 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.266e-05/0.1113, allocations: 81.11 kB / 368.9 MB, free: 2.484 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003401/0.1117, allocations: 345.5 kB / 369.2 MB, free: 2.141 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.682e-05/0.1117, allocations: 33.7 kB / 369.3 MB, free: 2.102 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001297/0.1119, allocations: 212.1 kB / 369.5 MB, free: 1.891 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.668e-05/0.1119, allocations: 98.55 kB / 369.6 MB, free: 1.793 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001032/0.112, allocations: 74.06 kB / 369.6 MB, free: 1.711 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001257/0.1122, allocations: 346.7 kB / 370 MB, free: 1.363 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002161/0.1124, allocations: 108.7 kB / 370.1 MB, free: 1.258 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002594/0.1127, allocations: 182 kB / 370.3 MB, free: 1.051 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004736/0.1132, allocations: 299.3 kB / 370.6 MB, free: 0.7305 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.1132, allocations: 0 / 370.6 MB, free: 0.7305 MB / 302.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007664/0.1139, allocations: 430 kB / 371 MB, free: 308 kB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.114, allocations: 4 kB / 371 MB, free: 304 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.114, allocations: 4 kB / 371 MB, free: 300 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002422/0.1142, allocations: 64.81 kB / 371 MB, free: 232 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003209/0.1146, allocations: 75.89 kB / 371.1 MB, free: 156 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1579/0.2725, allocations: 1.753 MB / 372.9 MB, free: 18.91 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003875/0.2729, allocations: 46.09 kB / 372.9 MB, free: 18.91 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.571e-05/0.273, allocations: 11.03 kB / 372.9 MB, free: 18.91 MB / 302.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.0002217/0.2732, allocations: 162.9 kB / 373.1 MB, free: 18.8 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.102e-05/0.2733, allocations: 35.03 kB / 373.1 MB, free: 18.8 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008526/0.2742, allocations: 333.1 kB / 373.4 MB, free: 18.74 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.042e-06/0.2742, allocations: 3.438 kB / 373.4 MB, free: 18.74 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.2742, allocations: 2.688 kB / 373.4 MB, free: 18.74 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.112e-06/0.2742, allocations: 3.469 kB / 373.5 MB, free: 18.74 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005399/0.2748, allocations: 390.2 kB / 373.8 MB, free: 18.55 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.2748, allocations: 0 / 373.8 MB, free: 18.55 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003765/0.2752, allocations: 61.81 kB / 373.9 MB, free: 18.55 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002493/0.2754, allocations: 62.77 kB / 374 MB, free: 18.54 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.514e-05/0.2755, allocations: 7.562 kB / 374 MB, free: 18.54 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003552/0.2758, allocations: 0.607 MB / 374.6 MB, free: 18.03 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/0.2758, allocations: 1.281 kB / 374.6 MB, free: 18.03 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001026/0.2769, allocations: 0.5152 MB / 375.1 MB, free: 17.86 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.751e-05/0.277, allocations: 119.6 kB / 375.2 MB, free: 17.74 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.167e-05/0.277, allocations: 7.734 kB / 375.2 MB, free: 17.74 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002937/0.2773, allocations: 19.7 kB / 375.2 MB, free: 17.73 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.325e-05/0.2774, allocations: 19 kB / 375.2 MB, free: 17.73 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.452e-05/0.2775, allocations: 11.62 kB / 375.3 MB, free: 17.73 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003027/0.2778, allocations: 236.9 kB / 375.5 MB, free: 17.6 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.423e-06/0.2778, allocations: 3.688 kB / 375.5 MB, free: 17.6 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005752/0.2784, allocations: 124.5 kB / 375.6 MB, free: 17.57 MB / 302.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.0002581/0.2786, allocations: 121.2 kB / 375.7 MB, free: 17.47 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00101/0.2796, allocations: 418.6 kB / 376.1 MB, free: 17.27 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.2797, allocations: 0 / 376.1 MB, free: 17.27 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004011/0.2801, allocations: 140 kB / 376.3 MB, free: 17.23 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004923/0.2806, allocations: 44.61 kB / 376.3 MB, free: 17.21 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001584/0.2822, allocations: 1.015 MB / 377.3 MB, free: 16.54 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002813/0.2825, allocations: 0.7956 MB / 378.1 MB, free: 15.84 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001052/0.2826, allocations: 32.89 kB / 378.2 MB, free: 15.82 MB / 302.1 MB Notification: Performance of SimCode: time 3.3e-07/0.2826, allocations: 3.938 kB / 378.2 MB, free: 15.82 MB / 302.1 MB Notification: Performance of Templates: time 0.01116/0.2938, allocations: 5.423 MB / 383.6 MB, free: 15.07 MB / 302.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