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.001525/0.001525, allocations: 103.8 kB / 17.63 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001652/0.001652, allocations: 206.4 kB / 18.58 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.538/1.538, allocations: 227.4 MB / 246.8 MB, free: 10.63 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001351/0.001351, allocations: 67.64 kB / 307 MB, free: 0.6328 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1202/0.1216, allocations: 50.54 MB / 357.5 MB, free: 14.09 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower): time 0.004165/0.1258, allocations: 2.751 MB / 360.2 MB, free: 11.32 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001427/0.1272, allocations: 0.7089 MB / 361 MB, free: 10.61 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002117/0.1275, allocations: 4 kB / 361 MB, free: 10.6 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000158/0.1276, allocations: 35.58 kB / 361 MB, free: 10.57 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002388/0.1279, allocations: 91.25 kB / 361.1 MB, free: 10.48 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003038/0.1282, allocations: 91.81 kB / 361.2 MB, free: 10.39 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004453/0.1287, allocations: 362.5 kB / 361.5 MB, free: 10.03 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001977/0.1289, allocations: 82.34 kB / 361.6 MB, free: 9.953 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001968/0.1291, allocations: 135.5 kB / 361.7 MB, free: 9.82 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002116/0.1293, allocations: 143.4 kB / 361.9 MB, free: 9.68 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.363e-05/0.1294, allocations: 32 kB / 361.9 MB, free: 9.648 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.297e-05/0.1294, allocations: 28 kB / 361.9 MB, free: 9.621 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.328e-05/0.1295, allocations: 59.7 kB / 362 MB, free: 9.562 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001447/0.1297, allocations: 147.3 kB / 362.1 MB, free: 9.418 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003313/0.13, allocations: 327.1 kB / 362.5 MB, free: 9.098 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.13, allocations: 0 / 362.5 MB, free: 9.098 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.22e-07/0.13, allocations: 0 / 362.5 MB, free: 9.098 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.702e-06/0.13, allocations: 0 / 362.5 MB, free: 9.098 MB / 302.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.00124/0.1313, allocations: 0.634 MB / 363.1 MB, free: 8.406 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.419e-05/0.1313, allocations: 8.031 kB / 363.1 MB, free: 8.398 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.991e-05/0.1314, allocations: 32.56 kB / 363.1 MB, free: 8.367 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003454/0.1318, allocations: 271.5 kB / 363.4 MB, free: 8.062 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.829e-05/0.1318, allocations: 20.75 kB / 363.4 MB, free: 8.039 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.752e-05/0.1318, allocations: 16.38 kB / 363.4 MB, free: 8.023 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006608/0.1325, allocations: 286 kB / 363.7 MB, free: 7.73 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.1325, allocations: 0 / 363.7 MB, free: 7.73 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.784e-05/0.1326, allocations: 12 kB / 363.7 MB, free: 7.719 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.256e-06/0.1326, allocations: 4 kB / 363.7 MB, free: 7.715 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007869/0.1334, allocations: 245.6 kB / 364 MB, free: 7.477 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00156/0.1349, allocations: 0.8985 MB / 364.9 MB, free: 6.508 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001671/0.1366, allocations: 447.4 kB / 365.3 MB, free: 6.043 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003401/0.137, allocations: 92.72 kB / 365.4 MB, free: 5.949 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.213e-05/0.137, allocations: 0 / 365.4 MB, free: 5.949 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000569/0.1376, allocations: 165.8 kB / 365.6 MB, free: 5.766 MB / 302.1 MB Notification: Performance of pre-optimization done (n=10): time 2.134e-06/0.1376, allocations: 0 / 365.6 MB, free: 5.766 MB / 302.1 MB Notification: Performance of matching and sorting (n=10): time 0.00226/0.1399, allocations: 0.5731 MB / 366.1 MB, free: 5.164 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.76e-05/0.1399, allocations: 110.8 kB / 366.2 MB, free: 5.031 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003376/0.1403, allocations: 266.7 kB / 366.5 MB, free: 4.762 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.34e-05/0.1403, allocations: 37.69 kB / 366.5 MB, free: 4.719 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001628/0.1405, allocations: 191.6 kB / 366.7 MB, free: 4.527 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.326e-05/0.1405, allocations: 27.61 kB / 366.7 MB, free: 4.5 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001014/0.1407, allocations: 49.61 kB / 366.8 MB, free: 4.445 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000169/0.1408, allocations: 330.8 kB / 367.1 MB, free: 4.113 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003681/0.1412, allocations: 99.91 kB / 367.2 MB, free: 4.016 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004126/0.1416, allocations: 206.6 kB / 367.4 MB, free: 3.766 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007207/0.1424, allocations: 293.5 kB / 367.7 MB, free: 3.43 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.52e-06/0.1424, allocations: 8 kB / 367.7 MB, free: 3.422 MB / 302.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001245/0.1436, allocations: 428.2 kB / 368.1 MB, free: 2.988 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.381e-05/0.1437, allocations: 33.7 kB / 368.2 MB, free: 2.949 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.828e-06/0.1437, allocations: 4 kB / 368.2 MB, free: 2.945 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003272/0.144, allocations: 60.81 kB / 368.2 MB, free: 2.883 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002237/0.1443, allocations: 59.86 kB / 368.3 MB, free: 2.824 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002243/0.1465, allocations: 1.611 MB / 369.9 MB, free: 1.074 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003384/0.1469, allocations: 59.77 kB / 370 MB, free: 1.016 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.413e-05/0.1469, allocations: 12 kB / 370 MB, free: 1.004 MB / 302.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.000141/0.1471, allocations: 146.3 kB / 370.1 MB, free: 0.8516 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.943e-05/0.1471, allocations: 27.66 kB / 370.1 MB, free: 0.8242 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.139e-05/0.1472, allocations: 21.7 kB / 370.2 MB, free: 0.8086 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.1472, allocations: 0 / 370.2 MB, free: 0.8086 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.1472, allocations: 4 kB / 370.2 MB, free: 0.8047 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.1472, allocations: 0 / 370.2 MB, free: 0.8047 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001331/0.1485, allocations: 0.6474 MB / 370.8 MB, free: 100 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.554e-06/0.1485, allocations: 0 / 370.8 MB, free: 100 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001377/0.1487, allocations: 23.97 kB / 370.8 MB, free: 76 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002175/0.1489, allocations: 56.81 kB / 370.9 MB, free: 16 kB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.527e-05/0.1489, allocations: 7.938 kB / 370.9 MB, free: 8 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2091/0.358, allocations: 1.587 MB / 372.5 MB, free: 19.02 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.3581, allocations: 1.609 kB / 372.5 MB, free: 19.02 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00121/0.3593, allocations: 394.2 kB / 372.9 MB, free: 18.88 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.75e-05/0.3594, allocations: 102.9 kB / 373 MB, free: 18.79 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.136e-05/0.3594, allocations: 6.125 kB / 373 MB, free: 18.78 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002929/0.3597, allocations: 39.81 kB / 373 MB, free: 18.78 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.108e-05/0.3598, allocations: 16.22 kB / 373 MB, free: 18.78 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.419e-05/0.3599, allocations: 5.812 kB / 373 MB, free: 18.78 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002143/0.3601, allocations: 188.3 kB / 373.2 MB, free: 18.7 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3601, allocations: 0 / 373.2 MB, free: 18.7 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004468/0.3605, allocations: 64.83 kB / 373.3 MB, free: 18.7 MB / 302.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.0001606/0.3607, allocations: 105.6 kB / 373.4 MB, free: 18.62 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001022/0.3617, allocations: 389.5 kB / 373.8 MB, free: 18.45 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3617, allocations: 3.969 kB / 373.8 MB, free: 18.45 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004238/0.3622, allocations: 207.5 kB / 374 MB, free: 18.34 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004133/0.3626, allocations: 53.56 kB / 374 MB, free: 18.34 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001094/0.3637, allocations: 444.9 kB / 374.5 MB, free: 18.13 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002352/0.364, allocations: 0.7435 MB / 375.2 MB, free: 17.43 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001259/0.3641, allocations: 24.39 kB / 375.2 MB, free: 17.43 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.948e-05/0.3642, allocations: 23.45 kB / 375.2 MB, free: 17.42 MB / 302.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3642, allocations: 1.156 kB / 375.2 MB, free: 17.42 MB / 302.1 MB Notification: Performance of Templates: time 0.008921/0.3731, allocations: 3.537 MB / 378.8 MB, free: 17.27 MB / 302.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/VoltageFollower/VoltageFollower.csv","/var/lib/jenkins/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