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.001264/0.001264, allocations: 101 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001326/0.001326, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.452/1.452, allocations: 227.4 MB / 246.3 MB, free: 9.145 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 63.98 kB / 306.3 MB, free: 0.8203 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1092/0.1105, allocations: 50.54 MB / 356.8 MB, free: 14.28 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower): time 0.003964/0.1145, allocations: 2.797 MB / 359.6 MB, free: 11.46 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001436/0.116, allocations: 0.7129 MB / 360.3 MB, free: 10.74 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002377/0.1163, allocations: 4 kB / 360.3 MB, free: 10.74 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001683/0.1165, allocations: 31.77 kB / 360.4 MB, free: 10.71 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002402/0.1167, allocations: 79.38 kB / 360.4 MB, free: 10.63 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002837/0.117, allocations: 71.88 kB / 360.5 MB, free: 10.56 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003593/0.1174, allocations: 334.6 kB / 360.8 MB, free: 10.23 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001738/0.1176, allocations: 79.88 kB / 360.9 MB, free: 10.16 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001586/0.1177, allocations: 115.5 kB / 361 MB, free: 10.04 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001639/0.1179, allocations: 139.4 kB / 361.2 MB, free: 9.906 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.913e-05/0.118, allocations: 23.94 kB / 361.2 MB, free: 9.883 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.542e-05/0.118, allocations: 16 kB / 361.2 MB, free: 9.867 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.453e-05/0.1181, allocations: 55.75 kB / 361.3 MB, free: 9.812 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001596/0.1183, allocations: 131.3 kB / 361.4 MB, free: 9.684 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000328/0.1186, allocations: 303.1 kB / 361.7 MB, free: 9.387 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.1186, allocations: 4 kB / 361.7 MB, free: 9.383 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1186, allocations: 0 / 361.7 MB, free: 9.383 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.957e-06/0.1186, allocations: 4 kB / 361.7 MB, free: 9.379 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.001399/0.12, allocations: 0.6341 MB / 362.3 MB, free: 8.684 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.1201, allocations: 12.03 kB / 362.3 MB, free: 8.672 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.106e-05/0.1202, allocations: 28.56 kB / 362.4 MB, free: 8.645 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000346/0.1205, allocations: 267.6 kB / 362.6 MB, free: 8.344 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.096e-05/0.1206, allocations: 16.81 kB / 362.6 MB, free: 8.328 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.061e-05/0.1206, allocations: 24.36 kB / 362.7 MB, free: 8.305 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006435/0.1213, allocations: 282 kB / 362.9 MB, free: 8.016 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.1213, allocations: 0 / 362.9 MB, free: 8.016 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.053e-05/0.1213, allocations: 12 kB / 362.9 MB, free: 8.004 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.365e-06/0.1214, allocations: 4 kB / 362.9 MB, free: 8 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007436/0.1221, allocations: 241.6 kB / 363.2 MB, free: 7.766 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001562/0.1237, allocations: 0.9062 MB / 364.1 MB, free: 6.789 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001468/0.1252, allocations: 439.5 kB / 364.5 MB, free: 6.332 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003173/0.1255, allocations: 96.66 kB / 364.6 MB, free: 6.234 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.037e-05/0.1255, allocations: 0 / 364.6 MB, free: 6.234 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004923/0.126, allocations: 169.8 kB / 364.8 MB, free: 6.047 MB / 302.1 MB Notification: Performance of pre-optimization done (n=10): time 1.172e-06/0.126, allocations: 3.938 kB / 364.8 MB, free: 6.043 MB / 302.1 MB Notification: Performance of matching and sorting (n=10): time 0.002036/0.1281, allocations: 0.5771 MB / 365.4 MB, free: 5.438 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.64e-05/0.1281, allocations: 110.8 kB / 365.5 MB, free: 5.305 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002963/0.1285, allocations: 262.7 kB / 365.7 MB, free: 5.039 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.736e-05/0.1285, allocations: 33.7 kB / 365.8 MB, free: 5 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00013/0.1286, allocations: 195.5 kB / 366 MB, free: 4.805 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.05e-05/0.1287, allocations: 27.61 kB / 366 MB, free: 4.777 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.888e-05/0.1288, allocations: 49.61 kB / 366 MB, free: 4.723 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001338/0.1289, allocations: 338.8 kB / 366.4 MB, free: 4.383 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003333/0.1292, allocations: 99.86 kB / 366.5 MB, free: 4.285 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003874/0.1296, allocations: 198.7 kB / 366.6 MB, free: 4.043 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006905/0.1303, allocations: 305.4 kB / 366.9 MB, free: 3.695 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.1303, allocations: 0 / 366.9 MB, free: 3.695 MB / 302.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001155/0.1315, allocations: 419.9 kB / 367.4 MB, free: 3.27 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.768e-05/0.1316, allocations: 41.75 kB / 367.4 MB, free: 3.223 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.916e-06/0.1316, allocations: 4 kB / 367.4 MB, free: 3.219 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002906/0.1319, allocations: 64.81 kB / 367.5 MB, free: 3.152 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002223/0.1321, allocations: 47.91 kB / 367.5 MB, free: 3.105 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001954/0.1341, allocations: 1.498 MB / 369 MB, free: 1.477 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003294/0.1344, allocations: 59.73 kB / 369.1 MB, free: 1.418 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.549e-05/0.1345, allocations: 16 kB / 369.1 MB, free: 1.402 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.0001415/0.1346, allocations: 138.4 kB / 369.2 MB, free: 1.258 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.739e-05/0.1347, allocations: 23.72 kB / 369.2 MB, free: 1.234 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.602e-05/0.1347, allocations: 29.64 kB / 369.3 MB, free: 1.211 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.1347, allocations: 8 kB / 369.3 MB, free: 1.203 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.964e-06/0.1347, allocations: 0 / 369.3 MB, free: 1.203 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.1347, allocations: 0 / 369.3 MB, free: 1.203 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001318/0.1361, allocations: 0.6395 MB / 369.9 MB, free: 0.5039 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.1361, allocations: 3.938 kB / 369.9 MB, free: 0.5 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000143/0.1362, allocations: 27.97 kB / 369.9 MB, free: 484 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002138/0.1364, allocations: 56.81 kB / 370 MB, free: 424 kB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.466e-05/0.1365, allocations: 0 / 370 MB, free: 424 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2022/0.3387, allocations: 1.482 MB / 371.5 MB, free: 19.17 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.3387, allocations: 1.359 kB / 371.5 MB, free: 19.17 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001189/0.3399, allocations: 394.9 kB / 371.9 MB, free: 19.04 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001076/0.34, allocations: 103.2 kB / 372 MB, free: 18.94 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.675e-05/0.3401, allocations: 5.641 kB / 372 MB, free: 18.94 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002993/0.3404, allocations: 33.42 kB / 372 MB, free: 18.94 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.832e-05/0.3405, allocations: 19.75 kB / 372 MB, free: 18.94 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.801e-05/0.3405, allocations: 6.812 kB / 372 MB, free: 18.94 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002296/0.3408, allocations: 192 kB / 372.2 MB, free: 18.86 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3408, allocations: 0 / 372.2 MB, free: 18.86 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.00044/0.3412, allocations: 63.36 kB / 372.3 MB, free: 18.86 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.0001598/0.3414, allocations: 98.88 kB / 372.4 MB, free: 18.78 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009935/0.3424, allocations: 394.9 kB / 372.8 MB, free: 18.61 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.3424, allocations: 4.812 kB / 372.8 MB, free: 18.61 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004314/0.3429, allocations: 203.9 kB / 373 MB, free: 18.5 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004627/0.3433, allocations: 47.42 kB / 373 MB, free: 18.5 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001133/0.3445, allocations: 0.5117 MB / 373.5 MB, free: 18.2 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002155/0.3447, allocations: 0.7421 MB / 374.3 MB, free: 17.51 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001432/0.3449, allocations: 25.45 kB / 374.3 MB, free: 17.5 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.226e-05/0.3449, allocations: 23.44 kB / 374.3 MB, free: 17.5 MB / 302.1 MB Notification: Performance of SimCode: time 6.91e-07/0.3449, allocations: 0 / 374.3 MB, free: 17.5 MB / 302.1 MB Notification: Performance of Templates: time 0.007981/0.3529, allocations: 3.203 MB / 377.5 MB, free: 17.37 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