Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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.VoltageFollower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001061/0.001062, allocations: 109.2 kB / 17.75 MB, free: 5.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001145/0.001145, allocations: 188.3 kB / 18.67 MB, free: 4.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.306/1.306, allocations: 222.9 MB / 242.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001002/0.001002, allocations: 51.92 kB / 352 MB, free: 3.184 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2397/0.2407, allocations: 49.43 MB / 401.4 MB, free: 8.734 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower): time 0.003764/0.2445, allocations: 2.747 MB / 404.2 MB, free: 6.105 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001005/0.2455, allocations: 0.67 MB / 404.9 MB, free: 5.43 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001153/0.2456, allocations: 4 kB / 404.9 MB, free: 5.426 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001409/0.2458, allocations: 39.58 kB / 404.9 MB, free: 5.387 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001725/0.246, allocations: 91.25 kB / 405 MB, free: 5.297 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002553/0.2462, allocations: 95.81 kB / 405.1 MB, free: 5.203 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003562/0.2466, allocations: 354.5 kB / 405.4 MB, free: 4.855 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001833/0.2468, allocations: 84.7 kB / 405.5 MB, free: 4.77 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001575/0.247, allocations: 131.5 kB / 405.6 MB, free: 4.641 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001736/0.2472, allocations: 147.3 kB / 405.8 MB, free: 4.496 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.978e-05/0.2472, allocations: 28 kB / 405.8 MB, free: 4.469 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.989e-05/0.2473, allocations: 28 kB / 405.8 MB, free: 4.441 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.381e-05/0.2473, allocations: 67.7 kB / 405.9 MB, free: 4.375 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001309/0.2475, allocations: 151.2 kB / 406.1 MB, free: 4.227 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003043/0.2478, allocations: 316 kB / 406.4 MB, free: 3.922 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.2478, allocations: 0 / 406.4 MB, free: 3.922 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.2478, allocations: 8 kB / 406.4 MB, free: 3.914 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.727e-06/0.2478, allocations: 0 / 406.4 MB, free: 3.914 MB / 318.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.001207/0.249, allocations: 0.6341 MB / 407 MB, free: 3.227 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.2491, allocations: 8.031 kB / 407 MB, free: 3.219 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.645e-05/0.2492, allocations: 32.56 kB / 407 MB, free: 3.188 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003158/0.2495, allocations: 271.7 kB / 407.3 MB, free: 2.883 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.625e-05/0.2495, allocations: 12.81 kB / 407.3 MB, free: 2.871 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.363e-05/0.2495, allocations: 24.38 kB / 407.3 MB, free: 2.848 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006351/0.2502, allocations: 282 kB / 407.6 MB, free: 2.559 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.2502, allocations: 0 / 407.6 MB, free: 2.559 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.538e-05/0.2502, allocations: 8 kB / 407.6 MB, free: 2.551 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.041e-05/0.2503, allocations: 4 kB / 407.6 MB, free: 2.547 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007548/0.251, allocations: 245.6 kB / 407.9 MB, free: 2.305 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001428/0.2525, allocations: 0.9062 MB / 408.8 MB, free: 1.328 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001482/0.2539, allocations: 439.5 kB / 409.2 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003085/0.2543, allocations: 92.73 kB / 409.3 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.971e-05/0.2543, allocations: 7.984 kB / 409.3 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004347/0.2547, allocations: 165.7 kB / 409.5 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of pre-optimization done (n=10): time 1.513e-06/0.2548, allocations: 0 / 409.5 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of matching and sorting (n=10): time 0.002016/0.2568, allocations: 0.5693 MB / 410 MB, free: 15.99 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.906e-05/0.2568, allocations: 110.8 kB / 410.1 MB, free: 15.86 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002513/0.2571, allocations: 266.6 kB / 410.4 MB, free: 15.59 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.958e-05/0.2571, allocations: 34.08 kB / 410.4 MB, free: 15.55 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001063/0.2572, allocations: 183.6 kB / 410.6 MB, free: 15.37 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.478e-05/0.2573, allocations: 39.53 kB / 410.7 MB, free: 15.33 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.751e-05/0.2574, allocations: 45.7 kB / 410.7 MB, free: 15.28 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001055/0.2575, allocations: 342.7 kB / 411 MB, free: 14.93 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003414/0.2578, allocations: 95.86 kB / 411.1 MB, free: 14.84 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003872/0.2582, allocations: 197.7 kB / 411.3 MB, free: 14.6 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000694/0.2589, allocations: 309.1 kB / 411.6 MB, free: 14.25 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.2589, allocations: 4 kB / 411.6 MB, free: 14.25 MB / 334.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001159/0.2601, allocations: 427.8 kB / 412 MB, free: 13.81 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.408e-05/0.2602, allocations: 37.69 kB / 412.1 MB, free: 13.77 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.543e-06/0.2602, allocations: 4 kB / 412.1 MB, free: 13.76 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002922/0.2605, allocations: 60.89 kB / 412.1 MB, free: 13.7 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002188/0.2607, allocations: 51.89 kB / 412.2 MB, free: 13.65 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002008/0.2627, allocations: 1.613 MB / 413.8 MB, free: 11.9 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003249/0.263, allocations: 59.8 kB / 413.9 MB, free: 11.84 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.088e-05/0.2631, allocations: 8 kB / 413.9 MB, free: 11.83 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.0001257/0.2632, allocations: 141.8 kB / 414 MB, free: 11.68 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.509e-05/0.2633, allocations: 27.66 kB / 414 MB, free: 11.66 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.046e-05/0.2633, allocations: 21.7 kB / 414.1 MB, free: 11.63 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-06/0.2633, allocations: 0 / 414.1 MB, free: 11.63 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.2633, allocations: 0 / 414.1 MB, free: 11.63 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.899e-05/0.2634, allocations: 108.8 kB / 414.2 MB, free: 11.51 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.548e-05/0.2634, allocations: 4 kB / 414.2 MB, free: 11.5 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002573/0.2637, allocations: 31.95 kB / 414.2 MB, free: 11.47 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.386e-05/0.2638, allocations: 15.98 kB / 414.2 MB, free: 11.46 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001231/0.265, allocations: 393.4 kB / 414.6 MB, free: 11.06 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001014/0.266, allocations: 486.3 kB / 415.1 MB, free: 10.57 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003147/0.2664, allocations: 87.95 kB / 415.2 MB, free: 10.48 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001762/0.2665, allocations: 198 kB / 415.4 MB, free: 10.29 MB / 334.1 MB Notification: Performance of Backend: time 2.5e-07/0.2665, allocations: 0 / 415.4 MB, free: 10.29 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009183/0.2675, allocations: 400.4 kB / 415.7 MB, free: 9.871 MB / 334.1 MB Notification: Performance of SimCode: time 0.0008385/0.2683, allocations: 0.8793 MB / 416.6 MB, free: 8.941 MB / 334.1 MB Notification: Performance of Templates: time 0.00704/0.2754, allocations: 3.68 MB / 420.3 MB, free: 5.297 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches