Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.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.001857/0.001857, 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.002301/0.002301, 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.448/1.448, allocations: 230.6 MB / 258.3 MB, free: 7.805 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.NonInvertingAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|buffer.opAmp.out.v|buffer.opAmp.out.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|buffer.opAmp.out.v|buffer.opAmp.out.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001597/0.001597, allocations: 43.92 kB / 379 MB, free: 2.461 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2265/0.2281, allocations: 53.37 MB / 432.4 MB, free: 6.719 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier): time 0.004314/0.2324, allocations: 2.762 MB / 435.1 MB, free: 3.945 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001345/0.2338, allocations: 0.7323 MB / 435.9 MB, free: 3.207 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001459/0.2339, allocations: 7.938 kB / 435.9 MB, free: 3.199 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001611/0.2341, allocations: 47.58 kB / 435.9 MB, free: 3.152 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002188/0.2343, allocations: 115.1 kB / 436 MB, free: 3.039 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002939/0.2346, allocations: 115.8 kB / 436.1 MB, free: 2.926 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004635/0.2351, allocations: 418.4 kB / 436.6 MB, free: 2.516 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002164/0.2353, allocations: 94.62 kB / 436.6 MB, free: 2.422 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001965/0.2355, allocations: 163.4 kB / 436.8 MB, free: 2.262 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00022/0.2357, allocations: 167.3 kB / 437 MB, free: 2.098 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.424e-05/0.2358, allocations: 40 kB / 437 MB, free: 2.059 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.69e-05/0.2358, allocations: 40 kB / 437 MB, free: 2.02 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.621e-05/0.2359, allocations: 75.77 kB / 437.1 MB, free: 1.945 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001608/0.2361, allocations: 151.3 kB / 437.3 MB, free: 1.797 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005382/0.2366, allocations: 458 kB / 437.7 MB, free: 1.352 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.2366, allocations: 0 / 437.7 MB, free: 1.352 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.2366, allocations: 0 / 437.7 MB, free: 1.352 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.092e-05/0.2366, allocations: 0 / 437.7 MB, free: 1.352 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.001336/0.238, allocations: 0.613 MB / 438.3 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.238, allocations: 8.031 kB / 438.3 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.447e-05/0.2381, allocations: 40.7 kB / 438.4 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004188/0.2385, allocations: 245.9 kB / 438.6 MB, free: 400 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.469e-05/0.2385, allocations: 16.88 kB / 438.6 MB, free: 384 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.982e-05/0.2386, allocations: 24.38 kB / 438.7 MB, free: 360 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008215/0.2394, allocations: 386.4 kB / 439 MB, free: 15.95 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/0.2394, allocations: 0 / 439 MB, free: 15.95 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.554e-05/0.2394, allocations: 12 kB / 439 MB, free: 15.93 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.2395, allocations: 4 kB / 439 MB, free: 15.93 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000865/0.2403, allocations: 285.8 kB / 439.3 MB, free: 15.65 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001856/0.2422, allocations: 0.9797 MB / 440.3 MB, free: 14.61 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000861/0.243, allocations: 246.5 kB / 440.5 MB, free: 14.36 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003406/0.2434, allocations: 104.8 kB / 440.6 MB, free: 14.26 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.392e-05/0.2434, allocations: 0 / 440.6 MB, free: 14.26 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005188/0.2439, allocations: 229.3 kB / 440.9 MB, free: 14 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.613e-06/0.2439, allocations: 0 / 440.9 MB, free: 14 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.002436/0.2464, allocations: 0.5869 MB / 441.5 MB, free: 13.41 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.789e-05/0.2464, allocations: 110.8 kB / 441.6 MB, free: 13.27 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003165/0.2467, allocations: 273.8 kB / 441.8 MB, free: 12.99 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.716e-05/0.2468, allocations: 33.64 kB / 441.9 MB, free: 12.95 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001511/0.2469, allocations: 208 kB / 442.1 MB, free: 12.75 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.717e-05/0.247, allocations: 51.58 kB / 442.1 MB, free: 12.7 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001031/0.2471, allocations: 53.89 kB / 442.2 MB, free: 12.63 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001489/0.2472, allocations: 330.8 kB / 442.5 MB, free: 12.3 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003925/0.2476, allocations: 141.8 kB / 442.6 MB, free: 12.16 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005116/0.2481, allocations: 291.1 kB / 442.9 MB, free: 11.81 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007685/0.2489, allocations: 320.5 kB / 443.2 MB, free: 11.45 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/0.2489, allocations: 0 / 443.2 MB, free: 11.45 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001362/0.2503, allocations: 0.5004 MB / 443.7 MB, free: 10.93 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.233e-05/0.2503, allocations: 41.69 kB / 443.8 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.2503, allocations: 4.062 kB / 443.8 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003927/0.2507, allocations: 88.8 kB / 443.9 MB, free: 10.79 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000229/0.2509, allocations: 43.91 kB / 443.9 MB, free: 10.75 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003101/0.254, allocations: 1.926 MB / 445.8 MB, free: 8.719 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003533/0.2544, allocations: 59.73 kB / 445.9 MB, free: 8.66 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.883e-05/0.2544, allocations: 12 kB / 445.9 MB, free: 8.648 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (24): * Single equations (assignments): 22 * 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.0001683/0.2546, allocations: 153.8 kB / 446.1 MB, free: 8.488 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.231e-05/0.2546, allocations: 23.86 kB / 446.1 MB, free: 8.465 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.527e-05/0.2547, allocations: 25.98 kB / 446.1 MB, free: 8.438 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.2547, allocations: 0 / 446.1 MB, free: 8.438 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.2547, allocations: 3.938 kB / 446.1 MB, free: 8.434 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.091e-05/0.2547, allocations: 27.78 kB / 446.1 MB, free: 8.406 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.993e-05/0.2548, allocations: 8 kB / 446.1 MB, free: 8.398 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002696/0.255, allocations: 31.95 kB / 446.2 MB, free: 8.367 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.607e-05/0.2551, allocations: 27.91 kB / 446.2 MB, free: 8.34 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001411/0.2565, allocations: 449.5 kB / 446.6 MB, free: 7.891 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001146/0.2577, allocations: 0.5024 MB / 447.1 MB, free: 7.371 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003393/0.258, allocations: 95.97 kB / 447.2 MB, free: 7.277 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002065/0.2582, allocations: 189.2 kB / 447.4 MB, free: 7.094 MB / 350.1 MB Notification: Performance of Backend: time 4.3e-07/0.2582, allocations: 3.938 kB / 447.4 MB, free: 7.09 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00139/0.2596, allocations: 0.5133 MB / 447.9 MB, free: 6.543 MB / 350.1 MB Notification: Performance of SimCode: time 0.001149/0.2608, allocations: 0.9488 MB / 448.9 MB, free: 5.543 MB / 350.1 MB Notification: Performance of Templates: time 0.009356/0.2701, allocations: 4.718 MB / 453.6 MB, free: 0.8984 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/NonInvertingAmplifier/NonInvertingAmplifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.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.386255026998697]