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.001502/0.001502, allocations: 180 kB / 8.362 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.155/2.155, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001043/0.001043, allocations: 93.36 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.774e-05/2.771e-05, allocations: 4 kB / 314.8 MB, free: 9.156 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3357/0.3357, allocations: 47.56 MB / 362.3 MB, free: 45.82 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.125/0.4608, allocations: 78.5 MB / 440.8 MB, free: 7.816 MB / 331.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003216/0.4612, allocations: 79.95 kB / 440.9 MB, free: 7.738 MB / 331.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02643/0.4876, allocations: 5.419 MB / 446.3 MB, free: 2.336 MB / 331.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.4877, allocations: 0 / 446.3 MB, free: 2.336 MB / 331.1 MB Notification: Performance of Transformations before backend: time 2.149e-05/0.4877, allocations: 4 kB / 446.3 MB, free: 2.332 MB / 331.1 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.001399/0.4891, allocations: 0.5575 MB / 446.9 MB, free: 1.723 MB / 331.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.149e-05/0.4892, allocations: 12.03 kB / 446.9 MB, free: 1.711 MB / 331.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001152/0.4893, allocations: 27.62 kB / 446.9 MB, free: 1.684 MB / 331.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004929/0.4898, allocations: 263.2 kB / 447.2 MB, free: 1.387 MB / 331.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.486e-05/0.4899, allocations: 11.94 kB / 447.2 MB, free: 1.375 MB / 331.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.118e-05/0.49, allocations: 12 kB / 447.2 MB, free: 1.363 MB / 331.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004612/0.4904, allocations: 140.7 kB / 447.4 MB, free: 1.227 MB / 331.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000441/0.4909, allocations: 156 kB / 447.5 MB, free: 1.066 MB / 331.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.4909, allocations: 4 kB / 447.5 MB, free: 1.062 MB / 331.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.162e-05/0.491, allocations: 0 / 447.5 MB, free: 1.062 MB / 331.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.155e-05/0.491, allocations: 11.98 kB / 447.5 MB, free: 1.051 MB / 331.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002388/0.4934, allocations: 0.8394 MB / 448.4 MB, free: 156 kB / 331.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000564/0.494, allocations: 146.7 kB / 448.5 MB, free: 0 / 331.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000173/0.4942, allocations: 54.31 kB / 448.6 MB, free: 15.94 MB / 347.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.013e-05/0.4942, allocations: 0 / 448.6 MB, free: 15.94 MB / 347.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003086/0.4945, allocations: 117.5 kB / 448.7 MB, free: 15.81 MB / 347.1 MB Notification: Performance of pre-optimization done (n=13): time 1.813e-06/0.4946, allocations: 0 / 448.7 MB, free: 15.81 MB / 347.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004363/0.495, allocations: 147.4 kB / 448.8 MB, free: 15.66 MB / 347.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.08e-05/0.4951, allocations: 77.33 kB / 448.9 MB, free: 15.57 MB / 347.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003081/0.4954, allocations: 197.9 kB / 449.1 MB, free: 15.37 MB / 347.1 MB Notification: Performance of collectPreVariables (initialization): time 3.36e-05/0.4955, allocations: 29.64 kB / 449.1 MB, free: 15.33 MB / 347.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001699/0.4956, allocations: 226.3 kB / 449.3 MB, free: 15.11 MB / 347.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.027e-05/0.4957, allocations: 39.45 kB / 449.4 MB, free: 15.07 MB / 347.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.653e-05/0.4957, allocations: 0 / 449.4 MB, free: 15.07 MB / 347.1 MB Notification: Performance of setup shared object (initialization): time 0.0001422/0.4959, allocations: 318.8 kB / 449.7 MB, free: 14.75 MB / 347.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001558/0.4961, allocations: 54.61 kB / 449.7 MB, free: 14.7 MB / 347.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001986/0.4963, allocations: 95.06 kB / 449.8 MB, free: 14.58 MB / 347.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001626/0.4964, allocations: 58.59 kB / 449.9 MB, free: 14.52 MB / 347.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/0.4965, allocations: 1.031 kB / 449.9 MB, free: 14.52 MB / 347.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004942/0.497, allocations: 173.4 kB / 450.1 MB, free: 14.35 MB / 347.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003687/0.4974, allocations: 0.6452 MB / 450.7 MB, free: 13.65 MB / 347.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.057e-05/0.4974, allocations: 8 kB / 450.7 MB, free: 13.64 MB / 347.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.4974, allocations: 0 / 450.7 MB, free: 13.64 MB / 347.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000507/0.4979, allocations: 59.95 kB / 450.8 MB, free: 13.58 MB / 347.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.285e-05/0.498, allocations: 8.953 kB / 450.8 MB, free: 13.57 MB / 347.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004937/0.4985, allocations: 51.8 kB / 450.8 MB, free: 13.52 MB / 347.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.171e-05/0.4985, allocations: 8 kB / 450.8 MB, free: 13.52 MB / 347.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.4985, allocations: 4 kB / 450.9 MB, free: 13.51 MB / 347.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004308/0.499, allocations: 137.6 kB / 451 MB, free: 13.38 MB / 347.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.499, allocations: 0.5625 kB / 451 MB, free: 13.38 MB / 347.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.197e-06/0.499, allocations: 4.188 kB / 451 MB, free: 13.38 MB / 347.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000414/0.4994, allocations: 55.95 kB / 451 MB, free: 13.32 MB / 347.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.817e-06/0.4995, allocations: 7.938 kB / 451.1 MB, free: 13.31 MB / 347.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003465/0.4998, allocations: 36.69 kB / 451.1 MB, free: 13.28 MB / 347.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.673e-05/0.4999, allocations: 16 kB / 451.1 MB, free: 13.26 MB / 347.1 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.0001418/0.5, allocations: 111.1 kB / 451.2 MB, free: 13.15 MB / 347.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.554e-05/0.5001, allocations: 15.81 kB / 451.2 MB, free: 13.13 MB / 347.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.092e-05/0.5002, allocations: 21.95 kB / 451.2 MB, free: 13.12 MB / 347.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-06/0.5002, allocations: 4 kB / 451.3 MB, free: 13.11 MB / 347.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.248e-05/0.5002, allocations: 0 / 451.3 MB, free: 13.11 MB / 347.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.5002, allocations: 3.938 kB / 451.3 MB, free: 13.11 MB / 347.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000356/0.5006, allocations: 249.5 kB / 451.5 MB, free: 12.83 MB / 347.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.5006, allocations: 0 / 451.5 MB, free: 12.83 MB / 347.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000439/0.5011, allocations: 59.89 kB / 451.6 MB, free: 12.77 MB / 347.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.011e-06/0.5011, allocations: 0 / 451.6 MB, free: 12.77 MB / 347.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.33e-05/0.5011, allocations: 0 / 451.6 MB, free: 12.77 MB / 347.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.5012, allocations: 0 / 451.6 MB, free: 12.77 MB / 347.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.5012, allocations: 0 / 451.6 MB, free: 12.77 MB / 347.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005747/0.5017, allocations: 220.9 kB / 451.8 MB, free: 12.54 MB / 347.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001093/0.5019, allocations: 104.8 kB / 451.9 MB, free: 12.42 MB / 347.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.538e-05/0.5019, allocations: 3.984 kB / 451.9 MB, free: 12.41 MB / 347.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000403/0.5024, allocations: 31.97 kB / 451.9 MB, free: 12.38 MB / 347.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.399e-05/0.5025, allocations: 15.97 kB / 451.9 MB, free: 12.37 MB / 347.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.97e-05/0.5025, allocations: 4 kB / 451.9 MB, free: 12.36 MB / 347.1 MB Notification: Performance of sorting global known variables: time 0.0002238/0.5027, allocations: 164.8 kB / 452.1 MB, free: 12.2 MB / 347.1 MB Notification: Performance of sort global known variables: time 5.31e-07/0.5027, allocations: 0 / 452.1 MB, free: 12.2 MB / 347.1 MB Notification: Performance of remove unused functions: time 0.0006169/0.5034, allocations: 95.69 kB / 452.2 MB, free: 12.11 MB / 347.1 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.0002087/0.5036, allocations: 99.91 kB / 452.3 MB, free: 12 MB / 347.1 MB Notification: Performance of simCode: created initialization part: time 0.0007201/0.5043, allocations: 315.2 kB / 452.6 MB, free: 11.67 MB / 347.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.5044, allocations: 0.75 kB / 452.6 MB, free: 11.67 MB / 347.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001656/0.5045, allocations: 48 kB / 452.6 MB, free: 11.62 MB / 347.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004184/0.505, allocations: 40.88 kB / 452.7 MB, free: 11.58 MB / 347.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00108/0.5061, allocations: 336.6 kB / 453 MB, free: 11.23 MB / 347.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004228/0.5065, allocations: 0.7521 MB / 453.8 MB, free: 10.45 MB / 347.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001306/0.5066, allocations: 23.38 kB / 453.8 MB, free: 10.43 MB / 347.1 MB Notification: Performance of SimCode: time 8.82e-07/0.5067, allocations: 0 / 453.8 MB, free: 10.43 MB / 347.1 MB Notification: Performance of Templates: time 0.007873/0.5145, allocations: 2.78 MB / 456.6 MB, free: 7.68 MB / 347.1 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