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.001324/0.001324, 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.001487/0.001487, allocations: 204.9 kB / 19.4 MB, free: 3.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.343/1.343, allocations: 227.4 MB / 247.6 MB, free: 10.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001134/0.001134, allocations: 59.89 kB / 359.4 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2315/0.2327, allocations: 50.55 MB / 410 MB, free: 1.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower): time 0.003488/0.2362, allocations: 2.738 MB / 412.7 MB, free: 14.84 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001159/0.2374, allocations: 0.7128 MB / 413.4 MB, free: 14.12 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001565/0.2376, allocations: 4 kB / 413.4 MB, free: 14.11 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001449/0.2377, allocations: 39.58 kB / 413.5 MB, free: 14.07 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001905/0.2379, allocations: 95.25 kB / 413.6 MB, free: 13.98 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002549/0.2382, allocations: 87.83 kB / 413.6 MB, free: 13.89 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003596/0.2386, allocations: 358.5 kB / 414 MB, free: 13.54 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001704/0.2387, allocations: 80.7 kB / 414.1 MB, free: 13.46 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001641/0.2389, allocations: 131.5 kB / 414.2 MB, free: 13.33 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001828/0.2391, allocations: 151.3 kB / 414.3 MB, free: 13.18 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.903e-05/0.2392, allocations: 36 kB / 414.4 MB, free: 13.14 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.283e-05/0.2392, allocations: 28 kB / 414.4 MB, free: 13.12 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.721e-05/0.2393, allocations: 63.7 kB / 414.5 MB, free: 13.05 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001219/0.2394, allocations: 139.3 kB / 414.6 MB, free: 12.92 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003063/0.2397, allocations: 328 kB / 414.9 MB, free: 12.6 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.2397, allocations: 0 / 414.9 MB, free: 12.6 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.2397, allocations: 3.938 kB / 414.9 MB, free: 12.6 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.255e-06/0.2397, allocations: 0 / 414.9 MB, free: 12.6 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.001124/0.2409, allocations: 0.634 MB / 415.6 MB, free: 11.91 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.123e-05/0.2409, allocations: 8.031 kB / 415.6 MB, free: 11.9 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.786e-05/0.241, allocations: 28.66 kB / 415.6 MB, free: 11.88 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003315/0.2413, allocations: 279.5 kB / 415.9 MB, free: 11.56 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.69e-05/0.2413, allocations: 16.81 kB / 415.9 MB, free: 11.55 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.391e-05/0.2414, allocations: 20.38 kB / 415.9 MB, free: 11.53 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005963/0.242, allocations: 278.1 kB / 416.2 MB, free: 11.25 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.242, allocations: 7.922 kB / 416.2 MB, free: 11.24 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.73e-05/0.242, allocations: 12 kB / 416.2 MB, free: 11.23 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.221e-06/0.242, allocations: 4 kB / 416.2 MB, free: 11.22 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007168/0.2428, allocations: 241.6 kB / 416.4 MB, free: 10.98 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001479/0.2443, allocations: 0.8985 MB / 417.3 MB, free: 10.02 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001472/0.2457, allocations: 443.4 kB / 417.8 MB, free: 9.555 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003045/0.2461, allocations: 92.72 kB / 417.9 MB, free: 9.461 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.24e-05/0.2461, allocations: 4 kB / 417.9 MB, free: 9.457 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004149/0.2465, allocations: 161.8 kB / 418 MB, free: 9.277 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 2.575e-06/0.2465, allocations: 4 kB / 418 MB, free: 9.273 MB / 334.1 MB Notification: Performance of matching and sorting (n=10): time 0.001962/0.2485, allocations: 0.5734 MB / 418.6 MB, free: 8.672 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.194e-05/0.2486, allocations: 106.8 kB / 418.7 MB, free: 8.543 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002729/0.2488, allocations: 274.7 kB / 419 MB, free: 8.27 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.726e-05/0.2489, allocations: 33.64 kB / 419 MB, free: 8.23 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001237/0.249, allocations: 187.6 kB / 419.2 MB, free: 8.043 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.079e-05/0.249, allocations: 31.55 kB / 419.2 MB, free: 8.012 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.598e-05/0.2491, allocations: 49.7 kB / 419.3 MB, free: 7.957 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001102/0.2493, allocations: 334.8 kB / 419.6 MB, free: 7.621 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003371/0.2496, allocations: 95.92 kB / 419.7 MB, free: 7.527 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003825/0.25, allocations: 205.5 kB / 419.9 MB, free: 7.277 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006603/0.2507, allocations: 301.4 kB / 420.2 MB, free: 6.934 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.2507, allocations: 0 / 420.2 MB, free: 6.934 MB / 334.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001143/0.2518, allocations: 435.3 kB / 420.6 MB, free: 6.496 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.295e-05/0.2519, allocations: 32.52 kB / 420.6 MB, free: 6.461 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.2519, allocations: 8.062 kB / 420.7 MB, free: 6.453 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002826/0.2522, allocations: 60.81 kB / 420.7 MB, free: 6.391 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002243/0.2524, allocations: 51.89 kB / 420.8 MB, free: 6.34 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001989/0.2544, allocations: 1.613 MB / 422.4 MB, free: 4.59 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003094/0.2547, allocations: 59.64 kB / 422.4 MB, free: 4.531 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.041e-05/0.2547, allocations: 8 kB / 422.4 MB, free: 4.523 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.000135/0.2549, allocations: 153.8 kB / 422.6 MB, free: 4.363 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.259e-05/0.2549, allocations: 19.75 kB / 422.6 MB, free: 4.344 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.176e-05/0.255, allocations: 25.7 kB / 422.6 MB, free: 4.316 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.255, allocations: 0 / 422.6 MB, free: 4.316 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.873e-06/0.255, allocations: 0 / 422.6 MB, free: 4.316 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.255, allocations: 0 / 422.6 MB, free: 4.316 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001261/0.2563, allocations: 0.6512 MB / 423.3 MB, free: 3.605 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.2563, allocations: 0 / 423.3 MB, free: 3.605 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001348/0.2564, allocations: 31.84 kB / 423.3 MB, free: 3.574 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000205/0.2566, allocations: 52.81 kB / 423.4 MB, free: 3.52 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.474e-05/0.2567, allocations: 12 kB / 423.4 MB, free: 3.508 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001846/0.2585, allocations: 1.597 MB / 425 MB, free: 1.762 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.2585, allocations: 3.938 kB / 425 MB, free: 1.758 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009754/0.2595, allocations: 392 kB / 425.4 MB, free: 1.355 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.365e-05/0.2596, allocations: 96.81 kB / 425.5 MB, free: 1.242 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.966e-05/0.2596, allocations: 4 kB / 425.5 MB, free: 1.238 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002587/0.2599, allocations: 31.95 kB / 425.5 MB, free: 1.207 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.03e-05/0.26, allocations: 19.98 kB / 425.5 MB, free: 1.188 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.419e-05/0.26, allocations: 8 kB / 425.5 MB, free: 1.18 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000169/0.2602, allocations: 194 kB / 425.7 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.2602, allocations: 0 / 425.7 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000338/0.2605, allocations: 63.84 kB / 425.8 MB, free: 0.9297 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.00012/0.2606, allocations: 104.4 kB / 425.9 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009095/0.2615, allocations: 393.8 kB / 426.3 MB, free: 416 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.2616, allocations: 0 / 426.3 MB, free: 416 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000409/0.262, allocations: 211.3 kB / 426.5 MB, free: 192 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000368/0.2624, allocations: 44.73 kB / 426.5 MB, free: 148 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009626/0.2633, allocations: 465.1 kB / 427 MB, free: 15.66 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002929/0.2636, allocations: 0.744 MB / 427.7 MB, free: 14.89 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.862e-05/0.2637, allocations: 23.44 kB / 427.7 MB, free: 14.86 MB / 350.1 MB Notification: Performance of SimCode: time 2.11e-07/0.2637, allocations: 0 / 427.7 MB, free: 14.86 MB / 350.1 MB Notification: Performance of Templates: time 0.006803/0.2705, allocations: 4.176 MB / 431.9 MB, free: 10.7 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