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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001733/0.001733, allocations: 108.6 kB / 21.19 MB, free: 0.7578 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001934/0.001934, allocations: 191.9 kB / 24.47 MB, free: 4.152 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.433/1.433, allocations: 225.6 MB / 253.3 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] 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=2500,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=2500,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") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0015/0.0015, allocations: 39.94 kB / 371.7 MB, free: 9.352 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2213/0.2228, allocations: 52.19 MB / 423.9 MB, free: 14.66 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed): time 0.004581/0.2274, allocations: 3.266 MB / 427.2 MB, free: 11.38 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00175/0.2291, allocations: 0.9662 MB / 428.1 MB, free: 10.41 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001613/0.2293, allocations: 4 kB / 428.1 MB, free: 10.41 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001796/0.2295, allocations: 59.36 kB / 428.2 MB, free: 10.35 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003551/0.2298, allocations: 119 kB / 428.3 MB, free: 10.23 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003417/0.2302, allocations: 159.6 kB / 428.5 MB, free: 10.07 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000519/0.2307, allocations: 486 kB / 428.9 MB, free: 9.598 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002062/0.2309, allocations: 91.64 kB / 429 MB, free: 9.504 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002403/0.2311, allocations: 187.4 kB / 429.2 MB, free: 9.32 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002825/0.2314, allocations: 211.1 kB / 429.4 MB, free: 9.113 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.162e-05/0.2315, allocations: 40 kB / 429.4 MB, free: 9.074 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001518/0.2316, allocations: 75.97 kB / 429.5 MB, free: 9 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.038e-05/0.2317, allocations: 91.67 kB / 429.6 MB, free: 8.91 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002045/0.2319, allocations: 222.9 kB / 429.8 MB, free: 8.691 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006092/0.2325, allocations: 499.2 kB / 430.3 MB, free: 8.207 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.2326, allocations: 0 / 430.3 MB, free: 8.207 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.2326, allocations: 4 kB / 430.3 MB, free: 8.203 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.544e-06/0.2326, allocations: 0 / 430.3 MB, free: 8.203 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.001363/0.2339, allocations: 0.6763 MB / 431 MB, free: 7.496 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.376e-05/0.234, allocations: 8.031 kB / 431 MB, free: 7.488 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.278e-05/0.2341, allocations: 48.66 kB / 431 MB, free: 7.441 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004236/0.2345, allocations: 253.3 kB / 431.3 MB, free: 7.172 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.649e-05/0.2345, allocations: 25.03 kB / 431.3 MB, free: 7.145 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.838e-05/0.2346, allocations: 36.38 kB / 431.4 MB, free: 7.109 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006483/0.2352, allocations: 349.3 kB / 431.7 MB, free: 6.762 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.2352, allocations: 0 / 431.7 MB, free: 6.762 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.451e-05/0.2353, allocations: 19.94 kB / 431.7 MB, free: 6.742 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.066e-05/0.2353, allocations: 8 kB / 431.7 MB, free: 6.734 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005052/0.2358, allocations: 242.4 kB / 432 MB, free: 6.496 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001972/0.2378, allocations: 1.12 MB / 433.1 MB, free: 5.301 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00067/0.2384, allocations: 267 kB / 433.3 MB, free: 5.035 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005073/0.2389, allocations: 201.3 kB / 433.5 MB, free: 4.836 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003189/0.2392, allocations: 64.16 kB / 433.6 MB, free: 4.773 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.064e-05/0.2393, allocations: 38.8 kB / 433.6 MB, free: 4.727 MB / 334.1 MB Notification: Performance of pre-optimization done (n=27): time 1.352e-06/0.2393, allocations: 0 / 433.6 MB, free: 4.727 MB / 334.1 MB Notification: Performance of matching and sorting (n=27): time 0.001405/0.2407, allocations: 466.3 kB / 434.1 MB, free: 4.266 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.726e-05/0.2408, allocations: 81.11 kB / 434.2 MB, free: 4.168 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004353/0.2412, allocations: 336.5 kB / 434.5 MB, free: 3.832 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.749e-05/0.2412, allocations: 33.7 kB / 434.5 MB, free: 3.793 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000204/0.2414, allocations: 216.5 kB / 434.7 MB, free: 3.578 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001114/0.2416, allocations: 103.1 kB / 434.8 MB, free: 3.477 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001384/0.2417, allocations: 74.02 kB / 434.9 MB, free: 3.395 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002274/0.2419, allocations: 346.7 kB / 435.3 MB, free: 3.047 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002504/0.2422, allocations: 104.7 kB / 435.4 MB, free: 2.945 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003079/0.2425, allocations: 185.8 kB / 435.5 MB, free: 2.734 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005256/0.243, allocations: 296.3 kB / 435.8 MB, free: 2.418 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.243, allocations: 0 / 435.8 MB, free: 2.418 MB / 334.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008407/0.2438, allocations: 429.9 kB / 436.3 MB, free: 1.988 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.2439, allocations: 8 kB / 436.3 MB, free: 1.98 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/0.2439, allocations: 4 kB / 436.3 MB, free: 1.977 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002757/0.2441, allocations: 68.75 kB / 436.3 MB, free: 1.906 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003429/0.2445, allocations: 79.89 kB / 436.4 MB, free: 1.828 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002009/0.2465, allocations: 1.844 MB / 438.3 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002712/0.2468, allocations: 47.75 kB / 438.3 MB, free: 15.83 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.663e-05/0.2468, allocations: 15.94 kB / 438.3 MB, free: 15.81 MB / 350.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.0001816/0.247, allocations: 157.7 kB / 438.5 MB, free: 15.65 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.097e-05/0.247, allocations: 35.77 kB / 438.5 MB, free: 15.61 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000735/0.2478, allocations: 330.7 kB / 438.8 MB, free: 15.27 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/0.2478, allocations: 7.984 kB / 438.8 MB, free: 15.27 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.2478, allocations: 3.938 kB / 438.8 MB, free: 15.26 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.688e-06/0.2478, allocations: 0 / 438.8 MB, free: 15.26 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004781/0.2483, allocations: 364.4 kB / 439.2 MB, free: 14.86 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.2483, allocations: 0 / 439.2 MB, free: 14.86 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003543/0.2486, allocations: 55.95 kB / 439.2 MB, free: 14.81 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002057/0.2488, allocations: 68.8 kB / 439.3 MB, free: 14.74 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.517e-05/0.2489, allocations: 4 kB / 439.3 MB, free: 14.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004872/0.2493, allocations: 0.6108 MB / 439.9 MB, free: 14.1 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.2494, allocations: 0 / 439.9 MB, free: 14.1 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009708/0.2503, allocations: 0.5131 MB / 440.4 MB, free: 13.56 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.479e-05/0.2504, allocations: 39.69 kB / 440.5 MB, free: 13.52 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.122e-05/0.2504, allocations: 8 kB / 440.5 MB, free: 13.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002776/0.2507, allocations: 23.98 kB / 440.5 MB, free: 13.49 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.139e-05/0.2508, allocations: 15.97 kB / 440.5 MB, free: 13.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.206e-05/0.2508, allocations: 11.98 kB / 440.5 MB, free: 13.46 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002641/0.2511, allocations: 235.1 kB / 440.8 MB, free: 13.24 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2511, allocations: 0 / 440.8 MB, free: 13.24 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004564/0.2515, allocations: 103.8 kB / 440.9 MB, free: 13.14 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.0002093/0.2517, allocations: 150 kB / 441 MB, free: 12.98 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008698/0.2526, allocations: 402 kB / 441.4 MB, free: 12.57 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.2526, allocations: 4 kB / 441.4 MB, free: 12.57 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003642/0.253, allocations: 132.8 kB / 441.5 MB, free: 12.44 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003631/0.2533, allocations: 49.75 kB / 441.6 MB, free: 12.39 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001482/0.2548, allocations: 0.9037 MB / 442.5 MB, free: 11.46 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004283/0.2552, allocations: 0.795 MB / 443.3 MB, free: 10.63 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.377e-05/0.2553, allocations: 27.44 kB / 443.3 MB, free: 10.61 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.2553, allocations: 0 / 443.3 MB, free: 10.61 MB / 350.1 MB Notification: Performance of Templates: time 0.008557/0.2639, allocations: 5.447 MB / 448.8 MB, free: 5.168 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.makefile [Timeout 660] (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) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.544419404119253]