Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.VoltageFollower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001577/0.001577, allocations: 117.7 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001268/0.001268, allocations: 208.8 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.315/1.315, allocations: 227.4 MB / 247.6 MB, free: 10.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001158/0.001158, allocations: 55.91 kB / 359.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.242/0.2432, allocations: 50.54 MB / 410 MB, free: 1.617 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower): time 0.004121/0.2473, allocations: 2.753 MB / 412.7 MB, free: 14.86 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001162/0.2485, allocations: 0.7011 MB / 413.4 MB, free: 14.14 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001132/0.2486, allocations: 7.938 kB / 413.4 MB, free: 14.14 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001404/0.2488, allocations: 39.58 kB / 413.5 MB, free: 14.1 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001684/0.249, allocations: 91.25 kB / 413.6 MB, free: 14.01 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002479/0.2492, allocations: 95.81 kB / 413.7 MB, free: 13.91 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003722/0.2496, allocations: 350.6 kB / 414 MB, free: 13.57 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001853/0.2498, allocations: 84.7 kB / 414.1 MB, free: 13.48 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001649/0.25, allocations: 139.4 kB / 414.2 MB, free: 13.34 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001735/0.2502, allocations: 139.4 kB / 414.3 MB, free: 13.21 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.055e-05/0.2502, allocations: 32 kB / 414.4 MB, free: 13.18 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.137e-05/0.2503, allocations: 28 kB / 414.4 MB, free: 13.15 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.574e-05/0.2503, allocations: 63.77 kB / 414.5 MB, free: 13.09 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001291/0.2505, allocations: 147.2 kB / 414.6 MB, free: 12.94 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003198/0.2508, allocations: 320 kB / 414.9 MB, free: 12.63 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.2508, allocations: 0 / 414.9 MB, free: 12.63 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.2508, allocations: 0 / 414.9 MB, free: 12.63 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.651e-06/0.2508, allocations: 0 / 414.9 MB, free: 12.63 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.001197/0.252, allocations: 0.6379 MB / 415.6 MB, free: 11.94 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.208e-05/0.2521, allocations: 8.031 kB / 415.6 MB, free: 11.93 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.808e-05/0.2522, allocations: 28.66 kB / 415.6 MB, free: 11.91 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003531/0.2525, allocations: 279.4 kB / 415.9 MB, free: 11.59 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.064e-05/0.2525, allocations: 16.81 kB / 415.9 MB, free: 11.58 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.114e-05/0.2526, allocations: 24.36 kB / 415.9 MB, free: 11.55 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006373/0.2532, allocations: 278.1 kB / 416.2 MB, free: 11.27 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.2533, allocations: 0 / 416.2 MB, free: 11.27 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.881e-05/0.2533, allocations: 15.98 kB / 416.2 MB, free: 11.26 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.643e-06/0.2533, allocations: 4 kB / 416.2 MB, free: 11.25 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000765/0.2541, allocations: 245.5 kB / 416.4 MB, free: 11.01 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001422/0.2555, allocations: 0.8945 MB / 417.3 MB, free: 10.05 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001497/0.257, allocations: 443.5 kB / 417.8 MB, free: 9.586 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003087/0.2573, allocations: 92.66 kB / 417.9 MB, free: 9.492 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.014e-05/0.2574, allocations: 4 kB / 417.9 MB, free: 9.488 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004448/0.2578, allocations: 173.8 kB / 418 MB, free: 9.297 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 1.383e-06/0.2578, allocations: 0 / 418 MB, free: 9.297 MB / 334.1 MB Notification: Performance of matching and sorting (n=10): time 0.002066/0.2599, allocations: 0.5732 MB / 418.6 MB, free: 8.695 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.829e-05/0.26, allocations: 106.8 kB / 418.7 MB, free: 8.566 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002662/0.2603, allocations: 274.6 kB / 419 MB, free: 8.293 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.151e-05/0.2603, allocations: 25.7 kB / 419 MB, free: 8.262 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001172/0.2604, allocations: 187.6 kB / 419.2 MB, free: 8.074 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.271e-05/0.2605, allocations: 39.53 kB / 419.2 MB, free: 8.035 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.284e-05/0.2606, allocations: 45.7 kB / 419.3 MB, free: 7.984 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001281/0.2607, allocations: 334.8 kB / 419.6 MB, free: 7.648 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000349/0.2611, allocations: 95.92 kB / 419.7 MB, free: 7.555 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003971/0.2615, allocations: 201.6 kB / 419.9 MB, free: 7.309 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007257/0.2622, allocations: 312.9 kB / 420.2 MB, free: 6.957 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.2622, allocations: 0 / 420.2 MB, free: 6.957 MB / 334.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001188/0.2634, allocations: 427.8 kB / 420.6 MB, free: 6.523 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.999e-05/0.2635, allocations: 37.69 kB / 420.6 MB, free: 6.48 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.2635, allocations: 7.938 kB / 420.7 MB, free: 6.473 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003044/0.2638, allocations: 56.81 kB / 420.7 MB, free: 6.414 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002252/0.264, allocations: 55.97 kB / 420.8 MB, free: 6.359 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00214/0.2662, allocations: 1.609 MB / 422.4 MB, free: 4.613 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003276/0.2665, allocations: 55.66 kB / 422.4 MB, free: 4.559 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.108e-05/0.2665, allocations: 12.06 kB / 422.4 MB, free: 4.547 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001393/0.2667, allocations: 153.7 kB / 422.6 MB, free: 4.387 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.39e-05/0.2667, allocations: 20.12 kB / 422.6 MB, free: 4.367 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.538e-05/0.2668, allocations: 25.72 kB / 422.6 MB, free: 4.34 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.2668, allocations: 3.984 kB / 422.6 MB, free: 4.336 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/0.2668, allocations: 0 / 422.6 MB, free: 4.336 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.2668, allocations: 3.938 kB / 422.6 MB, free: 4.332 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001292/0.2681, allocations: 0.6434 MB / 423.3 MB, free: 3.629 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.2681, allocations: 0 / 423.3 MB, free: 3.629 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001409/0.2683, allocations: 23.97 kB / 423.3 MB, free: 3.605 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002183/0.2685, allocations: 52.83 kB / 423.4 MB, free: 3.551 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.577e-05/0.2685, allocations: 15.92 kB / 423.4 MB, free: 3.535 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001888/0.2704, allocations: 1.593 MB / 425 MB, free: 1.793 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.2704, allocations: 0 / 425 MB, free: 1.793 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009988/0.2714, allocations: 392 kB / 425.4 MB, free: 1.391 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.829e-05/0.2715, allocations: 96.83 kB / 425.5 MB, free: 1.277 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.737e-05/0.2715, allocations: 4 kB / 425.5 MB, free: 1.273 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002738/0.2718, allocations: 35.95 kB / 425.5 MB, free: 1.238 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.565e-05/0.2719, allocations: 19.92 kB / 425.5 MB, free: 1.219 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.131e-05/0.2719, allocations: 4 kB / 425.5 MB, free: 1.215 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001694/0.2721, allocations: 190 kB / 425.7 MB, free: 1.031 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2721, allocations: 0 / 425.7 MB, free: 1.031 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003501/0.2724, allocations: 63.84 kB / 425.8 MB, free: 0.9688 MB / 334.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,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001296/0.2726, allocations: 107.2 kB / 425.9 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009179/0.2735, allocations: 394.4 kB / 426.3 MB, free: 452 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.2735, allocations: 192 / 426.3 MB, free: 452 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004263/0.274, allocations: 210.7 kB / 426.5 MB, free: 228 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003939/0.2744, allocations: 56.22 kB / 426.5 MB, free: 176 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000927/0.2753, allocations: 465.1 kB / 427 MB, free: 15.69 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002685/0.2756, allocations: 0.7402 MB / 427.7 MB, free: 14.92 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.332e-05/0.2757, allocations: 23.42 kB / 427.7 MB, free: 14.89 MB / 350.1 MB Notification: Performance of SimCode: time 2.71e-07/0.2757, allocations: 4 kB / 427.7 MB, free: 14.89 MB / 350.1 MB Notification: Performance of Templates: time 0.005727/0.2814, allocations: 4.139 MB / 431.9 MB, free: 10.77 MB / 350.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/VoltageFollower/VoltageFollower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches