Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|c.v|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|c.v|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00152/0.00152, allocations: 186.2 kB / 16.4 MB, free: 5.746 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.943/1.943, allocations: 205.4 MB / 222.5 MB, free: 9.117 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001132/0.001132, allocations: 88.44 kB / 270.9 MB, free: 8.363 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003895/0.0003895, allocations: 12 kB / 327 MB, free: 180 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3331/0.3336, allocations: 47.56 MB / 374.5 MB, free: 45.39 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1322/0.4658, allocations: 79.25 MB / 453.8 MB, free: 1.504 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003206/0.4662, allocations: 83.95 kB / 453.9 MB, free: 1.422 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02628/0.4925, allocations: 5.485 MB / 459.4 MB, free: 11.91 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.4926, allocations: 0 / 459.4 MB, free: 11.91 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.571e-05/0.4926, allocations: 7.938 kB / 459.4 MB, free: 11.9 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.001576/0.4942, allocations: 0.591 MB / 460 MB, free: 11.25 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.898e-05/0.4943, allocations: 8.031 kB / 460 MB, free: 11.25 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.596e-05/0.4944, allocations: 27.72 kB / 460 MB, free: 11.22 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000451/0.4948, allocations: 267.7 kB / 460.3 MB, free: 10.92 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.581e-05/0.4949, allocations: 16.33 kB / 460.3 MB, free: 10.9 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.113e-05/0.4949, allocations: 20 kB / 460.3 MB, free: 10.88 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009828/0.4959, allocations: 248.5 kB / 460.5 MB, free: 10.63 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.549e-05/0.496, allocations: 4 kB / 460.5 MB, free: 10.63 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.672e-05/0.496, allocations: 4 kB / 460.5 MB, free: 10.62 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.283e-05/0.496, allocations: 11.94 kB / 460.6 MB, free: 10.61 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001409/0.4975, allocations: 283.1 kB / 460.8 MB, free: 10.34 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002532/0.5, allocations: 0.8834 MB / 461.7 MB, free: 9.383 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001454/0.5015, allocations: 270.6 kB / 462 MB, free: 9.109 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.482e-05/0.5016, allocations: 7.984 kB / 462 MB, free: 9.102 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007555/0.5024, allocations: 177 kB / 462.2 MB, free: 8.91 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 3.095e-06/0.5024, allocations: 0 / 462.2 MB, free: 8.91 MB / 346.7 MB Notification: Performance of matching and sorting (n=13): time 0.001718/0.5041, allocations: 337.2 kB / 462.5 MB, free: 8.574 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.38e-05/0.5042, allocations: 81.11 kB / 462.6 MB, free: 8.477 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003391/0.5045, allocations: 212.1 kB / 462.8 MB, free: 8.266 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.71e-05/0.5046, allocations: 33.69 kB / 462.8 MB, free: 8.227 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001672/0.5048, allocations: 218.4 kB / 463 MB, free: 8.012 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.766e-05/0.5048, allocations: 43.39 kB / 463.1 MB, free: 7.969 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.488e-05/0.5049, allocations: 8 kB / 463.1 MB, free: 7.961 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001461/0.505, allocations: 318.8 kB / 463.4 MB, free: 7.641 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005609/0.5056, allocations: 104.1 kB / 463.5 MB, free: 7.535 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006287/0.5063, allocations: 161.6 kB / 463.6 MB, free: 7.355 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005918/0.5069, allocations: 133.7 kB / 463.8 MB, free: 7.219 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.528e-06/0.5069, allocations: 0 / 463.8 MB, free: 7.219 MB / 346.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001375/0.5083, allocations: 338.3 kB / 464.1 MB, free: 6.879 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003432/0.5086, allocations: 0.6451 MB / 464.7 MB, free: 6.18 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.667e-06/0.5086, allocations: 4 kB / 464.8 MB, free: 6.176 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.333e-05/0.5087, allocations: 4 kB / 464.8 MB, free: 6.172 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005066/0.5092, allocations: 59.89 kB / 464.8 MB, free: 6.113 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.206e-05/0.5092, allocations: 4 kB / 464.8 MB, free: 6.109 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005109/0.5097, allocations: 55.8 kB / 464.9 MB, free: 6.055 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.89e-05/0.5098, allocations: 4 kB / 464.9 MB, free: 6.051 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.052e-05/0.5098, allocations: 4.219 kB / 464.9 MB, free: 6.047 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00113/0.5109, allocations: 269.5 kB / 465.1 MB, free: 5.777 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.273e-06/0.511, allocations: 7.938 kB / 465.2 MB, free: 5.77 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.298e-06/0.511, allocations: 192 / 465.2 MB, free: 5.77 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004168/0.5114, allocations: 63.89 kB / 465.2 MB, free: 5.707 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.846e-06/0.5114, allocations: 4 kB / 465.2 MB, free: 5.703 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003551/0.5118, allocations: 39.81 kB / 465.3 MB, free: 5.664 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.465e-05/0.5119, allocations: 8 kB / 465.3 MB, free: 5.656 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (22): * Single equations (assignments): 21 * 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.0002342/0.5121, allocations: 217 kB / 465.5 MB, free: 5.434 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.132e-05/0.5122, allocations: 23.72 kB / 465.5 MB, free: 5.41 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.542e-05/0.5123, allocations: 21.83 kB / 465.5 MB, free: 5.391 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.5123, allocations: 0 / 465.5 MB, free: 5.391 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.78e-06/0.5123, allocations: 4 kB / 465.5 MB, free: 5.387 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.5123, allocations: 0 / 465.5 MB, free: 5.387 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004027/0.5127, allocations: 293.4 kB / 465.8 MB, free: 5.051 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.5127, allocations: 0 / 465.8 MB, free: 5.051 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004325/0.5132, allocations: 51.91 kB / 465.9 MB, free: 5 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.838e-06/0.5132, allocations: 0 / 465.9 MB, free: 5 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.934e-05/0.5132, allocations: 7.984 kB / 465.9 MB, free: 4.992 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.512e-06/0.5133, allocations: 4 kB / 465.9 MB, free: 4.988 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.5133, allocations: 0 / 465.9 MB, free: 4.988 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001774/0.515, allocations: 395.6 kB / 466.3 MB, free: 4.586 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001142/0.5152, allocations: 100.9 kB / 466.4 MB, free: 4.469 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.051e-05/0.5153, allocations: 3.984 kB / 466.4 MB, free: 4.465 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004076/0.5157, allocations: 35.97 kB / 466.4 MB, free: 4.43 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.907e-05/0.5158, allocations: 20.03 kB / 466.4 MB, free: 4.41 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.785e-05/0.5158, allocations: 4 kB / 466.4 MB, free: 4.406 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002787/0.5161, allocations: 172.5 kB / 466.6 MB, free: 4.234 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.5161, allocations: 0 / 466.6 MB, free: 4.234 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006201/0.5167, allocations: 107.7 kB / 466.7 MB, free: 4.129 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (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 (13): * Single equations (assignments): 11 * 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.0002061/0.517, allocations: 115.1 kB / 466.8 MB, free: 4.004 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001894/0.5189, allocations: 475 kB / 467.3 MB, free: 3.516 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/0.5189, allocations: 4.188 kB / 467.3 MB, free: 3.512 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005599/0.5195, allocations: 103.9 kB / 467.4 MB, free: 3.41 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004/0.5199, allocations: 40.94 kB / 467.4 MB, free: 3.371 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001569/0.5215, allocations: 0.6004 MB / 468 MB, free: 2.738 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003826/0.5219, allocations: 0.7404 MB / 468.8 MB, free: 1.973 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001229/0.522, allocations: 19.44 kB / 468.8 MB, free: 1.953 MB / 346.7 MB Notification: Performance of SimCode: time 9.62e-07/0.522, allocations: 0 / 468.8 MB, free: 1.953 MB / 346.7 MB Notification: Performance of Templates: time 0.007239/0.5293, allocations: 2.851 MB / 471.6 MB, free: 15.12 MB / 362.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/Differentiator/Differentiator.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches