Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001469/0.001468, allocations: 112.5 kB / 17.7 MB, free: 5.426 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001693/0.001693, allocations: 183 kB / 18.62 MB, free: 4.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.355/1.355, allocations: 222.9 MB / 242.3 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009666/0.0009667, allocations: 46.81 kB / 302.1 MB, free: 5.164 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08825/0.08923, allocations: 49.45 MB / 351.5 MB, free: 3.699 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed): time 0.004134/0.09341, allocations: 3.214 MB / 354.7 MB, free: 472 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001534/0.09496, allocations: 0.9663 MB / 355.7 MB, free: 15.49 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001419/0.09512, allocations: 4 kB / 355.7 MB, free: 15.48 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001673/0.0953, allocations: 59.42 kB / 355.7 MB, free: 15.43 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003407/0.09566, allocations: 130.9 kB / 355.9 MB, free: 15.3 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003146/0.09599, allocations: 143.7 kB / 356 MB, free: 15.16 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004284/0.09643, allocations: 489.8 kB / 356.5 MB, free: 14.68 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002417/0.09668, allocations: 139.1 kB / 356.6 MB, free: 14.54 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002089/0.0969, allocations: 183.3 kB / 356.8 MB, free: 14.36 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002412/0.09715, allocations: 207.1 kB / 357 MB, free: 14.16 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.002e-05/0.09722, allocations: 40 kB / 357.1 MB, free: 14.12 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001498/0.09737, allocations: 79.97 kB / 357.1 MB, free: 14.04 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.453e-05/0.09746, allocations: 91.62 kB / 357.2 MB, free: 13.95 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001849/0.09765, allocations: 215 kB / 357.4 MB, free: 13.74 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004689/0.09813, allocations: 0.4905 MB / 357.9 MB, free: 13.25 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.89e-06/0.09814, allocations: 0 / 357.9 MB, free: 13.25 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.09815, allocations: 0 / 357.9 MB, free: 13.25 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.709e-06/0.09816, allocations: 0 / 357.9 MB, free: 13.25 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.001298/0.09947, allocations: 0.7402 MB / 358.7 MB, free: 12.45 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.09951, allocations: 15.97 kB / 358.7 MB, free: 12.44 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.726e-05/0.09961, allocations: 44.47 kB / 358.7 MB, free: 12.39 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004258/0.1, allocations: 307.3 kB / 359 MB, free: 12.05 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.739e-05/0.1001, allocations: 32.97 kB / 359.1 MB, free: 12.02 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.799e-05/0.1001, allocations: 32.38 kB / 359.1 MB, free: 11.99 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006302/0.1008, allocations: 349.3 kB / 359.4 MB, free: 11.64 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.1008, allocations: 3.984 kB / 359.4 MB, free: 11.64 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.315e-05/0.1008, allocations: 12 kB / 359.4 MB, free: 11.62 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.07e-05/0.1009, allocations: 12 kB / 359.5 MB, free: 11.61 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004798/0.1014, allocations: 234.5 kB / 359.7 MB, free: 11.38 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0018/0.1032, allocations: 1.155 MB / 360.8 MB, free: 10.15 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006398/0.1038, allocations: 283.5 kB / 361.1 MB, free: 9.863 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004677/0.1043, allocations: 209.2 kB / 361.3 MB, free: 9.656 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007533/0.1051, allocations: 1.125 MB / 362.4 MB, free: 8.273 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.826e-05/0.1051, allocations: 30.8 kB / 362.5 MB, free: 8.234 MB / 302.1 MB Notification: Performance of pre-optimization done (n=27): time 2.274e-06/0.1051, allocations: 0 / 362.5 MB, free: 8.234 MB / 302.1 MB Notification: Performance of matching and sorting (n=27): time 0.001327/0.1065, allocations: 0.5273 MB / 363 MB, free: 7.684 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.59e-05/0.1065, allocations: 85.09 kB / 363.1 MB, free: 7.582 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003424/0.1069, allocations: 328.5 kB / 363.4 MB, free: 7.25 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.086e-05/0.1069, allocations: 33.7 kB / 363.4 MB, free: 7.211 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001375/0.1071, allocations: 212.2 kB / 363.6 MB, free: 6.996 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.957e-05/0.1071, allocations: 106.5 kB / 363.7 MB, free: 6.891 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001287/0.1073, allocations: 73.98 kB / 363.8 MB, free: 6.809 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001161/0.1074, allocations: 350.7 kB / 364.2 MB, free: 6.457 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002234/0.1076, allocations: 104.7 kB / 364.3 MB, free: 6.355 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002594/0.1079, allocations: 189.7 kB / 364.4 MB, free: 6.141 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004779/0.1084, allocations: 288 kB / 364.7 MB, free: 5.832 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.1084, allocations: 0 / 364.7 MB, free: 5.832 MB / 302.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.000781/0.1092, allocations: 429.1 kB / 365.1 MB, free: 5.402 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.1092, allocations: 4 kB / 365.2 MB, free: 5.398 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/0.1092, allocations: 7.984 kB / 365.2 MB, free: 5.391 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002454/0.1095, allocations: 64.95 kB / 365.2 MB, free: 5.324 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003269/0.1098, allocations: 79.89 kB / 365.3 MB, free: 5.246 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001736/0.1116, allocations: 1.947 MB / 367.2 MB, free: 3.164 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002578/0.1118, allocations: 47.62 kB / 367.3 MB, free: 3.117 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.781e-05/0.1119, allocations: 20 kB / 367.3 MB, free: 3.098 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.0001498/0.112, allocations: 157.7 kB / 367.5 MB, free: 2.934 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.455e-05/0.1121, allocations: 35.53 kB / 367.5 MB, free: 2.898 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006925/0.1128, allocations: 330.5 kB / 367.8 MB, free: 2.566 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.1128, allocations: 4 kB / 367.8 MB, free: 2.562 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.1128, allocations: 7.938 kB / 367.8 MB, free: 2.555 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.1128, allocations: 3.984 kB / 367.8 MB, free: 2.551 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004248/0.1133, allocations: 393.2 kB / 368.2 MB, free: 2.117 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.1133, allocations: 0 / 368.2 MB, free: 2.117 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003403/0.1136, allocations: 59.89 kB / 368.3 MB, free: 2.059 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001836/0.1138, allocations: 60.81 kB / 368.3 MB, free: 1.996 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.274e-05/0.1139, allocations: 8 kB / 368.4 MB, free: 1.988 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003925/0.1143, allocations: 0.6109 MB / 369 MB, free: 1.352 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1143, allocations: 0 / 369 MB, free: 1.352 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008589/0.1151, allocations: 0.5159 MB / 369.5 MB, free: 0.8125 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.547e-05/0.1152, allocations: 116.7 kB / 369.6 MB, free: 0.6797 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.786e-05/0.1153, allocations: 4 kB / 369.6 MB, free: 0.6758 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002693/0.1156, allocations: 19.98 kB / 369.6 MB, free: 0.6562 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.036e-05/0.1156, allocations: 19.97 kB / 369.6 MB, free: 0.6367 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.415e-05/0.1157, allocations: 8 kB / 369.6 MB, free: 0.6289 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002242/0.1159, allocations: 250.9 kB / 369.9 MB, free: 392 kB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1159, allocations: 0 / 369.9 MB, free: 392 kB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004363/0.1163, allocations: 103.8 kB / 370 MB, free: 288 kB / 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.0001821/0.1165, allocations: 127.1 kB / 370.1 MB, free: 148 kB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.1437/0.2602, allocations: 413.1 kB / 370.5 MB, free: 25.71 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/0.2603, allocations: 0.7812 kB / 370.5 MB, free: 25.71 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004304/0.2607, allocations: 150.5 kB / 370.7 MB, free: 25.71 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000452/0.2612, allocations: 37.16 kB / 370.7 MB, free: 25.7 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001363/0.2626, allocations: 0.856 MB / 371.6 MB, free: 25.32 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002534/0.2628, allocations: 0.7911 MB / 372.3 MB, free: 24.62 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001492/0.263, allocations: 39.38 kB / 372.4 MB, free: 24.61 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.975e-05/0.2631, allocations: 26.78 kB / 372.4 MB, free: 24.61 MB / 302.1 MB Notification: Performance of SimCode: time 1.363e-06/0.2631, allocations: 4 kB / 372.4 MB, free: 24.61 MB / 302.1 MB Notification: Performance of Templates: time 0.009177/0.2723, allocations: 3.944 MB / 376.4 MB, free: 24.39 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches