Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001578/0.001578, allocations: 114.5 kB / 21.18 MB, free: 0.7422 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001772/0.001772, allocations: 212.1 kB / 24.48 MB, free: 4.191 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.419/1.419, allocations: 230.4 MB / 258.1 MB, free: 8.148 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-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001955/0.001955, allocations: 71.83 kB / 378.8 MB, free: 2.855 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2259/0.2279, allocations: 53.31 MB / 432.1 MB, free: 7.375 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier): time 0.004217/0.2321, allocations: 2.984 MB / 435.1 MB, free: 4.379 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001254/0.2334, allocations: 0.7712 MB / 435.8 MB, free: 3.602 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001319/0.2335, allocations: 11.94 kB / 435.9 MB, free: 3.59 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001475/0.2337, allocations: 51.5 kB / 435.9 MB, free: 3.539 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001961/0.2338, allocations: 95.19 kB / 436 MB, free: 3.445 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002777/0.2341, allocations: 123.8 kB / 436.1 MB, free: 3.324 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000461/0.2346, allocations: 422.3 kB / 436.5 MB, free: 2.91 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001995/0.2348, allocations: 91.25 kB / 436.6 MB, free: 2.816 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001919/0.235, allocations: 155.5 kB / 436.8 MB, free: 2.664 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002373/0.2352, allocations: 171.2 kB / 436.9 MB, free: 2.496 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.888e-05/0.2353, allocations: 40 kB / 437 MB, free: 2.457 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.053e-05/0.2353, allocations: 40 kB / 437 MB, free: 2.418 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.472e-05/0.2354, allocations: 79.69 kB / 437.1 MB, free: 2.34 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001768/0.2356, allocations: 179.2 kB / 437.3 MB, free: 2.164 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004776/0.2361, allocations: 447.9 kB / 437.7 MB, free: 1.727 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/0.2361, allocations: 0 / 437.7 MB, free: 1.727 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.2361, allocations: 7.938 kB / 437.7 MB, free: 1.719 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.011e-06/0.2361, allocations: 0 / 437.7 MB, free: 1.719 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.001314/0.2374, allocations: 0.6845 MB / 438.4 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.439e-05/0.2374, allocations: 8.031 kB / 438.4 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.582e-05/0.2375, allocations: 40.7 kB / 438.5 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004103/0.2379, allocations: 307.7 kB / 438.8 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.657e-05/0.2379, allocations: 20.94 kB / 438.8 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.562e-05/0.238, allocations: 24.38 kB / 438.8 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007191/0.2387, allocations: 331.9 kB / 439.1 MB, free: 220 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.2387, allocations: 0 / 439.1 MB, free: 220 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.971e-05/0.2387, allocations: 8 kB / 439.1 MB, free: 212 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.756e-06/0.2388, allocations: 8 kB / 439.1 MB, free: 204 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008537/0.2396, allocations: 286 kB / 439.4 MB, free: 15.92 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00192/0.2415, allocations: 1.143 MB / 440.6 MB, free: 14.7 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008679/0.2424, allocations: 246.5 kB / 440.8 MB, free: 14.45 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003453/0.2427, allocations: 92.78 kB / 440.9 MB, free: 14.36 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.325e-05/0.2428, allocations: 4 kB / 440.9 MB, free: 14.35 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000486/0.2433, allocations: 177.9 kB / 441.1 MB, free: 14.16 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.633e-06/0.2433, allocations: 224 / 441.1 MB, free: 14.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.002434/0.2457, allocations: 0.6669 MB / 441.7 MB, free: 13.46 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.652e-05/0.2458, allocations: 114.8 kB / 441.8 MB, free: 13.32 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003156/0.2461, allocations: 286.6 kB / 442.1 MB, free: 13.03 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.74e-05/0.2461, allocations: 29.69 kB / 442.2 MB, free: 13 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001535/0.2463, allocations: 208 kB / 442.4 MB, free: 12.79 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.1e-05/0.2463, allocations: 39.69 kB / 442.4 MB, free: 12.75 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.715e-05/0.2464, allocations: 53.89 kB / 442.4 MB, free: 12.69 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001598/0.2466, allocations: 334.8 kB / 442.8 MB, free: 12.35 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003819/0.2469, allocations: 112.1 kB / 442.9 MB, free: 12.24 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004488/0.2474, allocations: 213.7 kB / 443.1 MB, free: 11.99 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007805/0.2482, allocations: 320.6 kB / 443.4 MB, free: 11.63 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.2482, allocations: 0 / 443.4 MB, free: 11.63 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001363/0.2495, allocations: 483.6 kB / 443.9 MB, free: 11.14 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.844e-05/0.2496, allocations: 36.34 kB / 443.9 MB, free: 11.1 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.2496, allocations: 4 kB / 443.9 MB, free: 11.1 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004053/0.25, allocations: 88.86 kB / 444 MB, free: 11.01 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002361/0.2502, allocations: 55.89 kB / 444.1 MB, free: 10.95 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003139/0.2534, allocations: 2.06 MB / 446.1 MB, free: 8.754 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003544/0.2537, allocations: 59.86 kB / 446.2 MB, free: 8.695 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.447e-05/0.2537, allocations: 12 kB / 446.2 MB, free: 8.684 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.0001978/0.2539, allocations: 153.7 kB / 446.3 MB, free: 8.523 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.145e-05/0.254, allocations: 23.86 kB / 446.4 MB, free: 8.5 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.866e-05/0.254, allocations: 25.83 kB / 446.4 MB, free: 8.465 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.254, allocations: 3.984 kB / 446.4 MB, free: 8.461 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.254, allocations: 0 / 446.4 MB, free: 8.461 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.117e-05/0.2541, allocations: 101 kB / 446.5 MB, free: 8.344 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.978e-05/0.2542, allocations: 7.938 kB / 446.5 MB, free: 8.336 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002552/0.2544, allocations: 35.95 kB / 446.5 MB, free: 8.301 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.759e-05/0.2545, allocations: 19.97 kB / 446.6 MB, free: 8.281 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001386/0.2559, allocations: 451.2 kB / 447 MB, free: 7.832 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001121/0.257, allocations: 0.5024 MB / 447.5 MB, free: 7.312 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000342/0.2574, allocations: 106.7 kB / 447.6 MB, free: 7.211 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002121/0.2576, allocations: 209.9 kB / 447.8 MB, free: 7.008 MB / 350.1 MB Notification: Performance of Backend: time 4.31e-07/0.2576, allocations: 0 / 447.8 MB, free: 7.008 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001374/0.259, allocations: 493.2 kB / 448.3 MB, free: 6.496 MB / 350.1 MB Notification: Performance of SimCode: time 0.001142/0.2601, allocations: 0.9561 MB / 449.2 MB, free: 5.496 MB / 350.1 MB Notification: Performance of Templates: time 0.008472/0.2686, allocations: 4.337 MB / 453.6 MB, free: 1.203 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/NonInvertingAmplifier/NonInvertingAmplifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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.24268665490672]