Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001079/0.001079, allocations: 187 kB / 17.92 MB, free: 3.855 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.25/1.25, allocations: 205.1 MB / 223.7 MB, free: 8.477 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009183/0.0009183, allocations: 111.2 kB / 271.2 MB, free: 8.434 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008861/0.0008861, allocations: 35.95 kB / 327.2 MB, free: 316 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2105/0.2114, allocations: 46.63 MB / 373.8 MB, free: 45.66 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower): time 0.003514/0.2149, allocations: 2.737 MB / 376.6 MB, free: 43.65 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009595/0.2159, allocations: 0.7149 MB / 377.3 MB, free: 43.07 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001106/0.2161, allocations: 4.438 kB / 377.3 MB, free: 43.07 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001464/0.2162, allocations: 27.11 kB / 377.3 MB, free: 43.04 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001541/0.2164, allocations: 79.97 kB / 377.4 MB, free: 42.97 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002292/0.2166, allocations: 86.7 kB / 377.5 MB, free: 42.9 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003276/0.217, allocations: 330 kB / 377.8 MB, free: 42.71 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000175/0.2171, allocations: 75.75 kB / 377.9 MB, free: 42.67 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000144/0.2173, allocations: 121.1 kB / 378 MB, free: 42.6 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001571/0.2175, allocations: 140.4 kB / 378.1 MB, free: 42.5 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.698e-05/0.2175, allocations: 17.69 kB / 378.2 MB, free: 42.5 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.515e-05/0.2176, allocations: 17.5 kB / 378.2 MB, free: 42.5 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.168e-05/0.2176, allocations: 51.3 kB / 378.2 MB, free: 42.46 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001253/0.2178, allocations: 140.7 kB / 378.4 MB, free: 42.36 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002513/0.218, allocations: 313.7 kB / 378.7 MB, free: 42.13 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.218, allocations: 1.094 kB / 378.7 MB, free: 42.13 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.02e-07/0.218, allocations: 0 / 378.7 MB, free: 42.13 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.129e-06/0.218, allocations: 0 / 378.7 MB, free: 42.13 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.001016/0.2191, allocations: 0.6288 MB / 379.3 MB, free: 41.56 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/0.2191, allocations: 10.16 kB / 379.3 MB, free: 41.56 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.98e-05/0.2192, allocations: 34.81 kB / 379.3 MB, free: 41.54 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002252/0.2194, allocations: 279.3 kB / 379.6 MB, free: 41.26 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.623e-05/0.2194, allocations: 16.94 kB / 379.6 MB, free: 41.25 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.394e-05/0.2195, allocations: 17.88 kB / 379.6 MB, free: 41.25 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005243/0.22, allocations: 254.7 kB / 379.9 MB, free: 41.09 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.22, allocations: 0 / 379.9 MB, free: 41.09 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.378e-05/0.2201, allocations: 6.281 kB / 379.9 MB, free: 41.09 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.346e-06/0.2201, allocations: 4.656 kB / 379.9 MB, free: 41.09 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007071/0.2208, allocations: 254.5 kB / 380.2 MB, free: 40.98 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001194/0.222, allocations: 0.8261 MB / 381 MB, free: 40.28 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006067/0.2226, allocations: 275.5 kB / 381.2 MB, free: 40.07 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002624/0.2229, allocations: 79.83 kB / 381.3 MB, free: 40.04 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.623e-05/0.2229, allocations: 9.203 kB / 381.3 MB, free: 40.03 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000403/0.2233, allocations: 165 kB / 381.5 MB, free: 39.89 MB / 298.7 MB Notification: Performance of pre-optimization done (n=11): time 1.403e-06/0.2233, allocations: 0 / 381.5 MB, free: 39.89 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.001686/0.225, allocations: 0.5187 MB / 382 MB, free: 39.58 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.765e-05/0.2251, allocations: 109.2 kB / 382.1 MB, free: 39.45 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002355/0.2253, allocations: 266 kB / 382.4 MB, free: 39.27 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.751e-05/0.2253, allocations: 35.86 kB / 382.4 MB, free: 39.23 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.057e-05/0.2254, allocations: 182.6 kB / 382.6 MB, free: 39.06 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.565e-05/0.2255, allocations: 42.03 kB / 382.6 MB, free: 39.03 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.858e-05/0.2255, allocations: 50.02 kB / 382.7 MB, free: 38.99 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.248e-05/0.2256, allocations: 340.6 kB / 383 MB, free: 38.65 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002941/0.2259, allocations: 96.25 kB / 383.1 MB, free: 38.6 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003128/0.2262, allocations: 186.7 kB / 383.3 MB, free: 38.43 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005504/0.2268, allocations: 291 kB / 383.6 MB, free: 38.2 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.2268, allocations: 1.156 kB / 383.6 MB, free: 38.2 MB / 298.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0009605/0.2278, allocations: 405.8 kB / 384 MB, free: 37.97 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.068e-05/0.2278, allocations: 37.03 kB / 384 MB, free: 37.94 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.2278, allocations: 3.25 kB / 384 MB, free: 37.94 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004047/0.2282, allocations: 98.38 kB / 384.1 MB, free: 37.89 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002196/0.2285, allocations: 47.09 kB / 384.2 MB, free: 37.88 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001244/0.2297, allocations: 1.456 MB / 385.6 MB, free: 36.45 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003049/0.23, allocations: 50.69 kB / 385.7 MB, free: 36.42 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.351e-05/0.2301, allocations: 17.09 kB / 385.7 MB, free: 36.41 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002994/0.2304, allocations: 176.7 kB / 385.9 MB, free: 36.29 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002874/0.2307, allocations: 179.6 kB / 386 MB, free: 36.11 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005084/0.2312, allocations: 277.1 kB / 386.3 MB, free: 35.88 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.735e-06/0.2312, allocations: 1 kB / 386.3 MB, free: 35.88 MB / 298.7 MB Notification: Performance of matching and sorting (n=26) (initialization_lambda0): time 0.0007085/0.2319, allocations: 335.6 kB / 386.6 MB, free: 35.68 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.716e-05/0.232, allocations: 33.42 kB / 386.7 MB, free: 35.65 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.232, allocations: 6.25 kB / 386.7 MB, free: 35.64 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.75e-05/0.232, allocations: 26.16 kB / 386.7 MB, free: 35.63 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002056/0.2323, allocations: 51.7 kB / 386.7 MB, free: 35.61 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007278/0.233, allocations: 1.379 MB / 388.1 MB, free: 34.18 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003072/0.2333, allocations: 48.06 kB / 388.2 MB, free: 34.16 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.05e-05/0.2333, allocations: 16.02 kB / 388.2 MB, free: 34.15 MB / 298.7 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 (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,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001105/0.2335, allocations: 196 kB / 388.4 MB, free: 33.96 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.67e-05/0.2335, allocations: 22.44 kB / 388.4 MB, free: 33.95 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.241e-05/0.2335, allocations: 31.33 kB / 388.4 MB, free: 33.93 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.2336, allocations: 1.156 kB / 388.4 MB, free: 33.93 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.495e-06/0.2336, allocations: 1.219 kB / 388.4 MB, free: 33.93 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.2336, allocations: 0 / 388.4 MB, free: 33.93 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009495/0.2345, allocations: 0.6127 MB / 389 MB, free: 33.41 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/0.2345, allocations: 4 kB / 389 MB, free: 33.41 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001232/0.2347, allocations: 29.59 kB / 389.1 MB, free: 33.38 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001474/0.2348, allocations: 40.83 kB / 389.1 MB, free: 33.34 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.414e-05/0.2349, allocations: 4 kB / 389.1 MB, free: 33.34 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001059/0.2359, allocations: 1.441 MB / 390.6 MB, free: 31.76 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.2359, allocations: 7.938 kB / 390.6 MB, free: 31.75 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001026/0.237, allocations: 1.005 MB / 391.6 MB, free: 30.69 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.568e-05/0.237, allocations: 104.8 kB / 391.7 MB, free: 30.57 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.798e-05/0.2371, allocations: 0 / 391.7 MB, free: 30.57 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002266/0.2373, allocations: 31.97 kB / 391.7 MB, free: 30.54 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.376e-05/0.2374, allocations: 19.91 kB / 391.7 MB, free: 30.52 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.173e-05/0.2374, allocations: 4 kB / 391.7 MB, free: 30.51 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001406/0.2375, allocations: 190 kB / 391.9 MB, free: 30.32 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2375, allocations: 4 kB / 391.9 MB, free: 30.32 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006955/0.2382, allocations: 119.7 kB / 392 MB, free: 30.2 MB / 298.7 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,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001141/0.2384, allocations: 99.25 kB / 392.1 MB, free: 30.1 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001086/0.2395, allocations: 0.6598 MB / 392.8 MB, free: 29.39 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.2395, allocations: 1.438 kB / 392.8 MB, free: 29.39 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00033/0.2398, allocations: 206.6 kB / 393 MB, free: 29.17 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003634/0.2402, allocations: 50.84 kB / 393 MB, free: 29.12 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008538/0.241, allocations: 0.6342 MB / 393.7 MB, free: 28.46 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001499/0.2412, allocations: 0.756 MB / 394.4 MB, free: 27.67 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001257/0.2413, allocations: 26.3 kB / 394.5 MB, free: 27.64 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.929e-05/0.2414, allocations: 19.44 kB / 394.5 MB, free: 27.62 MB / 298.7 MB Notification: Performance of SimCode: time 2.91e-07/0.2414, allocations: 3.938 kB / 394.5 MB, free: 27.62 MB / 298.7 MB Notification: Performance of Templates: time 0.005649/0.2471, allocations: 3.692 MB / 398.2 MB, free: 23.95 MB / 298.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/VoltageFollower/VoltageFollower.csv","../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches