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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001943/0.001943, allocations: 203 kB / 8.542 MB, free: 1.809 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.187/1.187, allocations: 225.5 MB / 234.4 MB, free: 3.375 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008884/0.0008885, allocations: 92.86 kB / 286.3 MB, free: 5.223 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 6.722e-06/6.752e-06, allocations: 0 / 343.2 MB, free: 8.75 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09612/0.09614, allocations: 51.48 MB / 394.6 MB, free: 5.227 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2562/0.3525, allocations: 80.68 MB / 475.3 MB, free: 11.8 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002031/0.3527, allocations: 76.58 kB / 475.4 MB, free: 11.77 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.01406/0.3668, allocations: 5.547 MB / 480.9 MB, free: 7.984 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.395e-05/0.3668, allocations: 4 kB / 480.9 MB, free: 7.98 MB / 346.7 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.0007884/0.3676, allocations: 0.5752 MB / 481.5 MB, free: 7.375 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.44e-05/0.3676, allocations: 8.031 kB / 481.5 MB, free: 7.367 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.886e-05/0.3677, allocations: 35.62 kB / 481.6 MB, free: 7.332 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003/0.368, allocations: 269 kB / 481.8 MB, free: 7.059 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.271e-05/0.3681, allocations: 8 kB / 481.8 MB, free: 7.051 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.278e-05/0.3681, allocations: 12 kB / 481.8 MB, free: 7.039 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002575/0.3684, allocations: 142.5 kB / 482 MB, free: 6.953 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002742/0.3686, allocations: 194.1 kB / 482.2 MB, free: 6.801 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.3687, allocations: 4 kB / 482.2 MB, free: 6.797 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.36e-05/0.3687, allocations: 0 / 482.2 MB, free: 6.797 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.3687, allocations: 4 kB / 482.2 MB, free: 6.793 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001415/0.3701, allocations: 0.9527 MB / 483.1 MB, free: 5.918 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009473/0.3711, allocations: 367.4 kB / 483.5 MB, free: 5.562 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.398e-05/0.3712, allocations: 48.61 kB / 483.5 MB, free: 5.527 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.345e-05/0.3712, allocations: 4 kB / 483.5 MB, free: 5.523 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001208/0.3713, allocations: 108.7 kB / 483.7 MB, free: 5.414 MB / 346.7 MB Notification: Performance of pre-optimization done (n=10): time 1.232e-06/0.3713, allocations: 0 / 483.7 MB, free: 5.414 MB / 346.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004715/0.3718, allocations: 192.1 kB / 483.8 MB, free: 5.246 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.841e-05/0.3718, allocations: 110.8 kB / 483.9 MB, free: 5.113 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001683/0.372, allocations: 215.4 kB / 484.2 MB, free: 4.934 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.903e-05/0.372, allocations: 29.7 kB / 484.2 MB, free: 4.898 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.848e-05/0.3721, allocations: 170.8 kB / 484.4 MB, free: 4.742 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.122e-05/0.3721, allocations: 31.42 kB / 484.4 MB, free: 4.715 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.022e-05/0.3722, allocations: 0 / 484.4 MB, free: 4.715 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.619e-05/0.3722, allocations: 338.4 kB / 484.7 MB, free: 4.387 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.783e-05/0.3723, allocations: 43.56 kB / 484.8 MB, free: 4.363 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001035/0.3724, allocations: 146.3 kB / 484.9 MB, free: 4.195 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.637e-05/0.3725, allocations: 63.19 kB / 485 MB, free: 4.152 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.3725, allocations: 0 / 485 MB, free: 4.152 MB / 346.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005214/0.373, allocations: 273.4 kB / 485.2 MB, free: 3.914 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.3731, allocations: 11.89 kB / 485.2 MB, free: 3.902 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.134e-06/0.3731, allocations: 8.031 kB / 485.2 MB, free: 3.895 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001256/0.3732, allocations: 23.55 kB / 485.3 MB, free: 3.875 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002242/0.3734, allocations: 74.58 kB / 485.3 MB, free: 3.809 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008693/0.3743, allocations: 1.296 MB / 486.6 MB, free: 2.438 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000321/0.3746, allocations: 60.11 kB / 486.7 MB, free: 2.379 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.959e-05/0.3747, allocations: 11.75 kB / 486.7 MB, free: 2.371 MB / 346.7 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 () * 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 6.966e-05/0.3747, allocations: 120.7 kB / 486.8 MB, free: 2.246 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.896e-05/0.3748, allocations: 23.81 kB / 486.9 MB, free: 2.223 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.604e-05/0.3748, allocations: 23.27 kB / 486.9 MB, free: 2.211 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.3748, allocations: 4 kB / 486.9 MB, free: 2.207 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.525e-06/0.3748, allocations: 3.906 kB / 486.9 MB, free: 2.203 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.095e-06/0.3748, allocations: 0 / 486.9 MB, free: 2.203 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005839/0.3754, allocations: 0.4997 MB / 487.4 MB, free: 1.727 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.3754, allocations: 4 kB / 487.4 MB, free: 1.723 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001463/0.3756, allocations: 31.97 kB / 487.4 MB, free: 1.691 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.807e-05/0.3757, allocations: 31.66 kB / 487.4 MB, free: 1.664 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.229e-05/0.3757, allocations: 0 / 487.4 MB, free: 1.664 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007569/0.3764, allocations: 1.297 MB / 488.7 MB, free: 308 kB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.3765, allocations: 0 / 488.7 MB, free: 308 kB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004103/0.3769, allocations: 298.6 kB / 489 MB, free: 20 kB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.868e-05/0.377, allocations: 96.2 kB / 489.1 MB, free: 15.91 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.049e-05/0.377, allocations: 4 kB / 489.1 MB, free: 15.9 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002911/0.3773, allocations: 43.95 kB / 489.2 MB, free: 15.86 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.543e-05/0.3774, allocations: 19.22 kB / 489.2 MB, free: 15.84 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.118e-05/0.3774, allocations: 3.375 kB / 489.2 MB, free: 15.84 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0001422/0.3775, allocations: 170.4 kB / 489.4 MB, free: 15.71 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003403/0.3779, allocations: 59.84 kB / 489.4 MB, free: 15.65 MB / 362.7 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) * 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.0001331/0.378, allocations: 99.25 kB / 489.5 MB, free: 15.54 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003809/0.3784, allocations: 250.8 kB / 489.8 MB, free: 15.32 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.3784, allocations: 4.812 kB / 489.8 MB, free: 15.32 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001728/0.3786, allocations: 147.7 kB / 489.9 MB, free: 15.18 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000272/0.3789, allocations: 43.66 kB / 490 MB, free: 15.14 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006388/0.3795, allocations: 255.1 kB / 490.2 MB, free: 14.9 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003715/0.3799, allocations: 0.781 MB / 491 MB, free: 14.09 MB / 362.7 MB Notification: Performance of SimCode: time 3.61e-07/0.3799, allocations: 0 / 491 MB, free: 14.09 MB / 362.7 MB Notification: Performance of Templates: time 0.006164/0.3861, allocations: 2.914 MB / 493.9 MB, free: 11.27 MB / 362.7 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","../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches