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.001396/0.001402, allocations: 119.9 kB / 18.42 MB, free: 4.555 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00143/0.001431, allocations: 207.5 kB / 19.36 MB, free: 3.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.413/1.413, allocations: 227.4 MB / 247.5 MB, free: 10.35 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001194/0.001194, allocations: 62.22 kB / 308.4 MB, free: 15.88 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09982/0.101, allocations: 50.53 MB / 358.9 MB, free: 13.33 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed): time 0.004395/0.1055, allocations: 3.239 MB / 362.1 MB, free: 10.07 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001579/0.1071, allocations: 1.017 MB / 363.2 MB, free: 9.051 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001407/0.1072, allocations: 11.94 kB / 363.2 MB, free: 9.039 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001705/0.1074, allocations: 59.42 kB / 363.2 MB, free: 8.98 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003418/0.1078, allocations: 126.2 kB / 363.4 MB, free: 8.859 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000347/0.1081, allocations: 163.6 kB / 363.5 MB, free: 8.699 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004589/0.1086, allocations: 477.9 kB / 364 MB, free: 8.23 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002537/0.1089, allocations: 139.1 kB / 364.1 MB, free: 8.09 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002677/0.1091, allocations: 191.3 kB / 364.3 MB, free: 7.902 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002538/0.1094, allocations: 207.1 kB / 364.5 MB, free: 7.699 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.816e-05/0.1095, allocations: 40 kB / 364.5 MB, free: 7.66 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000158/0.1096, allocations: 83.91 kB / 364.6 MB, free: 7.578 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.712e-05/0.1097, allocations: 95.66 kB / 364.7 MB, free: 7.484 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001854/0.1099, allocations: 211 kB / 364.9 MB, free: 7.277 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004931/0.1104, allocations: 0.4983 MB / 365.4 MB, free: 6.777 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.1104, allocations: 0 / 365.4 MB, free: 6.777 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1104, allocations: 3.938 kB / 365.4 MB, free: 6.773 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.334e-06/0.1104, allocations: 0 / 365.4 MB, free: 6.773 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.001296/0.1118, allocations: 0.7364 MB / 366.2 MB, free: 5.984 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/0.1118, allocations: 12.03 kB / 366.2 MB, free: 5.973 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001885/0.112, allocations: 56.39 kB / 366.2 MB, free: 5.918 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004332/0.1124, allocations: 323.3 kB / 366.5 MB, free: 5.566 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.142e-05/0.1125, allocations: 25.03 kB / 366.6 MB, free: 5.543 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.259e-05/0.1125, allocations: 40.22 kB / 366.6 MB, free: 5.504 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005948/0.1131, allocations: 349.3 kB / 367 MB, free: 5.156 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.1132, allocations: 0 / 367 MB, free: 5.156 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.368e-05/0.1132, allocations: 16 kB / 367 MB, free: 5.141 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.919e-06/0.1132, allocations: 8 kB / 367 MB, free: 5.133 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004775/0.1137, allocations: 234.5 kB / 367.2 MB, free: 4.902 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001802/0.1155, allocations: 1.17 MB / 368.4 MB, free: 3.648 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006329/0.1162, allocations: 285.2 kB / 368.7 MB, free: 3.363 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004585/0.1166, allocations: 220.2 kB / 368.9 MB, free: 3.148 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007437/0.1174, allocations: 1.109 MB / 370 MB, free: 1.781 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.793e-05/0.1174, allocations: 42.78 kB / 370 MB, free: 1.73 MB / 302.1 MB Notification: Performance of pre-optimization done (n=27): time 1.903e-06/0.1174, allocations: 0 / 370 MB, free: 1.73 MB / 302.1 MB Notification: Performance of matching and sorting (n=27): time 0.001271/0.1187, allocations: 0.5256 MB / 370.5 MB, free: 1.18 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.122e-05/0.1188, allocations: 77.11 kB / 370.6 MB, free: 1.086 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003285/0.1191, allocations: 345.5 kB / 371 MB, free: 0.7383 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.008e-05/0.1191, allocations: 37.7 kB / 371 MB, free: 0.6953 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001368/0.1193, allocations: 212.1 kB / 371.2 MB, free: 496 kB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.86e-05/0.1194, allocations: 102.5 kB / 371.3 MB, free: 392 kB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001005/0.1195, allocations: 66.08 kB / 371.4 MB, free: 316 kB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.1723/0.2917, allocations: 349.8 kB / 371.7 MB, free: 20.11 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003832/0.2922, allocations: 103 kB / 371.8 MB, free: 20.11 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003142/0.2925, allocations: 182.7 kB / 372 MB, free: 20.03 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005211/0.293, allocations: 288.1 kB / 372.3 MB, free: 19.96 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.64e-06/0.293, allocations: 1.219 kB / 372.3 MB, free: 19.96 MB / 302.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0009118/0.294, allocations: 438.6 kB / 372.7 MB, free: 19.9 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.287e-05/0.294, allocations: 6.391 kB / 372.7 MB, free: 19.9 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.294, allocations: 2.281 kB / 372.7 MB, free: 19.9 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003031/0.2943, allocations: 64.2 kB / 372.8 MB, free: 19.89 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003477/0.2947, allocations: 81.62 kB / 372.9 MB, free: 19.89 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001683/0.2964, allocations: 1.944 MB / 374.8 MB, free: 18.4 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002588/0.2966, allocations: 47.83 kB / 374.8 MB, free: 18.39 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.122e-05/0.2967, allocations: 11.47 kB / 374.9 MB, free: 18.39 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.0001768/0.2969, allocations: 159.5 kB / 375 MB, free: 18.27 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.985e-05/0.2969, allocations: 34.22 kB / 375 MB, free: 18.27 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006796/0.2976, allocations: 336.9 kB / 375.4 MB, free: 18.12 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.2976, allocations: 4.688 kB / 375.4 MB, free: 18.12 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.323e-06/0.2976, allocations: 1.094 kB / 375.4 MB, free: 18.12 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.2977, allocations: 1.453 kB / 375.4 MB, free: 18.12 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004307/0.2981, allocations: 391.5 kB / 375.8 MB, free: 17.86 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.2981, allocations: 0.75 kB / 375.8 MB, free: 17.86 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003315/0.2984, allocations: 57.56 kB / 375.8 MB, free: 17.86 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001847/0.2986, allocations: 67.53 kB / 375.9 MB, free: 17.83 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.34e-05/0.2987, allocations: 12.27 kB / 375.9 MB, free: 17.82 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003203/0.299, allocations: 0.604 MB / 376.5 MB, free: 17.27 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.299, allocations: 0 / 376.5 MB, free: 17.27 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008226/0.2998, allocations: 0.5235 MB / 377 MB, free: 16.97 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.527e-05/0.2999, allocations: 107 kB / 377.1 MB, free: 16.86 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.53e-05/0.3, allocations: 7.406 kB / 377.1 MB, free: 16.86 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002671/0.3002, allocations: 21.66 kB / 377.2 MB, free: 16.86 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.332e-05/0.3003, allocations: 24.62 kB / 377.2 MB, free: 16.85 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.277e-05/0.3003, allocations: 11.23 kB / 377.2 MB, free: 16.85 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002247/0.3006, allocations: 240.8 kB / 377.4 MB, free: 16.71 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3006, allocations: 1.25 kB / 377.4 MB, free: 16.71 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004139/0.301, allocations: 112.1 kB / 377.5 MB, free: 16.7 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.0001617/0.3011, allocations: 129.8 kB / 377.7 MB, free: 16.59 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007186/0.3019, allocations: 421.5 kB / 378.1 MB, free: 16.38 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3019, allocations: 1.375 kB / 378.1 MB, free: 16.38 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003068/0.3022, allocations: 138.8 kB / 378.2 MB, free: 16.35 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003426/0.3026, allocations: 35.66 kB / 378.2 MB, free: 16.33 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001129/0.3037, allocations: 0.8666 MB / 379.1 MB, free: 15.82 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002166/0.3039, allocations: 0.7902 MB / 379.9 MB, free: 15.12 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001393/0.3041, allocations: 39.38 kB / 379.9 MB, free: 15.11 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.078e-05/0.3041, allocations: 27.77 kB / 380 MB, free: 15.11 MB / 302.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3042, allocations: 0 / 380 MB, free: 15.11 MB / 302.1 MB Notification: Performance of Templates: time 0.008096/0.3123, allocations: 3.95 MB / 383.9 MB, free: 14.84 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 -s gbode -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