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.001511/0.001511, allocations: 180.3 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.078/2.078, allocations: 205.2 MB / 219.4 MB, free: 14.22 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.001063/0.001063, allocations: 94.69 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.232e-05/3.248e-05, allocations: 4 kB / 321.5 MB, free: 17.84 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09479/0.09485, allocations: 47.58 MB / 369.1 MB, free: 2.191 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3991/0.4941, allocations: 79.15 MB / 448.3 MB, free: 14.09 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002891/0.4944, allocations: 73.89 kB / 448.3 MB, free: 14.05 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02648/0.5209, allocations: 5.473 MB / 453.8 MB, free: 9.359 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.521, allocations: 4 kB / 453.8 MB, free: 9.355 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.134e-05/0.521, allocations: 8 kB / 453.8 MB, free: 9.348 MB / 330.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.001366/0.5224, allocations: 0.5544 MB / 454.4 MB, free: 8.75 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.91e-05/0.5224, allocations: 8.031 kB / 454.4 MB, free: 8.742 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001074/0.5226, allocations: 27.62 kB / 454.4 MB, free: 8.715 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004584/0.523, allocations: 264.4 kB / 454.7 MB, free: 8.441 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.065e-05/0.5231, allocations: 15.95 kB / 454.7 MB, free: 8.43 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.057e-05/0.5231, allocations: 23.3 kB / 454.7 MB, free: 8.414 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005105/0.5237, allocations: 185.1 kB / 454.9 MB, free: 8.281 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/0.5237, allocations: 4 kB / 454.9 MB, free: 8.277 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.874e-05/0.5237, allocations: 11.06 kB / 454.9 MB, free: 8.273 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.015e-05/0.5238, allocations: 4 kB / 454.9 MB, free: 8.27 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004453/0.5242, allocations: 144.8 kB / 455 MB, free: 8.184 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002354/0.5266, allocations: 0.8879 MB / 455.9 MB, free: 7.371 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000585/0.5272, allocations: 147.5 kB / 456.1 MB, free: 7.258 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001563/0.5274, allocations: 58.03 kB / 456.1 MB, free: 7.219 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.206e-05/0.5274, allocations: 0 / 456.1 MB, free: 7.219 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003182/0.5278, allocations: 132.1 kB / 456.3 MB, free: 7.094 MB / 330.7 MB Notification: Performance of pre-optimization done (n=13): time 2.534e-06/0.5278, allocations: 0 / 456.3 MB, free: 7.094 MB / 330.7 MB Notification: Performance of matching and sorting (n=13): time 0.000454/0.5282, allocations: 137.6 kB / 456.4 MB, free: 6.98 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.107e-05/0.5283, allocations: 81.09 kB / 456.5 MB, free: 6.883 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003662/0.5287, allocations: 219.4 kB / 456.7 MB, free: 6.699 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.713e-05/0.5288, allocations: 28.89 kB / 456.7 MB, free: 6.668 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001536/0.5289, allocations: 228.5 kB / 456.9 MB, free: 6.465 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.465e-05/0.529, allocations: 37.89 kB / 457 MB, free: 6.434 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.822e-05/0.529, allocations: 7.25 kB / 457 MB, free: 6.43 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001202/0.5291, allocations: 322.2 kB / 457.3 MB, free: 6.109 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001597/0.5293, allocations: 46.31 kB / 457.3 MB, free: 6.078 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002067/0.5295, allocations: 104.2 kB / 457.4 MB, free: 5.977 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001922/0.5297, allocations: 85.2 kB / 457.5 MB, free: 5.906 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.5298, allocations: 0 / 457.5 MB, free: 5.906 MB / 330.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005259/0.5303, allocations: 227.2 kB / 457.7 MB, free: 5.719 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002969/0.5306, allocations: 0.651 MB / 458.4 MB, free: 5.027 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.271e-05/0.5306, allocations: 7.969 kB / 458.4 MB, free: 5.02 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.5307, allocations: 4 kB / 458.4 MB, free: 5.016 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005173/0.5312, allocations: 59.95 kB / 458.5 MB, free: 4.957 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.608e-05/0.5312, allocations: 7.938 kB / 458.5 MB, free: 4.949 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004981/0.5317, allocations: 47 kB / 458.5 MB, free: 4.906 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.381e-05/0.5318, allocations: 7.5 kB / 458.5 MB, free: 4.902 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.137e-05/0.5318, allocations: 4 kB / 458.5 MB, free: 4.898 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004927/0.5323, allocations: 191.7 kB / 458.7 MB, free: 4.754 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/0.5323, allocations: 8 kB / 458.7 MB, free: 4.746 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.234e-06/0.5323, allocations: 0 / 458.7 MB, free: 4.746 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004281/0.5328, allocations: 59.89 kB / 458.8 MB, free: 4.688 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.129e-06/0.5328, allocations: 0 / 458.8 MB, free: 4.688 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003563/0.5332, allocations: 47.38 kB / 458.8 MB, free: 4.645 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.459e-05/0.5332, allocations: 11.08 kB / 458.8 MB, free: 4.637 MB / 330.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 () * 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.0001267/0.5333, allocations: 115.8 kB / 459 MB, free: 4.52 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.81e-05/0.5334, allocations: 22.28 kB / 459 MB, free: 4.5 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.774e-05/0.5335, allocations: 22.64 kB / 459 MB, free: 4.484 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.616e-06/0.5335, allocations: 4 kB / 459 MB, free: 4.48 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.5336, allocations: 3.938 kB / 459 MB, free: 4.477 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.5336, allocations: 4 kB / 459 MB, free: 4.473 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003793/0.534, allocations: 284 kB / 459.3 MB, free: 4.188 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.534, allocations: 0 / 459.3 MB, free: 4.188 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004245/0.5344, allocations: 51.77 kB / 459.3 MB, free: 4.141 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.471e-06/0.5344, allocations: 0 / 459.3 MB, free: 4.141 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.226e-05/0.5345, allocations: 0 / 459.3 MB, free: 4.141 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.759e-06/0.5345, allocations: 8 kB / 459.3 MB, free: 4.133 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.5345, allocations: 0 / 459.3 MB, free: 4.133 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000586/0.5351, allocations: 237.2 kB / 459.6 MB, free: 3.941 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.571e-05/0.5352, allocations: 100.7 kB / 459.7 MB, free: 3.828 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.631e-05/0.5353, allocations: 3.984 kB / 459.7 MB, free: 3.824 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004158/0.5357, allocations: 39.59 kB / 459.7 MB, free: 3.789 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001002/0.5358, allocations: 19.91 kB / 459.7 MB, free: 3.773 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.833e-05/0.5358, allocations: 0 / 459.7 MB, free: 3.773 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000245/0.5361, allocations: 171.9 kB / 459.9 MB, free: 3.629 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.3e-07/0.5361, allocations: 0 / 459.9 MB, free: 3.629 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005941/0.5367, allocations: 103.6 kB / 460 MB, free: 3.535 MB / 330.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) * 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.0002073/0.5369, allocations: 111 kB / 460.1 MB, free: 3.422 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007547/0.5377, allocations: 328.7 kB / 460.4 MB, free: 3.145 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.122e-06/0.5377, allocations: 0 / 460.4 MB, free: 3.145 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001723/0.5379, allocations: 55 kB / 460.5 MB, free: 3.105 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004226/0.5383, allocations: 40.73 kB / 460.5 MB, free: 3.078 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001082/0.5394, allocations: 342.5 kB / 460.9 MB, free: 2.742 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003922/0.5399, allocations: 0.7482 MB / 461.6 MB, free: 1.965 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001386/0.54, allocations: 23.38 kB / 461.6 MB, free: 1.941 MB / 330.7 MB Notification: Performance of SimCode: time 1.132e-06/0.54, allocations: 0 / 461.6 MB, free: 1.941 MB / 330.7 MB Notification: Performance of Templates: time 0.007784/0.5478, allocations: 2.846 MB / 464.5 MB, free: 15.12 MB / 346.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