Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001389/0.001389, allocations: 102 kB / 18.4 MB, free: 4.68 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.001187/0.001187, allocations: 186.5 kB / 19.33 MB, free: 3.758 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.452/1.452, allocations: 205.1 MB / 225.2 MB, free: 12.22 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001358/0.001358, allocations: 59.92 kB / 329.2 MB, free: 3.266 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09475/0.09612, allocations: 46.61 MB / 375.8 MB, free: 4.535 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower): time 0.004317/0.1005, allocations: 2.692 MB / 378.5 MB, free: 1.828 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001586/0.1021, allocations: 0.7173 MB / 379.3 MB, free: 1.102 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002847/0.1024, allocations: 8 kB / 379.3 MB, free: 1.094 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001946/0.1026, allocations: 39.58 kB / 379.3 MB, free: 1.055 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002893/0.1029, allocations: 87.25 kB / 379.4 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00036/0.1033, allocations: 99.81 kB / 379.5 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005213/0.1038, allocations: 354.5 kB / 379.8 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002103/0.1041, allocations: 84.7 kB / 379.9 MB, free: 452 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000233/0.1043, allocations: 131.5 kB / 380 MB, free: 320 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000251/0.1046, allocations: 151.3 kB / 380.2 MB, free: 168 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.84e-05/0.1046, allocations: 32 kB / 380.2 MB, free: 136 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.294e-05/0.1047, allocations: 28 kB / 380.3 MB, free: 108 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.504e-05/0.1048, allocations: 63.77 kB / 380.3 MB, free: 44 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.2207/0.3255, allocations: 138.7 kB / 380.4 MB, free: 10.14 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005326/0.3261, allocations: 323.1 kB / 380.8 MB, free: 10.14 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/0.3261, allocations: 0 / 380.8 MB, free: 10.14 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.404e-06/0.3261, allocations: 0 / 380.8 MB, free: 10.14 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.396e-06/0.3261, allocations: 1.531 kB / 380.8 MB, free: 10.14 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.001186/0.3273, allocations: 0.639 MB / 381.4 MB, free: 9.672 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/0.3274, allocations: 9.625 kB / 381.4 MB, free: 9.672 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.596e-05/0.3274, allocations: 31.69 kB / 381.4 MB, free: 9.656 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003862/0.3278, allocations: 274.9 kB / 381.7 MB, free: 9.434 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.593e-05/0.3279, allocations: 16.83 kB / 381.7 MB, free: 9.434 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.134e-05/0.3279, allocations: 24.84 kB / 381.8 MB, free: 9.434 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006395/0.3285, allocations: 242.7 kB / 382 MB, free: 9.395 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.3286, allocations: 3.938 kB / 382 MB, free: 9.391 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.491e-05/0.3286, allocations: 9.438 kB / 382 MB, free: 9.391 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.3286, allocations: 4.734 kB / 382 MB, free: 9.391 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007517/0.3294, allocations: 257.5 kB / 382.3 MB, free: 9.391 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001477/0.3309, allocations: 0.8131 MB / 383.1 MB, free: 9.027 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007155/0.3316, allocations: 273.1 kB / 383.3 MB, free: 8.906 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003208/0.3319, allocations: 84.33 kB / 383.4 MB, free: 8.898 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.588e-05/0.3319, allocations: 1.062 kB / 383.4 MB, free: 8.898 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00046/0.3324, allocations: 173.2 kB / 383.6 MB, free: 8.82 MB / 318.1 MB Notification: Performance of pre-optimization done (n=11): time 2.214e-06/0.3324, allocations: 0.5312 kB / 383.6 MB, free: 8.82 MB / 318.1 MB Notification: Performance of matching and sorting (n=11): time 0.001896/0.3343, allocations: 0.5215 MB / 384.1 MB, free: 8.668 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.517e-05/0.3344, allocations: 106.1 kB / 384.2 MB, free: 8.543 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002935/0.3347, allocations: 272.3 kB / 384.5 MB, free: 8.43 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.26e-05/0.3347, allocations: 27.75 kB / 384.5 MB, free: 8.398 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001132/0.3348, allocations: 188.3 kB / 384.7 MB, free: 8.27 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.057e-05/0.3349, allocations: 37.7 kB / 384.7 MB, free: 8.25 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.26e-05/0.335, allocations: 50.83 kB / 384.8 MB, free: 8.23 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.222e-05/0.335, allocations: 340.6 kB / 385.1 MB, free: 7.914 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003112/0.3354, allocations: 92.23 kB / 385.2 MB, free: 7.906 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000355/0.3357, allocations: 188.3 kB / 385.4 MB, free: 7.781 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006243/0.3364, allocations: 290.8 kB / 385.7 MB, free: 7.637 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.3364, allocations: 8.906 kB / 385.7 MB, free: 7.633 MB / 318.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001072/0.3374, allocations: 405.5 kB / 386.1 MB, free: 7.547 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.572e-05/0.3375, allocations: 36.83 kB / 386.1 MB, free: 7.516 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/0.3375, allocations: 2.5 kB / 386.1 MB, free: 7.516 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004319/0.3379, allocations: 95.41 kB / 386.2 MB, free: 7.504 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002383/0.3382, allocations: 49.73 kB / 386.3 MB, free: 7.504 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001497/0.3397, allocations: 1.572 MB / 387.8 MB, free: 6.133 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003351/0.3401, allocations: 48.5 kB / 387.9 MB, free: 6.121 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.438e-05/0.3401, allocations: 9.75 kB / 387.9 MB, free: 6.121 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003257/0.3404, allocations: 179.3 kB / 388.1 MB, free: 6.035 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003043/0.3407, allocations: 177.9 kB / 388.2 MB, free: 5.914 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005215/0.3413, allocations: 263.4 kB / 388.5 MB, free: 5.773 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.456e-06/0.3413, allocations: 1.344 kB / 388.5 MB, free: 5.773 MB / 318.1 MB Notification: Performance of matching and sorting (n=26) (initialization_lambda0): time 0.0007875/0.3421, allocations: 335 kB / 388.8 MB, free: 5.652 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.748e-05/0.3421, allocations: 34.19 kB / 388.9 MB, free: 5.621 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.892e-06/0.3421, allocations: 3.062 kB / 388.9 MB, free: 5.621 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.287e-05/0.3422, allocations: 28.56 kB / 388.9 MB, free: 5.609 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002058/0.3424, allocations: 47.89 kB / 388.9 MB, free: 5.609 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007849/0.3432, allocations: 1.545 MB / 390.5 MB, free: 4.055 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003351/0.3436, allocations: 48.94 kB / 390.5 MB, free: 4.039 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.535e-05/0.3436, allocations: 11.75 kB / 390.5 MB, free: 4.039 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (23): * Single equations (assignments): 21 * 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,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001488/0.3437, allocations: 207.8 kB / 390.7 MB, free: 3.84 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.071e-05/0.3438, allocations: 21.66 kB / 390.8 MB, free: 3.828 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.94e-05/0.3438, allocations: 27.86 kB / 390.8 MB, free: 3.816 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.3439, allocations: 7.094 kB / 390.8 MB, free: 3.812 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.3439, allocations: 1.062 kB / 390.8 MB, free: 3.812 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/0.3439, allocations: 0.9844 kB / 390.8 MB, free: 3.812 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001134/0.345, allocations: 0.6066 MB / 391.4 MB, free: 3.418 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.345, allocations: 1.438 kB / 391.4 MB, free: 3.418 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001395/0.3452, allocations: 25.34 kB / 391.4 MB, free: 3.418 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001662/0.3453, allocations: 46.14 kB / 391.5 MB, free: 3.402 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.515e-05/0.3454, allocations: 6.203 kB / 391.5 MB, free: 3.398 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001266/0.3466, allocations: 1.542 MB / 393 MB, free: 1.973 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.3467, allocations: 0 / 393 MB, free: 1.973 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008246/0.3475, allocations: 358.2 kB / 393.4 MB, free: 1.781 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.156e-05/0.3476, allocations: 109.8 kB / 393.5 MB, free: 1.664 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.631e-05/0.3476, allocations: 2.969 kB / 393.5 MB, free: 1.664 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002667/0.3479, allocations: 32.42 kB / 393.5 MB, free: 1.66 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.61e-05/0.348, allocations: 21.38 kB / 393.5 MB, free: 1.652 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.299e-05/0.348, allocations: 4.109 kB / 393.5 MB, free: 1.652 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001981/0.3482, allocations: 189.4 kB / 393.7 MB, free: 1.543 MB / 318.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3482, allocations: 0 / 393.7 MB, free: 1.543 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006109/0.3488, allocations: 116.9 kB / 393.8 MB, free: 1.52 MB / 318.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,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001282/0.349, allocations: 109.8 kB / 393.9 MB, free: 1.426 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00129/0.3502, allocations: 0.6631 MB / 394.6 MB, free: 1 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.3503, allocations: 1.094 kB / 394.6 MB, free: 1 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003997/0.3507, allocations: 216.9 kB / 394.8 MB, free: 0.8594 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004/0.3511, allocations: 51.64 kB / 394.9 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009779/0.3521, allocations: 464.4 kB / 395.3 MB, free: 0.5508 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002325/0.3523, allocations: 0.7466 MB / 396.1 MB, free: 15.85 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.846e-05/0.3524, allocations: 20.56 kB / 396.1 MB, free: 15.84 MB / 334.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3524, allocations: 0 / 396.1 MB, free: 15.84 MB / 334.1 MB Notification: Performance of Templates: time 0.007823/0.3602, allocations: 4.177 MB / 400.3 MB, free: 15.2 MB / 334.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/VoltageFollower/VoltageFollower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches