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.001338/0.001338, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.001431/0.001431, allocations: 209.3 kB / 23.73 MB, free: 4.523 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.547/1.547, allocations: 230.6 MB / 257.5 MB, free: 7.777 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.00159/0.00159, allocations: 51.92 kB / 378.2 MB, free: 2.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3146/0.3162, allocations: 53.36 MB / 431.6 MB, free: 6.707 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier): time 0.004868/0.321, allocations: 2.758 MB / 434.4 MB, free: 3.938 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001597/0.3226, allocations: 0.7285 MB / 435.1 MB, free: 3.203 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001868/0.3228, allocations: 11.94 kB / 435.1 MB, free: 3.191 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001995/0.323, allocations: 47.5 kB / 435.2 MB, free: 3.145 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002271/0.3232, allocations: 111.1 kB / 435.3 MB, free: 3.035 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003282/0.3236, allocations: 115.8 kB / 435.4 MB, free: 2.922 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005095/0.3241, allocations: 418.5 kB / 435.8 MB, free: 2.512 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002258/0.3243, allocations: 90.2 kB / 435.9 MB, free: 2.422 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002357/0.3245, allocations: 167.4 kB / 436 MB, free: 2.258 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002504/0.3248, allocations: 175.3 kB / 436.2 MB, free: 2.086 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.553e-05/0.3249, allocations: 40 kB / 436.2 MB, free: 2.047 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.122e-05/0.3249, allocations: 44 kB / 436.3 MB, free: 2.004 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.333e-05/0.325, allocations: 67.77 kB / 436.4 MB, free: 1.938 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001784/0.3252, allocations: 151.3 kB / 436.5 MB, free: 1.789 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005597/0.3257, allocations: 454 kB / 436.9 MB, free: 1.348 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.3258, allocations: 4 kB / 436.9 MB, free: 1.344 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.3258, allocations: 4 kB / 437 MB, free: 1.34 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.073e-06/0.3258, allocations: 0 / 437 MB, free: 1.34 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.001457/0.3272, allocations: 0.6091 MB / 437.6 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.3273, allocations: 8.031 kB / 437.6 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.573e-05/0.3274, allocations: 36.7 kB / 437.6 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000494/0.3279, allocations: 253.9 kB / 437.9 MB, free: 388 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.216e-05/0.3279, allocations: 16.88 kB / 437.9 MB, free: 372 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.371e-05/0.3279, allocations: 28.38 kB / 437.9 MB, free: 344 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008424/0.3288, allocations: 382.3 kB / 438.3 MB, free: 15.94 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.369e-05/0.3288, allocations: 0 / 438.3 MB, free: 15.94 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.296e-05/0.3288, allocations: 12 kB / 438.3 MB, free: 15.93 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.139e-05/0.3288, allocations: 8 kB / 438.3 MB, free: 15.92 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008408/0.3297, allocations: 273.8 kB / 438.6 MB, free: 15.65 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001957/0.3316, allocations: 0.9875 MB / 439.5 MB, free: 14.6 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008685/0.3325, allocations: 238.5 kB / 439.8 MB, free: 14.36 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003447/0.3328, allocations: 100.8 kB / 439.9 MB, free: 14.26 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.621e-05/0.3329, allocations: 4 kB / 439.9 MB, free: 14.25 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005227/0.3334, allocations: 229.3 kB / 440.1 MB, free: 14 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.744e-06/0.3334, allocations: 0 / 440.1 MB, free: 14 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.002393/0.3358, allocations: 0.5945 MB / 440.7 MB, free: 13.39 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.19e-05/0.3359, allocations: 106.8 kB / 440.8 MB, free: 13.27 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003561/0.3362, allocations: 273.8 kB / 441.1 MB, free: 12.98 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.716e-05/0.3363, allocations: 33.7 kB / 441.1 MB, free: 12.95 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001883/0.3365, allocations: 204 kB / 441.3 MB, free: 12.74 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.812e-05/0.3365, allocations: 47.64 kB / 441.3 MB, free: 12.7 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001037/0.3366, allocations: 53.83 kB / 441.4 MB, free: 12.63 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001546/0.3368, allocations: 338.8 kB / 441.7 MB, free: 12.29 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00037/0.3371, allocations: 133.9 kB / 441.9 MB, free: 12.16 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004714/0.3376, allocations: 299 kB / 442.2 MB, free: 11.8 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007341/0.3383, allocations: 323.3 kB / 442.5 MB, free: 11.44 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.48e-06/0.3384, allocations: 4 kB / 442.5 MB, free: 11.44 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001304/0.3397, allocations: 0.4975 MB / 443 MB, free: 10.92 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.039e-05/0.3397, allocations: 37.69 kB / 443 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/0.3397, allocations: 4 kB / 443 MB, free: 10.87 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004289/0.3401, allocations: 88.84 kB / 443.1 MB, free: 10.78 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000232/0.3404, allocations: 51.91 kB / 443.1 MB, free: 10.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003102/0.3435, allocations: 1.918 MB / 445.1 MB, free: 8.711 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004/0.3439, allocations: 63.8 kB / 445.1 MB, free: 8.648 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.544e-05/0.3439, allocations: 8.219 kB / 445.1 MB, free: 8.641 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.0002166/0.3441, allocations: 152.4 kB / 445.3 MB, free: 8.484 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.522e-05/0.3442, allocations: 27.8 kB / 445.3 MB, free: 8.457 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.784e-05/0.3442, allocations: 25.77 kB / 445.3 MB, free: 8.43 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.09e-06/0.3442, allocations: 4 kB / 445.3 MB, free: 8.426 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-06/0.3442, allocations: 0 / 445.3 MB, free: 8.426 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.3442, allocations: 0 / 445.3 MB, free: 8.426 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000273/0.3445, allocations: 229 kB / 445.6 MB, free: 8.172 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.3445, allocations: 0 / 445.6 MB, free: 8.172 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001445/0.3447, allocations: 23.97 kB / 445.6 MB, free: 8.148 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003095/0.345, allocations: 80.73 kB / 445.7 MB, free: 8.066 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.939e-05/0.345, allocations: 12.05 kB / 445.7 MB, free: 8.055 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002656/0.3477, allocations: 1.836 MB / 447.5 MB, free: 6.117 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/0.3477, allocations: 3.984 kB / 447.5 MB, free: 6.113 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001133/0.3488, allocations: 369.5 kB / 447.9 MB, free: 5.73 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.382e-05/0.3488, allocations: 27.8 kB / 447.9 MB, free: 5.703 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.731e-05/0.3489, allocations: 3.984 kB / 447.9 MB, free: 5.699 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002494/0.3491, allocations: 31.97 kB / 447.9 MB, free: 5.668 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.571e-05/0.3492, allocations: 19.97 kB / 448 MB, free: 5.648 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.751e-05/0.3492, allocations: 8 kB / 448 MB, free: 5.641 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002138/0.3495, allocations: 193.2 kB / 448.2 MB, free: 5.453 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3495, allocations: 0 / 448.2 MB, free: 5.453 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004801/0.3499, allocations: 79.84 kB / 448.2 MB, free: 5.375 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 Backend phase and start with SimCode phase: time 0.0001451/0.3501, allocations: 103.2 kB / 448.3 MB, free: 5.262 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001437/0.3515, allocations: 0.5151 MB / 448.9 MB, free: 4.715 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.3515, allocations: 0 / 448.9 MB, free: 4.715 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005353/0.3521, allocations: 235.1 kB / 449.1 MB, free: 4.473 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003631/0.3524, allocations: 50.94 kB / 449.1 MB, free: 4.426 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003333/0.3558, allocations: 0.9412 MB / 450.1 MB, free: 3.461 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001689/0.3559, allocations: 146.9 kB / 450.2 MB, free: 3.301 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001264/0.356, allocations: 26.33 kB / 450.2 MB, free: 3.27 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.676e-05/0.3561, allocations: 23.44 kB / 450.3 MB, free: 3.246 MB / 350.1 MB Notification: Performance of SimCode: time 1.232e-06/0.3561, allocations: 0 / 450.3 MB, free: 3.246 MB / 350.1 MB Notification: Performance of Templates: time 0.009683/0.3658, allocations: 4.457 MB / 454.7 MB, free: 14.86 MB / 366.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/NonInvertingAmplifier/NonInvertingAmplifier.csv","/var/lib/jenkins/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.88297578599304]