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.001405/0.001404, allocations: 113.7 kB / 18.45 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001642/0.001642, allocations: 206.7 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.71/1.71, allocations: 227.4 MB / 247.6 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001156/0.001156, allocations: 63.91 kB / 359.4 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2277/0.2289, allocations: 50.54 MB / 409.9 MB, free: 1.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed): time 0.004013/0.233, allocations: 3.241 MB / 413.2 MB, free: 14.32 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001649/0.2346, allocations: 1.013 MB / 414.2 MB, free: 13.3 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001494/0.2348, allocations: 7.938 kB / 414.2 MB, free: 13.29 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001795/0.235, allocations: 59.42 kB / 414.3 MB, free: 13.23 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003315/0.2353, allocations: 138.9 kB / 414.4 MB, free: 13.1 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003162/0.2357, allocations: 143.7 kB / 414.5 MB, free: 12.96 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004364/0.2361, allocations: 493.9 kB / 415 MB, free: 12.47 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002293/0.2363, allocations: 139.1 kB / 415.2 MB, free: 12.33 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002433/0.2366, allocations: 187.3 kB / 415.3 MB, free: 12.15 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002515/0.2369, allocations: 211.1 kB / 415.5 MB, free: 11.94 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.326e-05/0.2369, allocations: 43.94 kB / 415.6 MB, free: 11.9 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001603/0.2371, allocations: 71.97 kB / 415.7 MB, free: 11.83 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.946e-05/0.2372, allocations: 91.67 kB / 415.7 MB, free: 11.74 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000174/0.2374, allocations: 215 kB / 416 MB, free: 11.53 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004878/0.2379, allocations: 0.4994 MB / 416.5 MB, free: 11.03 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.2379, allocations: 7.938 kB / 416.5 MB, free: 11.02 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.2379, allocations: 4 kB / 416.5 MB, free: 11.02 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.414e-06/0.2379, allocations: 3.938 kB / 416.5 MB, free: 11.02 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.001268/0.2392, allocations: 0.7325 MB / 417.2 MB, free: 10.23 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.2392, allocations: 8.031 kB / 417.2 MB, free: 10.23 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001866/0.2394, allocations: 56.38 kB / 417.3 MB, free: 10.17 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003974/0.2398, allocations: 311.3 kB / 417.6 MB, free: 9.832 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.323e-05/0.2398, allocations: 25.03 kB / 417.6 MB, free: 9.809 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.122e-05/0.2399, allocations: 36.38 kB / 417.6 MB, free: 9.773 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006228/0.2406, allocations: 353.3 kB / 418 MB, free: 9.418 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.2406, allocations: 0 / 418 MB, free: 9.418 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.505e-05/0.2406, allocations: 12 kB / 418 MB, free: 9.406 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.081e-05/0.2406, allocations: 11.98 kB / 418 MB, free: 9.395 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004838/0.2411, allocations: 234.5 kB / 418.2 MB, free: 9.168 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001843/0.243, allocations: 1.17 MB / 419.4 MB, free: 7.914 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006463/0.2436, allocations: 279.5 kB / 419.7 MB, free: 7.633 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005162/0.2442, allocations: 216.6 kB / 419.9 MB, free: 7.422 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007587/0.2449, allocations: 1.117 MB / 421 MB, free: 6.047 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.374e-05/0.245, allocations: 34.8 kB / 421 MB, free: 6.004 MB / 334.1 MB Notification: Performance of pre-optimization done (n=27): time 1.773e-06/0.245, allocations: 0 / 421 MB, free: 6.004 MB / 334.1 MB Notification: Performance of matching and sorting (n=27): time 0.001339/0.2463, allocations: 0.5326 MB / 421.6 MB, free: 5.445 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.652e-05/0.2464, allocations: 85.11 kB / 421.7 MB, free: 5.344 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003402/0.2467, allocations: 337.7 kB / 422 MB, free: 5 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.931e-05/0.2468, allocations: 29.7 kB / 422 MB, free: 4.965 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001417/0.2469, allocations: 224.1 kB / 422.2 MB, free: 4.738 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.403e-05/0.247, allocations: 94.62 kB / 422.3 MB, free: 4.645 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001077/0.2471, allocations: 73.97 kB / 422.4 MB, free: 4.562 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001294/0.2473, allocations: 350.7 kB / 422.7 MB, free: 4.211 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002278/0.2475, allocations: 100.7 kB / 422.8 MB, free: 4.113 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002829/0.2478, allocations: 190 kB / 423 MB, free: 3.898 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004933/0.2483, allocations: 280.2 kB / 423.3 MB, free: 3.598 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.2483, allocations: 4 kB / 423.3 MB, free: 3.594 MB / 334.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007985/0.2491, allocations: 436.9 kB / 423.7 MB, free: 3.156 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.2491, allocations: 4 kB / 423.7 MB, free: 3.152 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.577e-06/0.2491, allocations: 4.25 kB / 423.7 MB, free: 3.148 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002454/0.2494, allocations: 68.81 kB / 423.8 MB, free: 3.078 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003431/0.2497, allocations: 79.83 kB / 423.9 MB, free: 3 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00182/0.2516, allocations: 1.955 MB / 425.8 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002658/0.2519, allocations: 31.69 kB / 425.9 MB, free: 0.875 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.68e-05/0.2519, allocations: 19.98 kB / 425.9 MB, free: 0.8555 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.0001657/0.2521, allocations: 153.7 kB / 426 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.856e-05/0.2521, allocations: 39.52 kB / 426.1 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007181/0.2529, allocations: 338.3 kB / 426.4 MB, free: 324 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.2529, allocations: 0 / 426.4 MB, free: 324 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.2529, allocations: 7.938 kB / 426.4 MB, free: 316 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.2529, allocations: 0 / 426.4 MB, free: 316 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004564/0.2534, allocations: 405.1 kB / 426.8 MB, free: 15.86 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.2534, allocations: 0 / 426.8 MB, free: 15.86 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000351/0.2537, allocations: 55.89 kB / 426.9 MB, free: 15.81 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001939/0.2539, allocations: 60.83 kB / 426.9 MB, free: 15.75 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.398e-05/0.254, allocations: 11.98 kB / 426.9 MB, free: 15.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003952/0.2544, allocations: 0.603 MB / 427.5 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.2544, allocations: 0 / 427.5 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009183/0.2553, allocations: 0.5288 MB / 428.1 MB, free: 14.56 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.099e-05/0.2554, allocations: 104.7 kB / 428.2 MB, free: 14.44 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.106e-05/0.2554, allocations: 4 kB / 428.2 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002836/0.2557, allocations: 27.97 kB / 428.2 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.654e-05/0.2558, allocations: 19.98 kB / 428.2 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.111e-05/0.2558, allocations: 11.98 kB / 428.2 MB, free: 14.38 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002377/0.2561, allocations: 239.2 kB / 428.5 MB, free: 14.14 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.2561, allocations: 0 / 428.5 MB, free: 14.14 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004492/0.2565, allocations: 116 kB / 428.6 MB, free: 14.03 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.0002129/0.2568, allocations: 119.2 kB / 428.7 MB, free: 13.91 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008367/0.2576, allocations: 426.2 kB / 429.1 MB, free: 13.48 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.2576, allocations: 0 / 429.1 MB, free: 13.48 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003657/0.258, allocations: 143.8 kB / 429.2 MB, free: 13.34 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003659/0.2584, allocations: 46.17 kB / 429.3 MB, free: 13.29 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001314/0.2597, allocations: 0.8909 MB / 430.2 MB, free: 12.36 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000335/0.26, allocations: 0.7912 MB / 431 MB, free: 11.54 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.229e-05/0.2601, allocations: 27.44 kB / 431 MB, free: 11.52 MB / 350.1 MB Notification: Performance of SimCode: time 2.8e-07/0.2601, allocations: 0 / 431 MB, free: 11.52 MB / 350.1 MB Notification: Performance of Templates: time 0.007431/0.2676, allocations: 5.46 MB / 436.5 MB, free: 6.066 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