Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.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.001754/0.001754, allocations: 110.4 kB / 21.19 MB, free: 0.6641 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.002086/0.002086, allocations: 204.7 kB / 24.49 MB, free: 3.965 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.437/1.437, allocations: 230.6 MB / 258.3 MB, free: 7.812 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.InvertingAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|gain.opAmp.out.v|gain.opAmp.out.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|gain.opAmp.out.v|gain.opAmp.out.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001534/0.001534, allocations: 47.91 kB / 379 MB, free: 2.457 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2197/0.2212, allocations: 53.36 MB / 432.4 MB, free: 6.875 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier): time 0.004166/0.2254, allocations: 2.762 MB / 435.1 MB, free: 4.102 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001244/0.2266, allocations: 0.7362 MB / 435.9 MB, free: 3.359 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001402/0.2267, allocations: 7.938 kB / 435.9 MB, free: 3.352 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001463/0.2269, allocations: 43.56 kB / 435.9 MB, free: 3.309 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002119/0.2271, allocations: 107.1 kB / 436 MB, free: 3.203 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002856/0.2274, allocations: 127.8 kB / 436.1 MB, free: 3.078 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000444/0.2278, allocations: 410.5 kB / 436.5 MB, free: 2.676 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002019/0.228, allocations: 98.61 kB / 436.6 MB, free: 2.578 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001856/0.2282, allocations: 155.4 kB / 436.8 MB, free: 2.426 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002168/0.2284, allocations: 179.2 kB / 437 MB, free: 2.25 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.18e-05/0.2285, allocations: 40 kB / 437 MB, free: 2.211 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.38e-05/0.2286, allocations: 40 kB / 437 MB, free: 2.172 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.74e-05/0.2286, allocations: 75.75 kB / 437.1 MB, free: 2.098 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001578/0.2288, allocations: 151.3 kB / 437.3 MB, free: 1.949 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004756/0.2293, allocations: 454.3 kB / 437.7 MB, free: 1.504 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.2293, allocations: 0 / 437.7 MB, free: 1.504 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.2293, allocations: 0 / 437.7 MB, free: 1.504 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.151e-06/0.2293, allocations: 0 / 437.7 MB, free: 1.504 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001324/0.2306, allocations: 0.613 MB / 438.3 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.576e-05/0.2306, allocations: 8.031 kB / 438.3 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.07e-05/0.2307, allocations: 40.69 kB / 438.4 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003935/0.2311, allocations: 249.9 kB / 438.6 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.281e-05/0.2311, allocations: 20.88 kB / 438.6 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.105e-05/0.2312, allocations: 24.38 kB / 438.7 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008002/0.232, allocations: 386.3 kB / 439 MB, free: 96 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.232, allocations: 0 / 439 MB, free: 96 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.232e-05/0.232, allocations: 8 kB / 439 MB, free: 88 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.108e-05/0.232, allocations: 8 kB / 439.1 MB, free: 80 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000879/0.2329, allocations: 281.8 kB / 439.3 MB, free: 15.8 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001885/0.2348, allocations: 0.972 MB / 440.3 MB, free: 14.77 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008771/0.2357, allocations: 246.5 kB / 440.5 MB, free: 14.52 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000356/0.236, allocations: 104.8 kB / 440.6 MB, free: 14.41 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.336e-05/0.2361, allocations: 0 / 440.6 MB, free: 14.41 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005162/0.2366, allocations: 233.2 kB / 440.9 MB, free: 14.15 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.402e-06/0.2366, allocations: 0 / 440.9 MB, free: 14.15 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.002437/0.239, allocations: 0.587 MB / 441.5 MB, free: 13.56 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.537e-05/0.2391, allocations: 114.8 kB / 441.6 MB, free: 13.42 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003077/0.2394, allocations: 265.8 kB / 441.8 MB, free: 13.15 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.096e-05/0.2394, allocations: 29.7 kB / 441.9 MB, free: 13.11 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001601/0.2396, allocations: 208 kB / 442.1 MB, free: 12.91 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.545e-05/0.2396, allocations: 43.67 kB / 442.1 MB, free: 12.86 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001073/0.2398, allocations: 57.83 kB / 442.2 MB, free: 12.8 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001567/0.2399, allocations: 334.8 kB / 442.5 MB, free: 12.46 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004057/0.2403, allocations: 138 kB / 442.6 MB, free: 12.32 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005015/0.2408, allocations: 286 kB / 442.9 MB, free: 11.98 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007947/0.2416, allocations: 311.7 kB / 443.2 MB, free: 11.63 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.686e-06/0.2416, allocations: 0 / 443.2 MB, free: 11.63 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001404/0.243, allocations: 0.4926 MB / 443.7 MB, free: 11.12 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.204e-05/0.2431, allocations: 33.7 kB / 443.7 MB, free: 11.08 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.2431, allocations: 4 kB / 443.7 MB, free: 11.08 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004024/0.2435, allocations: 84.86 kB / 443.8 MB, free: 10.99 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002377/0.2437, allocations: 51.89 kB / 443.9 MB, free: 10.94 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002818/0.2465, allocations: 1.86 MB / 445.7 MB, free: 8.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003395/0.2469, allocations: 51.78 kB / 445.8 MB, free: 8.93 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.786e-05/0.2469, allocations: 16 kB / 445.8 MB, free: 8.914 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 (23): * Single equations (assignments): 21 * 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.0001633/0.2471, allocations: 145.8 kB / 445.9 MB, free: 8.762 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.034e-05/0.2471, allocations: 27.92 kB / 446 MB, free: 8.734 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.527e-05/0.2472, allocations: 21.77 kB / 446 MB, free: 8.711 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.2472, allocations: 3.938 kB / 446 MB, free: 8.707 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.2472, allocations: 3.984 kB / 446 MB, free: 8.703 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.772e-05/0.2472, allocations: 28.08 kB / 446 MB, free: 8.676 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.773e-05/0.2472, allocations: 4 kB / 446 MB, free: 8.672 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002695/0.2475, allocations: 35.89 kB / 446.1 MB, free: 8.637 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.64e-05/0.2476, allocations: 27.91 kB / 446.1 MB, free: 8.609 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00143/0.249, allocations: 441.5 kB / 446.5 MB, free: 8.168 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001165/0.2502, allocations: 0.5101 MB / 447 MB, free: 7.641 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003397/0.2505, allocations: 96.23 kB / 447.1 MB, free: 7.547 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001927/0.2507, allocations: 189.2 kB / 447.3 MB, free: 7.363 MB / 350.1 MB Notification: Performance of Backend: time 3.41e-07/0.2507, allocations: 0 / 447.3 MB, free: 7.363 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001018/0.2517, allocations: 449.7 kB / 447.7 MB, free: 6.891 MB / 350.1 MB Notification: Performance of SimCode: time 0.001101/0.2528, allocations: 0.9554 MB / 448.7 MB, free: 5.887 MB / 350.1 MB Notification: Performance of Templates: time 0.008995/0.2618, allocations: 4.709 MB / 453.4 MB, free: 1.25 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/InvertingAmplifier/InvertingAmplifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.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.2733032570031355]