Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001327/0.001327, allocations: 112.5 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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001485/0.001485, allocations: 209.8 kB / 24.5 MB, free: 4.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.396/1.396, allocations: 230.6 MB / 258.3 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001488/0.001488, allocations: 51.94 kB / 379 MB, free: 2.617 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2124/0.2139, allocations: 53.36 MB / 432.4 MB, free: 6.918 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed): time 0.004326/0.2183, allocations: 3.265 MB / 435.7 MB, free: 3.641 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00161/0.2199, allocations: 1.036 MB / 436.7 MB, free: 2.598 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001356/0.22, allocations: 7.938 kB / 436.7 MB, free: 2.59 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001736/0.2202, allocations: 59.42 kB / 436.8 MB, free: 2.531 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003237/0.2205, allocations: 126.9 kB / 436.9 MB, free: 2.406 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003064/0.2208, allocations: 155.7 kB / 437 MB, free: 2.254 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004796/0.2213, allocations: 489.9 kB / 437.5 MB, free: 1.773 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001964/0.2215, allocations: 99.62 kB / 437.6 MB, free: 1.672 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003115/0.2218, allocations: 191.3 kB / 437.8 MB, free: 1.484 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002703/0.2221, allocations: 211 kB / 438 MB, free: 1.277 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.838e-05/0.2221, allocations: 40 kB / 438.1 MB, free: 1.238 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001513/0.2223, allocations: 83.95 kB / 438.1 MB, free: 1.156 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.528e-05/0.2223, allocations: 87.69 kB / 438.2 MB, free: 1.07 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001962/0.2225, allocations: 222.9 kB / 438.4 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005476/0.2231, allocations: 0.4992 MB / 438.9 MB, free: 364 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.2231, allocations: 0 / 438.9 MB, free: 364 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.2231, allocations: 0 / 438.9 MB, free: 364 kB / 334.1 MB Notification: Performance of Transformations before backend: time 7.124e-06/0.2231, allocations: 0 / 438.9 MB, free: 364 kB / 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.001275/0.2244, allocations: 0.6723 MB / 439.6 MB, free: 15.65 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.166e-05/0.2244, allocations: 8.031 kB / 439.6 MB, free: 15.64 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001825/0.2246, allocations: 56.64 kB / 439.7 MB, free: 15.59 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004145/0.225, allocations: 261.3 kB / 439.9 MB, free: 15.31 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.885e-05/0.225, allocations: 25.03 kB / 440 MB, free: 15.28 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.083e-05/0.2251, allocations: 36.38 kB / 440 MB, free: 15.25 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006053/0.2257, allocations: 345.3 kB / 440.3 MB, free: 14.9 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.2257, allocations: 4 kB / 440.3 MB, free: 14.9 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.741e-05/0.2258, allocations: 15.98 kB / 440.3 MB, free: 14.88 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.207e-06/0.2258, allocations: 8 kB / 440.4 MB, free: 14.88 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004795/0.2262, allocations: 242.4 kB / 440.6 MB, free: 14.64 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001958/0.2282, allocations: 1.132 MB / 441.7 MB, free: 13.43 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006233/0.2288, allocations: 267.5 kB / 442 MB, free: 13.16 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004908/0.2293, allocations: 203.5 kB / 442.2 MB, free: 12.96 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003063/0.2296, allocations: 68.16 kB / 442.2 MB, free: 12.89 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.748e-05/0.2297, allocations: 46.73 kB / 442.3 MB, free: 12.84 MB / 350.1 MB Notification: Performance of pre-optimization done (n=27): time 1.343e-06/0.2297, allocations: 0 / 442.3 MB, free: 12.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=27): time 0.001301/0.231, allocations: 464.5 kB / 442.7 MB, free: 12.38 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.12e-05/0.231, allocations: 85.11 kB / 442.8 MB, free: 12.28 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003603/0.2314, allocations: 333.7 kB / 443.2 MB, free: 11.94 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.087e-05/0.2314, allocations: 33.7 kB / 443.2 MB, free: 11.9 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001558/0.2316, allocations: 220.4 kB / 443.4 MB, free: 11.68 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.3e-05/0.2316, allocations: 103.2 kB / 443.5 MB, free: 11.58 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001062/0.2318, allocations: 70.02 kB / 443.6 MB, free: 11.5 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001634/0.2319, allocations: 350.7 kB / 443.9 MB, free: 11.15 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002294/0.2321, allocations: 112.6 kB / 444 MB, free: 11.04 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002855/0.2324, allocations: 181.8 kB / 444.2 MB, free: 10.84 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004928/0.2329, allocations: 292.6 kB / 444.5 MB, free: 10.52 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/0.2329, allocations: 4 kB / 444.5 MB, free: 10.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007861/0.2337, allocations: 429.6 kB / 444.9 MB, free: 10.09 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.2337, allocations: 4 kB / 444.9 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.912e-06/0.2337, allocations: 4 kB / 444.9 MB, free: 10.08 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002585/0.234, allocations: 68.75 kB / 445 MB, free: 10.01 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003162/0.2343, allocations: 79.89 kB / 445.1 MB, free: 9.934 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001914/0.2362, allocations: 1.848 MB / 446.9 MB, free: 7.973 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002511/0.2365, allocations: 35.73 kB / 446.9 MB, free: 7.938 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.55e-05/0.2365, allocations: 19.94 kB / 447 MB, free: 7.918 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.0001726/0.2367, allocations: 161.6 kB / 447.1 MB, free: 7.75 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.914e-05/0.2367, allocations: 43.83 kB / 447.2 MB, free: 7.707 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00071/0.2375, allocations: 322.4 kB / 447.5 MB, free: 7.383 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.2375, allocations: 4 kB / 447.5 MB, free: 7.379 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.2375, allocations: 7.875 kB / 447.5 MB, free: 7.371 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.2375, allocations: 0 / 447.5 MB, free: 7.371 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004505/0.2379, allocations: 364.3 kB / 447.9 MB, free: 6.973 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.2379, allocations: 0 / 447.9 MB, free: 6.973 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003229/0.2382, allocations: 63.91 kB / 447.9 MB, free: 6.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002009/0.2384, allocations: 60.81 kB / 448 MB, free: 6.848 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.116e-05/0.2385, allocations: 4 kB / 448 MB, free: 6.844 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004572/0.2389, allocations: 0.6186 MB / 448.6 MB, free: 6.199 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.2389, allocations: 0 / 448.6 MB, free: 6.199 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008986/0.2398, allocations: 0.5103 MB / 449.1 MB, free: 5.672 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.016e-05/0.2399, allocations: 39.69 kB / 449.1 MB, free: 5.633 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.629e-05/0.2399, allocations: 8.062 kB / 449.2 MB, free: 5.625 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002595/0.2402, allocations: 23.98 kB / 449.2 MB, free: 5.602 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.456e-05/0.2402, allocations: 15.95 kB / 449.2 MB, free: 5.586 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.962e-05/0.2403, allocations: 16 kB / 449.2 MB, free: 5.57 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002476/0.2405, allocations: 239.2 kB / 449.4 MB, free: 5.34 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2405, allocations: 0 / 449.4 MB, free: 5.34 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004342/0.2409, allocations: 111.8 kB / 449.5 MB, free: 5.23 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.0001929/0.2411, allocations: 131.2 kB / 449.7 MB, free: 5.094 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008316/0.242, allocations: 410.5 kB / 450.1 MB, free: 4.68 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.242, allocations: 0.5 kB / 450.1 MB, free: 4.68 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003501/0.2423, allocations: 131.9 kB / 450.2 MB, free: 4.551 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003388/0.2426, allocations: 37.42 kB / 450.2 MB, free: 4.516 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001414/0.2441, allocations: 0.9071 MB / 451.2 MB, free: 3.57 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004014/0.2445, allocations: 0.795 MB / 451.9 MB, free: 2.75 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.369e-05/0.2446, allocations: 31.42 kB / 452 MB, free: 2.719 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.2446, allocations: 0 / 452 MB, free: 2.719 MB / 350.1 MB Notification: Performance of Templates: time 0.007913/0.2525, allocations: 5.49 MB / 457.5 MB, free: 13.24 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/AmplifierWithOpAmpDetailed/AmplifierWithOpAmpDetailed.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.15295468387194]