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.0009485/0.0009486, allocations: 94.39 kB / 18 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001184/0.001184, allocations: 200.7 kB / 18.93 MB, free: 4.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.32/1.32, allocations: 227.7 MB / 247.5 MB, free: 9.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002098/0.0002098, allocations: 4 kB / 308.4 MB, free: 0.582 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08362/0.08384, allocations: 51.53 MB / 359.9 MB, free: 13.06 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed): time 0.003288/0.08717, allocations: 2.895 MB / 362.8 MB, free: 10.15 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001835/0.08904, allocations: 1.009 MB / 363.8 MB, free: 9.133 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002759/0.08935, allocations: 4 kB / 363.8 MB, free: 9.129 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000193/0.08955, allocations: 47.66 kB / 363.9 MB, free: 9.082 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004773/0.09004, allocations: 115.1 kB / 364 MB, free: 8.969 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003855/0.09044, allocations: 127.7 kB / 364.1 MB, free: 8.844 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006101/0.09106, allocations: 469.9 kB / 364.6 MB, free: 8.383 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003223/0.09139, allocations: 107.8 kB / 364.7 MB, free: 8.27 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000396/0.09179, allocations: 171.3 kB / 364.8 MB, free: 8.102 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002773/0.09208, allocations: 187 kB / 365 MB, free: 7.918 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.427e-05/0.09216, allocations: 24 kB / 365 MB, free: 7.895 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001577/0.09232, allocations: 59.97 kB / 365.1 MB, free: 7.836 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.451e-05/0.09239, allocations: 71.67 kB / 365.2 MB, free: 7.766 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001925/0.09259, allocations: 224.6 kB / 365.4 MB, free: 7.539 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003609/0.09296, allocations: 363.2 kB / 365.7 MB, free: 7.184 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.09298, allocations: 0 / 365.7 MB, free: 7.184 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.09299, allocations: 0 / 365.7 MB, free: 7.184 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.375e-05/0.093, allocations: 4 kB / 365.7 MB, free: 7.18 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.001244/0.09425, allocations: 0.6742 MB / 366.4 MB, free: 6.457 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.0943, allocations: 8.031 kB / 366.4 MB, free: 6.449 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002189/0.09453, allocations: 64.36 kB / 366.5 MB, free: 6.387 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003809/0.09492, allocations: 311.3 kB / 366.8 MB, free: 6.047 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.696e-05/0.09496, allocations: 28.97 kB / 366.8 MB, free: 6.02 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.422e-05/0.09503, allocations: 40.36 kB / 366.9 MB, free: 5.98 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006487/0.09569, allocations: 357.3 kB / 367.2 MB, free: 5.625 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.09571, allocations: 0 / 367.2 MB, free: 5.625 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.688e-05/0.09575, allocations: 15.98 kB / 367.2 MB, free: 5.609 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.318e-05/0.09577, allocations: 8 kB / 367.2 MB, free: 5.602 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005246/0.0963, allocations: 246.5 kB / 367.5 MB, free: 5.359 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002039/0.09835, allocations: 1.186 MB / 368.7 MB, free: 4.09 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006575/0.09903, allocations: 299.5 kB / 369 MB, free: 3.789 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004782/0.09952, allocations: 216.2 kB / 369.2 MB, free: 3.578 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000687/0.1002, allocations: 1.129 MB / 370.3 MB, free: 2.191 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.763e-05/0.1003, allocations: 34.8 kB / 370.3 MB, free: 2.148 MB / 302.1 MB Notification: Performance of pre-optimization done (n=27): time 2.174e-06/0.1003, allocations: 0 / 370.3 MB, free: 2.148 MB / 302.1 MB Notification: Performance of matching and sorting (n=27): time 0.001369/0.1016, allocations: 0.554 MB / 370.9 MB, free: 1.57 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.17e-05/0.1017, allocations: 77.11 kB / 371 MB, free: 1.477 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003509/0.1021, allocations: 345.6 kB / 371.3 MB, free: 1.133 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.502e-05/0.1021, allocations: 33.7 kB / 371.3 MB, free: 1.094 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001531/0.1023, allocations: 212.1 kB / 371.5 MB, free: 0.8828 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.51e-05/0.1023, allocations: 106.5 kB / 371.6 MB, free: 0.7773 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.354e-05/0.1024, allocations: 33.7 kB / 371.7 MB, free: 0.7383 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001241/0.1025, allocations: 350.7 kB / 372 MB, free: 396 kB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002405/0.1028, allocations: 116.7 kB / 372.1 MB, free: 276 kB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002745/0.1031, allocations: 178 kB / 372.3 MB, free: 68 kB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1602/0.2633, allocations: 298.6 kB / 372.6 MB, free: 18.95 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-05/0.2633, allocations: 8.641 kB / 372.6 MB, free: 18.95 MB / 302.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001091/0.2644, allocations: 448.6 kB / 373 MB, free: 18.9 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.305e-05/0.2645, allocations: 6.547 kB / 373 MB, free: 18.9 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/0.2645, allocations: 6.312 kB / 373.1 MB, free: 18.9 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002968/0.2648, allocations: 65.86 kB / 373.1 MB, free: 18.89 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003671/0.2652, allocations: 80.64 kB / 373.2 MB, free: 18.89 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001701/0.2669, allocations: 1.749 MB / 374.9 MB, free: 17.57 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003213/0.2672, allocations: 46.03 kB / 375 MB, free: 17.57 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.961e-05/0.2673, allocations: 17.39 kB / 375 MB, free: 17.57 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.0002081/0.2675, allocations: 159.5 kB / 375.2 MB, free: 17.44 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.458e-05/0.2676, allocations: 36.44 kB / 375.2 MB, free: 17.43 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00088/0.2685, allocations: 343.2 kB / 375.5 MB, free: 17.38 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-06/0.2685, allocations: 6.047 kB / 375.5 MB, free: 17.38 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.2685, allocations: 0.7031 kB / 375.5 MB, free: 17.38 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/0.2685, allocations: 5.75 kB / 375.5 MB, free: 17.37 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000576/0.2691, allocations: 394.6 kB / 375.9 MB, free: 17.18 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.2691, allocations: 0 / 375.9 MB, free: 17.18 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003494/0.2695, allocations: 57.91 kB / 376 MB, free: 17.18 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002162/0.2697, allocations: 62.38 kB / 376 MB, free: 17.17 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.515e-05/0.2697, allocations: 15.36 kB / 376.1 MB, free: 17.17 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003318/0.2701, allocations: 0.6089 MB / 376.7 MB, free: 16.64 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.2701, allocations: 0 / 376.7 MB, free: 16.64 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009823/0.2711, allocations: 0.5404 MB / 377.2 MB, free: 16.47 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.458e-05/0.2712, allocations: 112.7 kB / 377.3 MB, free: 16.36 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.585e-05/0.2713, allocations: 7.219 kB / 377.3 MB, free: 16.36 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002832/0.2715, allocations: 31.84 kB / 377.4 MB, free: 16.36 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.156e-05/0.2716, allocations: 14.25 kB / 377.4 MB, free: 16.36 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.335e-05/0.2716, allocations: 11.56 kB / 377.4 MB, free: 16.36 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002947/0.2719, allocations: 238.8 kB / 377.6 MB, free: 16.28 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.272, allocations: 0 / 377.6 MB, free: 16.28 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005228/0.2725, allocations: 111.1 kB / 377.7 MB, free: 16.27 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.0002099/0.2727, allocations: 138.8 kB / 377.9 MB, free: 16.18 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008697/0.2736, allocations: 432.3 kB / 378.3 MB, free: 15.97 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/0.2736, allocations: 1.375 kB / 378.3 MB, free: 15.97 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003752/0.274, allocations: 154 kB / 378.4 MB, free: 15.93 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004529/0.2744, allocations: 43.3 kB / 378.5 MB, free: 15.9 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001566/0.276, allocations: 1.113 MB / 379.6 MB, free: 15.17 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002816/0.2763, allocations: 0.7903 MB / 380.4 MB, free: 14.47 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001043/0.2764, allocations: 28.67 kB / 380.4 MB, free: 14.46 MB / 302.1 MB Notification: Performance of SimCode: time 7.01e-07/0.2764, allocations: 1 kB / 380.4 MB, free: 14.46 MB / 302.1 MB Notification: Performance of Templates: time 0.0113/0.2877, allocations: 5.396 MB / 385.8 MB, free: 13.56 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