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.001254/0.001254, allocations: 98.45 kB / 17 MB, free: 6.035 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001667/0.001667, allocations: 194 kB / 17.91 MB, free: 5.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.533/1.533, allocations: 227.7 MB / 246.4 MB, free: 9.715 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002737/0.0002739, allocations: 8 kB / 307.1 MB, free: 0.9414 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1239/0.1242, allocations: 51.51 MB / 358.6 MB, free: 13.42 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower): time 0.003746/0.1281, allocations: 2.354 MB / 361 MB, free: 11.05 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001601/0.1297, allocations: 0.6742 MB / 361.7 MB, free: 10.38 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003525/0.1301, allocations: 4 kB / 361.7 MB, free: 10.37 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002164/0.1303, allocations: 31.75 kB / 361.7 MB, free: 10.34 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003322/0.1307, allocations: 75.39 kB / 361.8 MB, free: 10.27 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003745/0.1311, allocations: 59.92 kB / 361.8 MB, free: 10.21 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005343/0.1316, allocations: 310.6 kB / 362.1 MB, free: 9.902 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002396/0.1318, allocations: 69.12 kB / 362.2 MB, free: 9.836 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002747/0.1321, allocations: 111.6 kB / 362.3 MB, free: 9.727 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002615/0.1324, allocations: 135.4 kB / 362.4 MB, free: 9.594 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001477/0.1326, allocations: 16 kB / 362.5 MB, free: 9.578 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.119e-05/0.1326, allocations: 12 kB / 362.5 MB, free: 9.566 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.3e-05/0.1327, allocations: 47.77 kB / 362.5 MB, free: 9.52 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001073/0.1328, allocations: 73.58 kB / 362.6 MB, free: 9.441 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002913/0.1331, allocations: 235.6 kB / 362.8 MB, free: 9.211 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/0.1331, allocations: 0 / 362.8 MB, free: 9.211 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1331, allocations: 0 / 362.8 MB, free: 9.211 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.264e-05/0.1332, allocations: 0 / 362.8 MB, free: 9.211 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.001307/0.1345, allocations: 0.6131 MB / 363.4 MB, free: 8.539 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/0.1345, allocations: 12.03 kB / 363.4 MB, free: 8.527 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000128/0.1347, allocations: 35.62 kB / 363.5 MB, free: 8.492 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004457/0.1351, allocations: 258.3 kB / 363.7 MB, free: 8.199 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.49e-05/0.1352, allocations: 12.44 kB / 363.7 MB, free: 8.188 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.806e-05/0.1352, allocations: 27.95 kB / 363.8 MB, free: 8.16 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006639/0.1359, allocations: 289.7 kB / 364.1 MB, free: 7.863 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.1359, allocations: 4 kB / 364.1 MB, free: 7.859 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.339e-05/0.1359, allocations: 15.97 kB / 364.1 MB, free: 7.844 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.458e-06/0.136, allocations: 4 kB / 364.1 MB, free: 7.84 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007223/0.1367, allocations: 265.6 kB / 364.3 MB, free: 7.582 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001852/0.1386, allocations: 0.9336 MB / 365.3 MB, free: 6.578 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001441/0.14, allocations: 491.5 kB / 365.7 MB, free: 6.07 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003085/0.1403, allocations: 108.8 kB / 365.9 MB, free: 5.961 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.716e-05/0.1404, allocations: 0 / 365.9 MB, free: 5.961 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005269/0.1409, allocations: 185.8 kB / 366 MB, free: 5.758 MB / 302.1 MB Notification: Performance of pre-optimization done (n=10): time 2.054e-06/0.1409, allocations: 3.938 kB / 366 MB, free: 5.754 MB / 302.1 MB Notification: Performance of matching and sorting (n=10): time 0.001962/0.1429, allocations: 0.6512 MB / 366.7 MB, free: 5.074 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.711e-05/0.143, allocations: 106.8 kB / 366.8 MB, free: 4.945 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003529/0.1433, allocations: 262.7 kB / 367.1 MB, free: 4.68 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.404e-05/0.1434, allocations: 33.7 kB / 367.1 MB, free: 4.641 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001681/0.1436, allocations: 183.6 kB / 367.3 MB, free: 4.457 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.542e-05/0.1436, allocations: 35.55 kB / 367.3 MB, free: 4.422 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.133e-05/0.1436, allocations: 3.938 kB / 367.3 MB, free: 4.418 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001705/0.1438, allocations: 338.8 kB / 367.6 MB, free: 4.078 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003312/0.1442, allocations: 103.9 kB / 367.7 MB, free: 3.977 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003933/0.1446, allocations: 214.8 kB / 367.9 MB, free: 3.719 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003868/0.145, allocations: 153.6 kB / 368.1 MB, free: 3.562 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.578e-06/0.145, allocations: 0 / 368.1 MB, free: 3.562 MB / 302.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001189/0.1462, allocations: 479 kB / 368.6 MB, free: 3.082 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.734e-05/0.1462, allocations: 37.7 kB / 368.6 MB, free: 3.039 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.215e-05/0.1463, allocations: 4 kB / 368.6 MB, free: 3.035 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003472/0.1466, allocations: 64.88 kB / 368.7 MB, free: 2.969 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002279/0.1468, allocations: 55.91 kB / 368.7 MB, free: 2.914 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002159/0.149, allocations: 1.53 MB / 370.3 MB, free: 1.25 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003338/0.1494, allocations: 59.81 kB / 370.3 MB, free: 1.191 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.908e-05/0.1494, allocations: 16 kB / 370.3 MB, free: 1.176 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 ($whenCondition1,$PRE.vIn.signalSource.T_start,vIn.signalSource.T_start,$PRE.vIn.signalSource.count,vIn.signalSource.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001653/0.1496, allocations: 146.4 kB / 370.5 MB, free: 1.023 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.084e-05/0.1496, allocations: 27.7 kB / 370.5 MB, free: 0.9961 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.181e-05/0.1497, allocations: 21.72 kB / 370.5 MB, free: 0.9805 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.161e-06/0.1497, allocations: 7.984 kB / 370.5 MB, free: 0.9727 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.055e-06/0.1497, allocations: 4.375 kB / 370.5 MB, free: 0.9688 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.167e-06/0.1497, allocations: 0 / 370.5 MB, free: 0.9688 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001302/0.151, allocations: 0.6708 MB / 371.2 MB, free: 244 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.549e-06/0.151, allocations: 8 kB / 371.2 MB, free: 236 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001296/0.1512, allocations: 35.91 kB / 371.2 MB, free: 200 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001999/0.1514, allocations: 56.83 kB / 371.3 MB, free: 140 kB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.566e-05/0.1514, allocations: 7.984 kB / 371.3 MB, free: 132 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2474/0.3988, allocations: 1.508 MB / 372.8 MB, free: 18.03 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.3988, allocations: 1.094 kB / 372.8 MB, free: 18.03 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001102/0.3999, allocations: 431.6 kB / 373.2 MB, free: 17.89 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.852e-05/0.4, allocations: 97.67 kB / 373.3 MB, free: 17.8 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.961e-05/0.4001, allocations: 4.516 kB / 373.3 MB, free: 17.8 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002612/0.4003, allocations: 43.83 kB / 373.4 MB, free: 17.8 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.863e-05/0.4004, allocations: 16.25 kB / 373.4 MB, free: 17.8 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.507e-05/0.4004, allocations: 3.859 kB / 373.4 MB, free: 17.8 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002576/0.4007, allocations: 191.4 kB / 373.6 MB, free: 17.72 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.4007, allocations: 0 / 373.6 MB, free: 17.72 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004461/0.4012, allocations: 67.98 kB / 373.7 MB, free: 17.72 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001275/0.4013, allocations: 102.3 kB / 373.8 MB, free: 17.63 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009373/0.4022, allocations: 421.5 kB / 374.2 MB, free: 17.46 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.4023, allocations: 0.9688 kB / 374.2 MB, free: 17.46 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003858/0.4027, allocations: 224.1 kB / 374.4 MB, free: 17.36 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004038/0.4031, allocations: 44.5 kB / 374.4 MB, free: 17.36 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009406/0.404, allocations: 0.5139 MB / 374.9 MB, free: 17.08 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001995/0.4042, allocations: 0.7436 MB / 375.7 MB, free: 16.38 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001211/0.4044, allocations: 29 kB / 375.7 MB, free: 16.38 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.406e-05/0.4044, allocations: 22.88 kB / 375.7 MB, free: 16.37 MB / 302.1 MB Notification: Performance of SimCode: time 9.92e-07/0.4044, allocations: 0 / 375.7 MB, free: 16.37 MB / 302.1 MB Notification: Performance of Templates: time 0.007663/0.4121, allocations: 3.081 MB / 378.8 MB, free: 16.2 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