Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.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.Differentiator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|der_.c.v|der_.opAmp.out.v|der_.opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|der_.c.v|der_.opAmp.out.v|der_.opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001468/0.001468, allocations: 201.2 kB / 18.11 MB, free: 3.719 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.507/1.507, allocations: 226.5 MB / 245.4 MB, free: 8.238 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009466/0.0009465, allocations: 101.4 kB / 297.5 MB, free: 6.891 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002396/0.0002397, allocations: 8 kB / 358.1 MB, free: 10.26 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3158/0.3161, allocations: 51.3 MB / 409.4 MB, free: 27.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1231/0.4392, allocations: 82.27 MB / 491.7 MB, free: 9.23 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003178/0.4396, allocations: 84.47 kB / 491.7 MB, free: 9.148 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01943/0.4591, allocations: 6.36 MB / 498.1 MB, free: 2.766 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.767e-06/0.4591, allocations: 0 / 498.1 MB, free: 2.766 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.168e-05/0.4592, allocations: 4 kB / 498.1 MB, free: 2.762 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.001537/0.4607, allocations: 0.6157 MB / 498.7 MB, free: 2.086 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.694e-05/0.4608, allocations: 12.03 kB / 498.7 MB, free: 2.074 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001839/0.461, allocations: 32.56 kB / 498.8 MB, free: 2.043 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005331/0.4615, allocations: 297.1 kB / 499.1 MB, free: 1.711 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.301e-05/0.4616, allocations: 16.94 kB / 499.1 MB, free: 1.695 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.216e-05/0.4616, allocations: 24.38 kB / 499.1 MB, free: 1.672 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007703/0.4624, allocations: 328.2 kB / 499.4 MB, free: 1.344 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.542e-05/0.4625, allocations: 192 / 499.4 MB, free: 1.344 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.913e-05/0.4625, allocations: 11.94 kB / 499.4 MB, free: 1.332 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.03e-05/0.4625, allocations: 8 kB / 499.4 MB, free: 1.324 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008474/0.4634, allocations: 306 kB / 499.7 MB, free: 1.023 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002223/0.4656, allocations: 1.139 MB / 0.4891 GB, free: 15.81 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008931/0.4665, allocations: 281.1 kB / 0.4894 GB, free: 15.53 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003586/0.4669, allocations: 116.8 kB / 0.4895 GB, free: 15.41 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.007e-05/0.4669, allocations: 4 kB / 0.4895 GB, free: 15.41 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000514/0.4675, allocations: 194.1 kB / 0.4897 GB, free: 15.2 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 2.755e-06/0.4675, allocations: 4 kB / 0.4897 GB, free: 15.2 MB / 378.7 MB Notification: Performance of matching and sorting (n=12): time 0.00115/0.4686, allocations: 353.2 kB / 0.49 GB, free: 14.84 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.073e-05/0.4687, allocations: 85.09 kB / 0.4901 GB, free: 14.74 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000324/0.4691, allocations: 258.6 kB / 0.4904 GB, free: 14.48 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.732e-05/0.4691, allocations: 29.7 kB / 0.4904 GB, free: 14.44 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001494/0.4693, allocations: 195.5 kB / 0.4906 GB, free: 14.25 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.407e-05/0.4693, allocations: 47.36 kB / 0.4906 GB, free: 14.2 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.311e-05/0.4693, allocations: 12 kB / 0.4906 GB, free: 14.19 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001521/0.4695, allocations: 338.7 kB / 0.491 GB, free: 13.85 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003461/0.4698, allocations: 116.2 kB / 0.4911 GB, free: 13.73 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000399/0.4703, allocations: 210.8 kB / 0.4913 GB, free: 13.49 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007383/0.471, allocations: 335.7 kB / 0.4916 GB, free: 13.12 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.422e-06/0.471, allocations: 4 kB / 0.4916 GB, free: 13.11 MB / 378.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0009397/0.472, allocations: 383 kB / 0.492 GB, free: 12.73 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.618e-05/0.472, allocations: 37.69 kB / 0.492 GB, free: 12.68 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.146e-05/0.4721, allocations: 4 kB / 0.492 GB, free: 12.68 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.937e-05/0.4721, allocations: 4 kB / 0.492 GB, free: 12.68 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003284/0.4724, allocations: 75.95 kB / 0.4921 GB, free: 12.6 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.163e-05/0.4724, allocations: 4 kB / 0.4921 GB, free: 12.6 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003592/0.4728, allocations: 67.64 kB / 0.4922 GB, free: 12.53 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.829e-05/0.4728, allocations: 8 kB / 0.4922 GB, free: 12.52 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (26): * Single equations (assignments): 25 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002116/0.4731, allocations: 153 kB / 0.4923 GB, free: 12.37 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.996e-05/0.4731, allocations: 19.81 kB / 0.4923 GB, free: 12.35 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.244e-05/0.4732, allocations: 25.69 kB / 0.4924 GB, free: 12.32 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.626e-06/0.4732, allocations: 0 / 0.4924 GB, free: 12.32 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.4732, allocations: 0 / 0.4924 GB, free: 12.32 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.4732, allocations: 4 kB / 0.4924 GB, free: 12.32 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000382/0.4736, allocations: 321.2 kB / 0.4927 GB, free: 11.95 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.52e-06/0.4736, allocations: 7.984 kB / 0.4927 GB, free: 11.95 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002524/0.4739, allocations: 43.97 kB / 0.4927 GB, free: 11.9 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.4739, allocations: 0 / 0.4927 GB, free: 11.9 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.135e-05/0.4739, allocations: 3.984 kB / 0.4927 GB, free: 11.9 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.4739, allocations: 7.938 kB / 0.4927 GB, free: 11.89 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.077e-06/0.4739, allocations: 0 / 0.4927 GB, free: 11.89 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001106/0.4751, allocations: 418.1 kB / 0.4931 GB, free: 11.46 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001019/0.4752, allocations: 92.95 kB / 0.4932 GB, free: 11.36 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.406e-05/0.4752, allocations: 8 kB / 0.4932 GB, free: 11.35 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000253/0.4755, allocations: 40.02 kB / 0.4933 GB, free: 11.31 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.986e-05/0.4756, allocations: 15.97 kB / 0.4933 GB, free: 11.29 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.326e-05/0.4756, allocations: 4 kB / 0.4933 GB, free: 11.29 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002065/0.4758, allocations: 190 kB / 0.4935 GB, free: 11.11 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4758, allocations: 0 / 0.4935 GB, free: 11.11 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004045/0.4762, allocations: 79.62 kB / 0.4935 GB, free: 11.03 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (der_.c.v) * 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 (12): * Single equations (assignments): 10 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002029/0.4764, allocations: 111.2 kB / 0.4936 GB, free: 10.91 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008617/0.4773, allocations: 319.2 kB / 0.4939 GB, free: 10.59 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.4773, allocations: 4.5 kB / 0.4939 GB, free: 10.58 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000352/0.4777, allocations: 115.9 kB / 0.4941 GB, free: 10.47 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003844/0.4781, allocations: 46.16 kB / 0.4941 GB, free: 10.42 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001327/0.4794, allocations: 0.6338 MB / 0.4947 GB, free: 9.758 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003947/0.4798, allocations: 0.7482 MB / 0.4955 GB, free: 8.984 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001583/0.48, allocations: 26.28 kB / 0.4955 GB, free: 8.961 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.127e-05/0.4801, allocations: 23.44 kB / 0.4955 GB, free: 8.941 MB / 378.7 MB Notification: Performance of SimCode: time 3.547e-06/0.4801, allocations: 0 / 0.4955 GB, free: 8.941 MB / 378.7 MB Notification: Performance of Templates: time 0.007323/0.4874, allocations: 2.679 MB / 0.4981 GB, free: 6.297 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/Differentiator/Differentiator.csv","../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches