Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.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.001278/0.001278, allocations: 106.8 kB / 21.19 MB, free: 0.6406 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.0014/0.0014, allocations: 213.3 kB / 24.49 MB, free: 3.934 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.46/1.46, allocations: 230.6 MB / 258.3 MB, free: 7.797 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.OpAmps.HighPass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|derivative.c.v|derivative.opAmp.out.v|derivative.opAmp.out.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.HighPass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|derivative.c.v|derivative.opAmp.out.v|derivative.opAmp.out.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00153/0.00153, allocations: 51.92 kB / 379 MB, free: 2.453 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2214/0.2229, allocations: 53.36 MB / 432.4 MB, free: 6.73 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.HighPass): time 0.004547/0.2274, allocations: 2.875 MB / 435.2 MB, free: 3.84 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001404/0.2288, allocations: 0.7714 MB / 436 MB, free: 3.066 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001478/0.229, allocations: 11.94 kB / 436 MB, free: 3.055 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001627/0.2292, allocations: 55.5 kB / 436.1 MB, free: 3 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002373/0.2294, allocations: 115 kB / 436.2 MB, free: 2.887 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003089/0.2297, allocations: 127.8 kB / 436.3 MB, free: 2.762 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004997/0.2302, allocations: 458.3 kB / 436.8 MB, free: 2.312 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002042/0.2304, allocations: 98.41 kB / 436.9 MB, free: 2.219 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003055/0.2307, allocations: 191.3 kB / 437.1 MB, free: 2.031 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002365/0.231, allocations: 191.2 kB / 437.2 MB, free: 1.844 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.869e-05/0.231, allocations: 44 kB / 437.3 MB, free: 1.801 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.195e-05/0.2311, allocations: 44 kB / 437.3 MB, free: 1.758 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.869e-05/0.2312, allocations: 87.69 kB / 437.4 MB, free: 1.672 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001876/0.2314, allocations: 163.2 kB / 437.6 MB, free: 1.512 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005279/0.2319, allocations: 0.49 MB / 438.1 MB, free: 1.023 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.2319, allocations: 0 / 438.1 MB, free: 1.023 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.2319, allocations: 0 / 438.1 MB, free: 1.023 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.007e-06/0.2319, allocations: 4 kB / 438.1 MB, free: 1.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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.001413/0.2333, allocations: 0.6394 MB / 438.7 MB, free: 348 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/0.2334, allocations: 16.03 kB / 438.7 MB, free: 332 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.751e-05/0.2334, allocations: 36.7 kB / 438.8 MB, free: 296 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004319/0.2339, allocations: 260.9 kB / 439 MB, free: 12 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.099e-05/0.2339, allocations: 21.11 kB / 439 MB, free: 15.99 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.156e-05/0.234, allocations: 24.38 kB / 439.1 MB, free: 15.96 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008376/0.2348, allocations: 404.3 kB / 439.4 MB, free: 15.55 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.519e-05/0.2348, allocations: 7.984 kB / 439.5 MB, free: 15.54 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.75e-05/0.2349, allocations: 12 kB / 439.5 MB, free: 15.53 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.548e-06/0.2349, allocations: 7.984 kB / 439.5 MB, free: 15.52 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009024/0.2358, allocations: 302.4 kB / 439.8 MB, free: 15.23 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002192/0.238, allocations: 1.097 MB / 440.9 MB, free: 14.06 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007109/0.2387, allocations: 218.4 kB / 441.1 MB, free: 13.84 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003516/0.239, allocations: 108.8 kB / 441.2 MB, free: 13.73 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.965e-05/0.2391, allocations: 256 / 441.2 MB, free: 13.73 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005372/0.2396, allocations: 241.2 kB / 441.4 MB, free: 13.46 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 1.353e-06/0.2396, allocations: 3.938 kB / 441.4 MB, free: 13.46 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.002468/0.2421, allocations: 0.6133 MB / 442 MB, free: 12.84 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.524e-05/0.2421, allocations: 106.8 kB / 442.1 MB, free: 12.71 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003262/0.2425, allocations: 285.8 kB / 442.4 MB, free: 12.42 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.173e-05/0.2425, allocations: 33.64 kB / 442.5 MB, free: 12.38 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001619/0.2427, allocations: 220.2 kB / 442.7 MB, free: 12.16 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.496e-05/0.2427, allocations: 55.58 kB / 442.7 MB, free: 12.11 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001067/0.2428, allocations: 53.66 kB / 442.8 MB, free: 12.05 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000154/0.243, allocations: 338.8 kB / 443.1 MB, free: 11.71 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004148/0.2434, allocations: 137.6 kB / 443.2 MB, free: 11.57 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004966/0.2439, allocations: 289.8 kB / 443.5 MB, free: 11.22 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008093/0.2447, allocations: 338.2 kB / 443.9 MB, free: 10.85 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.019e-06/0.2447, allocations: 4 kB / 443.9 MB, free: 10.85 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0014/0.2461, allocations: 0.5015 MB / 444.4 MB, free: 10.32 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.676e-05/0.2461, allocations: 33.7 kB / 444.4 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.2461, allocations: 0 / 444.4 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003948/0.2465, allocations: 92.73 kB / 444.5 MB, free: 10.19 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002624/0.2468, allocations: 51.97 kB / 444.5 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00274/0.2495, allocations: 1.864 MB / 446.4 MB, free: 8.176 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003438/0.2499, allocations: 63.73 kB / 446.5 MB, free: 8.113 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.836e-05/0.2499, allocations: 16 kB / 446.5 MB, free: 8.098 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 5 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 1 * 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,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001706/0.2501, allocations: 148.8 kB / 446.6 MB, free: 7.945 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.227e-05/0.2501, allocations: 23.86 kB / 446.6 MB, free: 7.922 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.264e-05/0.2502, allocations: 29.77 kB / 446.7 MB, free: 7.891 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.2502, allocations: 0 / 446.7 MB, free: 7.891 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.2502, allocations: 4 kB / 446.7 MB, free: 7.887 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.867e-05/0.2502, allocations: 31.72 kB / 446.7 MB, free: 7.855 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.308e-05/0.2503, allocations: 8 kB / 446.7 MB, free: 7.848 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002699/0.2506, allocations: 31.95 kB / 446.7 MB, free: 7.816 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.458e-05/0.2506, allocations: 19.97 kB / 446.8 MB, free: 7.797 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001468/0.2521, allocations: 461.5 kB / 447.2 MB, free: 7.336 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00118/0.2533, allocations: 0.5405 MB / 447.8 MB, free: 6.781 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003416/0.2536, allocations: 104 kB / 447.9 MB, free: 6.68 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002125/0.2538, allocations: 197.2 kB / 448.1 MB, free: 6.484 MB / 350.1 MB Notification: Performance of Backend: time 1.9e-07/0.2538, allocations: 0 / 448.1 MB, free: 6.484 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001046/0.2549, allocations: 456.7 kB / 448.5 MB, free: 6.004 MB / 350.1 MB Notification: Performance of SimCode: time 0.001279/0.2562, allocations: 1.056 MB / 449.6 MB, free: 4.898 MB / 350.1 MB Notification: Performance of Templates: time 0.009804/0.266, allocations: 5.082 MB / 454.6 MB, free: 15.88 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/HighPass/HighPass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.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: 4.407039008998254]