Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001676/0.001676, allocations: 104 kB / 21.18 MB, free: 0.6719 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002021/0.002021, allocations: 194.4 kB / 24.46 MB, free: 4.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.425/1.425, allocations: 225.7 MB / 253.3 MB, free: 12.83 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001619/0.001619, allocations: 55.92 kB / 371.7 MB, free: 9.191 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2341/0.2358, allocations: 52.18 MB / 423.8 MB, free: 14.49 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier): time 0.004283/0.24, allocations: 2.732 MB / 426.6 MB, free: 11.75 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001393/0.2414, allocations: 0.7129 MB / 427.3 MB, free: 11.03 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000146/0.2416, allocations: 7.938 kB / 427.3 MB, free: 11.02 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001681/0.2417, allocations: 47.5 kB / 427.3 MB, free: 10.98 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002054/0.242, allocations: 103.2 kB / 427.4 MB, free: 10.88 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000308/0.2423, allocations: 115.8 kB / 427.6 MB, free: 10.76 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004688/0.2427, allocations: 418.4 kB / 428 MB, free: 10.35 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002214/0.243, allocations: 90.62 kB / 428.1 MB, free: 10.26 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002116/0.2432, allocations: 159.4 kB / 428.2 MB, free: 10.11 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002135/0.2434, allocations: 147.3 kB / 428.4 MB, free: 9.961 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.574e-05/0.2434, allocations: 40 kB / 428.4 MB, free: 9.922 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.769e-05/0.2435, allocations: 40 kB / 428.4 MB, free: 9.883 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.045e-05/0.2436, allocations: 87.67 kB / 428.5 MB, free: 9.797 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001592/0.2437, allocations: 143.3 kB / 428.7 MB, free: 9.656 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004857/0.2442, allocations: 458 kB / 429.1 MB, free: 9.211 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.2442, allocations: 3.938 kB / 429.1 MB, free: 9.207 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.2442, allocations: 0 / 429.1 MB, free: 9.207 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.158e-05/0.2443, allocations: 0 / 429.1 MB, free: 9.207 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.001343/0.2456, allocations: 0.6122 MB / 429.7 MB, free: 8.559 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.2456, allocations: 8.031 kB / 429.7 MB, free: 8.551 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.685e-05/0.2457, allocations: 32.75 kB / 429.8 MB, free: 8.52 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004572/0.2462, allocations: 249.8 kB / 430 MB, free: 8.25 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.469e-05/0.2462, allocations: 20.88 kB / 430 MB, free: 8.23 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.965e-05/0.2463, allocations: 28.36 kB / 430.1 MB, free: 8.203 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008102/0.2471, allocations: 374.4 kB / 430.4 MB, free: 7.812 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.513e-05/0.2471, allocations: 0 / 430.4 MB, free: 7.812 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.38e-05/0.2471, allocations: 12 kB / 430.4 MB, free: 7.801 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.275e-06/0.2471, allocations: 12 kB / 430.4 MB, free: 7.789 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008375/0.248, allocations: 285.8 kB / 430.7 MB, free: 7.512 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001896/0.2499, allocations: 0.9797 MB / 431.7 MB, free: 6.469 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008674/0.2507, allocations: 242.6 kB / 431.9 MB, free: 6.223 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003443/0.2511, allocations: 92.78 kB / 432 MB, free: 6.129 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.034e-05/0.2511, allocations: 4.219 kB / 432 MB, free: 6.125 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000538/0.2516, allocations: 241.1 kB / 432.3 MB, free: 5.855 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 2.234e-06/0.2516, allocations: 0 / 432.3 MB, free: 5.855 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.002405/0.254, allocations: 0.59 MB / 432.9 MB, free: 5.258 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.063e-05/0.2541, allocations: 110.8 kB / 433 MB, free: 5.125 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003609/0.2545, allocations: 277.8 kB / 433.2 MB, free: 4.844 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.987e-05/0.2545, allocations: 29.7 kB / 433.3 MB, free: 4.809 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001795/0.2547, allocations: 204 kB / 433.5 MB, free: 4.605 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.863e-05/0.2547, allocations: 51.62 kB / 433.5 MB, free: 4.555 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.761e-05/0.2548, allocations: 49.94 kB / 433.6 MB, free: 4.496 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001534/0.255, allocations: 330.8 kB / 433.9 MB, free: 4.164 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00039/0.2554, allocations: 137.9 kB / 434 MB, free: 4.023 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000499/0.2559, allocations: 294.3 kB / 434.3 MB, free: 3.672 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007587/0.2566, allocations: 320.5 kB / 434.6 MB, free: 3.312 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.2566, allocations: 0 / 434.6 MB, free: 3.312 MB / 334.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001355/0.258, allocations: 0.5047 MB / 435.1 MB, free: 2.789 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.334e-05/0.258, allocations: 33.7 kB / 435.2 MB, free: 2.75 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.2581, allocations: 0 / 435.2 MB, free: 2.75 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003883/0.2584, allocations: 92.86 kB / 435.3 MB, free: 2.656 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002365/0.2587, allocations: 47.89 kB / 435.3 MB, free: 2.609 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003047/0.2617, allocations: 1.919 MB / 437.2 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003664/0.2621, allocations: 59.81 kB / 437.3 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.812e-05/0.2621, allocations: 15.98 kB / 437.3 MB, free: 0.5156 MB / 334.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.0001903/0.2623, allocations: 153.7 kB / 437.4 MB, free: 364 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.622e-05/0.2624, allocations: 31.88 kB / 437.5 MB, free: 332 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.363e-05/0.2624, allocations: 21.78 kB / 437.5 MB, free: 308 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.2624, allocations: 0 / 437.5 MB, free: 308 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.766e-06/0.2624, allocations: 0 / 437.5 MB, free: 308 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.2624, allocations: 3.984 kB / 437.5 MB, free: 304 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002768/0.2627, allocations: 229.1 kB / 437.7 MB, free: 44 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.2627, allocations: 0 / 437.7 MB, free: 44 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001396/0.2628, allocations: 19.98 kB / 437.7 MB, free: 24 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003203/0.2632, allocations: 80.8 kB / 437.8 MB, free: 15.94 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.425e-05/0.2632, allocations: 4 kB / 437.8 MB, free: 15.94 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002592/0.2658, allocations: 1.84 MB / 439.7 MB, free: 14 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.2658, allocations: 0 / 439.7 MB, free: 14 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001144/0.2669, allocations: 377.5 kB / 440 MB, free: 13.61 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.04e-05/0.267, allocations: 27.78 kB / 440.1 MB, free: 13.58 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.045e-05/0.267, allocations: 8 kB / 440.1 MB, free: 13.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002479/0.2673, allocations: 31.91 kB / 440.1 MB, free: 13.54 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.716e-05/0.2673, allocations: 15.97 kB / 440.1 MB, free: 13.52 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.899e-05/0.2674, allocations: 11.98 kB / 440.1 MB, free: 13.51 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002194/0.2676, allocations: 193.2 kB / 440.3 MB, free: 13.32 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2676, allocations: 0 / 440.3 MB, free: 13.32 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004486/0.268, allocations: 79.89 kB / 440.4 MB, free: 13.24 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.0001426/0.2682, allocations: 111.2 kB / 440.5 MB, free: 13.12 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001405/0.2696, allocations: 0.5073 MB / 441 MB, free: 12.58 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.2696, allocations: 0 / 441 MB, free: 12.58 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005079/0.2701, allocations: 230.5 kB / 441.2 MB, free: 12.34 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003527/0.2704, allocations: 46.92 kB / 441.3 MB, free: 12.3 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003228/0.2737, allocations: 0.9699 MB / 442.3 MB, free: 11.3 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001516/0.2738, allocations: 150.8 kB / 442.4 MB, free: 11.14 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.624e-05/0.2739, allocations: 19.44 kB / 442.4 MB, free: 11.12 MB / 350.1 MB Notification: Performance of SimCode: time 1.523e-06/0.2739, allocations: 3.938 kB / 442.4 MB, free: 11.12 MB / 350.1 MB Notification: Performance of Templates: time 0.008103/0.282, allocations: 4.824 MB / 447.2 MB, free: 6.305 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/NonInvertingAmplifier/NonInvertingAmplifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 7.402276962064207]