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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001197/0.001197, allocations: 186.5 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.629/1.629, allocations: 222.9 MB / 240.9 MB, free: 11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001139/0.001139, allocations: 114.7 kB / 291.2 MB, free: 10.95 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007666/0.0007666, allocations: 39.94 kB / 350 MB, free: 84 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2296/0.2304, allocations: 49.43 MB / 399.5 MB, free: 33.39 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed): time 0.003404/0.2339, allocations: 3.26 MB / 402.7 MB, free: 30.12 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001252/0.2351, allocations: 0.9527 MB / 403.7 MB, free: 29.17 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000141/0.2353, allocations: 4 kB / 403.7 MB, free: 29.16 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001592/0.2355, allocations: 47.59 kB / 403.7 MB, free: 29.12 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002825/0.2358, allocations: 112.1 kB / 403.8 MB, free: 29.01 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002085/0.236, allocations: 123.7 kB / 404 MB, free: 28.89 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002783/0.2363, allocations: 465.9 kB / 404.4 MB, free: 28.43 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001749/0.2365, allocations: 115.8 kB / 404.5 MB, free: 28.31 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001489/0.2366, allocations: 171.3 kB / 404.7 MB, free: 28.14 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001675/0.2368, allocations: 199.1 kB / 404.9 MB, free: 27.95 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.333e-05/0.2368, allocations: 28 kB / 404.9 MB, free: 27.92 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001186/0.237, allocations: 55.97 kB / 405 MB, free: 27.87 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.148e-05/0.237, allocations: 79.67 kB / 405.1 MB, free: 27.79 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001245/0.2372, allocations: 206.9 kB / 405.3 MB, free: 27.59 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003126/0.2375, allocations: 487.8 kB / 405.7 MB, free: 27.11 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.2375, allocations: 0 / 405.7 MB, free: 27.11 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.2375, allocations: 4 kB / 405.7 MB, free: 27.11 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.133e-06/0.2375, allocations: 0 / 405.7 MB, free: 27.11 MB / 298.7 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.001073/0.2386, allocations: 0.7326 MB / 406.5 MB, free: 26.32 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.513e-05/0.2386, allocations: 8.031 kB / 406.5 MB, free: 26.32 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.38e-05/0.2387, allocations: 52.38 kB / 406.5 MB, free: 26.27 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002603/0.239, allocations: 303.4 kB / 406.8 MB, free: 25.93 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.931e-05/0.239, allocations: 25.03 kB / 406.8 MB, free: 25.91 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.761e-05/0.2391, allocations: 32.38 kB / 406.9 MB, free: 25.88 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004961/0.2396, allocations: 357.3 kB / 407.2 MB, free: 25.52 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.2396, allocations: 0 / 407.2 MB, free: 25.52 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.785e-05/0.2396, allocations: 12 kB / 407.2 MB, free: 25.5 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.525e-06/0.2396, allocations: 8 kB / 407.2 MB, free: 25.5 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004031/0.24, allocations: 238.5 kB / 407.5 MB, free: 25.26 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001439/0.2415, allocations: 1.17 MB / 408.6 MB, free: 24.01 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005447/0.242, allocations: 287.5 kB / 408.9 MB, free: 23.72 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004259/0.2425, allocations: 211.6 kB / 409.1 MB, free: 23.52 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004555/0.2429, allocations: 1.113 MB / 410.2 MB, free: 22.14 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.766e-05/0.243, allocations: 34.8 kB / 410.3 MB, free: 22.1 MB / 298.7 MB Notification: Performance of pre-optimization done (n=27): time 1.423e-06/0.243, allocations: 0 / 410.3 MB, free: 22.1 MB / 298.7 MB Notification: Performance of matching and sorting (n=27): time 0.001172/0.2442, allocations: 0.5294 MB / 410.8 MB, free: 21.55 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.561e-05/0.2442, allocations: 81.11 kB / 410.9 MB, free: 21.45 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002557/0.2445, allocations: 332.5 kB / 411.2 MB, free: 21.12 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.064e-05/0.2445, allocations: 33.7 kB / 411.2 MB, free: 21.08 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.923e-05/0.2446, allocations: 208.2 kB / 411.5 MB, free: 20.87 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.674e-05/0.2446, allocations: 102.5 kB / 411.6 MB, free: 20.77 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.009e-05/0.2447, allocations: 73.97 kB / 411.6 MB, free: 20.68 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.968e-05/0.2448, allocations: 346.8 kB / 412 MB, free: 20.34 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001934/0.245, allocations: 104.7 kB / 412.1 MB, free: 20.23 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002129/0.2452, allocations: 189.7 kB / 412.3 MB, free: 20.02 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003982/0.2456, allocations: 288.6 kB / 412.5 MB, free: 19.71 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.2456, allocations: 0 / 412.5 MB, free: 19.71 MB / 298.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006775/0.2463, allocations: 429.5 kB / 413 MB, free: 19.28 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.2464, allocations: 8 kB / 413 MB, free: 19.27 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.2464, allocations: 4 kB / 413 MB, free: 19.27 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002618/0.2466, allocations: 68.75 kB / 413 MB, free: 19.2 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002953/0.2469, allocations: 83.83 kB / 413.1 MB, free: 19.12 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001398/0.2484, allocations: 1.76 MB / 414.9 MB, free: 17.23 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002427/0.2486, allocations: 47.67 kB / 414.9 MB, free: 17.18 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.209e-05/0.2486, allocations: 12 kB / 414.9 MB, free: 17.17 MB / 298.7 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.000131/0.2488, allocations: 149.7 kB / 415.1 MB, free: 17.01 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.652e-05/0.2488, allocations: 35.56 kB / 415.1 MB, free: 16.98 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000596/0.2494, allocations: 350.4 kB / 415.5 MB, free: 16.62 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.2495, allocations: 4 kB / 415.5 MB, free: 16.62 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.162e-06/0.2495, allocations: 0 / 415.5 MB, free: 16.62 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.2495, allocations: 3.984 kB / 415.5 MB, free: 16.62 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003214/0.2498, allocations: 401.2 kB / 415.9 MB, free: 16.18 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.2498, allocations: 0 / 415.9 MB, free: 16.18 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003009/0.2501, allocations: 55.89 kB / 415.9 MB, free: 16.12 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001936/0.2503, allocations: 64.81 kB / 416 MB, free: 16.05 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.37e-05/0.2504, allocations: 8 kB / 416 MB, free: 16.05 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002908/0.2507, allocations: 0.5992 MB / 416.6 MB, free: 15.42 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.2507, allocations: 0 / 416.6 MB, free: 15.42 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005945/0.2566, allocations: 5.323 MB / 421.9 MB, free: 9.762 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.633e-05/0.2567, allocations: 120.5 kB / 422 MB, free: 9.625 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.132e-05/0.2567, allocations: 8 kB / 422 MB, free: 9.617 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002426/0.257, allocations: 24.05 kB / 422.1 MB, free: 9.594 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.444e-05/0.2571, allocations: 15.91 kB / 422.1 MB, free: 9.578 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.877e-05/0.2571, allocations: 12 kB / 422.1 MB, free: 9.566 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001715/0.2573, allocations: 235 kB / 422.3 MB, free: 9.34 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2573, allocations: 0 / 422.3 MB, free: 9.34 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006005/0.2579, allocations: 179.8 kB / 422.5 MB, free: 9.164 MB / 298.7 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.0002198/0.2581, allocations: 167.2 kB / 422.6 MB, free: 8.992 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007129/0.2588, allocations: 422.7 kB / 423.1 MB, free: 8.566 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.2588, allocations: 0 / 423.1 MB, free: 8.566 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002961/0.2591, allocations: 144.2 kB / 423.2 MB, free: 8.426 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004065/0.2596, allocations: 48.61 kB / 423.2 MB, free: 8.379 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001335/0.2609, allocations: 1.363 MB / 424.6 MB, free: 6.961 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001687/0.2611, allocations: 0.796 MB / 425.4 MB, free: 6.141 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001664/0.2613, allocations: 50.95 kB / 425.5 MB, free: 6.09 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.101e-05/0.2613, allocations: 31.42 kB / 425.5 MB, free: 6.059 MB / 298.7 MB Notification: Performance of SimCode: time 2e-07/0.2613, allocations: 0 / 425.5 MB, free: 6.059 MB / 298.7 MB Notification: Performance of Templates: time 0.007587/0.2689, allocations: 5.21 MB / 430.7 MB, free: 0.9141 MB / 298.7 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/AmplifierWithOpAmpDetailed/AmplifierWithOpAmpDetailed.csv","../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches