Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.001498/0.001498, allocations: 182.7 kB / 18.04 MB, free: 3.781 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.559/1.559, allocations: 205.4 MB / 224.2 MB, free: 9.047 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.0007837/0.0007837, allocations: 85.05 kB / 272.5 MB, free: 8.281 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003462/0.0003464, allocations: 12 kB / 329.5 MB, free: 15.29 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2582/0.2585, allocations: 47.57 MB / 377 MB, free: 45.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09511/0.3537, allocations: 79.3 MB / 456.3 MB, free: 1.273 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002337/0.354, allocations: 87.94 kB / 456.4 MB, free: 1.188 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01586/0.3698, allocations: 5.49 MB / 461.9 MB, free: 11.67 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.505e-06/0.3699, allocations: 0 / 461.9 MB, free: 11.67 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.835e-05/0.3699, allocations: 4 kB / 461.9 MB, free: 11.67 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.001085/0.371, allocations: 0.5873 MB / 462.5 MB, free: 11.02 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/0.371, allocations: 12.03 kB / 462.5 MB, free: 11.01 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.353e-05/0.3711, allocations: 24.66 kB / 462.5 MB, free: 10.98 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003906/0.3715, allocations: 276.2 kB / 462.8 MB, free: 10.68 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.274e-05/0.3716, allocations: 16.75 kB / 462.8 MB, free: 10.66 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.146e-05/0.3716, allocations: 16.38 kB / 462.8 MB, free: 10.64 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005797/0.3722, allocations: 252.8 kB / 463.1 MB, free: 10.39 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.3722, allocations: 4.172 kB / 463.1 MB, free: 10.39 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.629e-05/0.3723, allocations: 11.94 kB / 463.1 MB, free: 10.38 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.3723, allocations: 4 kB / 463.1 MB, free: 10.37 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007637/0.3731, allocations: 279.2 kB / 463.4 MB, free: 10.1 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001612/0.3747, allocations: 0.8912 MB / 464.3 MB, free: 9.137 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008791/0.3756, allocations: 270.5 kB / 464.5 MB, free: 8.863 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002947/0.3759, allocations: 116.8 kB / 464.6 MB, free: 8.746 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.249e-05/0.3759, allocations: 0 / 464.6 MB, free: 8.746 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004703/0.3764, allocations: 183.6 kB / 464.8 MB, free: 8.551 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 1.663e-06/0.3764, allocations: 0 / 464.8 MB, free: 8.551 MB / 346.7 MB Notification: Performance of matching and sorting (n=13): time 0.0009448/0.3774, allocations: 341.2 kB / 465.2 MB, free: 8.211 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.635e-05/0.3775, allocations: 77.11 kB / 465.2 MB, free: 8.117 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002428/0.3777, allocations: 233 kB / 465.5 MB, free: 7.883 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.972e-05/0.3777, allocations: 33.7 kB / 465.5 MB, free: 7.844 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000128/0.3779, allocations: 168 kB / 465.7 MB, free: 7.676 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.559e-05/0.3779, allocations: 39.36 kB / 465.7 MB, free: 7.637 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.331e-05/0.378, allocations: 8 kB / 465.7 MB, free: 7.629 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001399/0.3781, allocations: 330.8 kB / 466 MB, free: 7.297 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003038/0.3784, allocations: 99.94 kB / 466.1 MB, free: 7.199 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003413/0.3788, allocations: 166.7 kB / 466.3 MB, free: 7.012 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006341/0.3794, allocations: 273.7 kB / 466.6 MB, free: 6.719 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/0.3794, allocations: 4 kB / 466.6 MB, free: 6.715 MB / 346.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007537/0.3802, allocations: 339 kB / 466.9 MB, free: 6.371 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001232/0.3803, allocations: 168.7 kB / 467.1 MB, free: 6.176 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.044e-06/0.3803, allocations: 0 / 467.1 MB, free: 6.176 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.943e-05/0.3804, allocations: 4 kB / 467.1 MB, free: 6.172 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002783/0.3806, allocations: 67.89 kB / 467.1 MB, free: 6.105 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.3807, allocations: 0 / 467.1 MB, free: 6.105 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002797/0.3809, allocations: 51.75 kB / 467.2 MB, free: 6.055 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.416e-05/0.381, allocations: 11.98 kB / 467.2 MB, free: 6.043 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.105e-06/0.381, allocations: 4 kB / 467.2 MB, free: 6.039 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006002/0.3816, allocations: 280 kB / 467.5 MB, free: 5.762 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-06/0.3816, allocations: 0 / 467.5 MB, free: 5.762 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.06e-06/0.3816, allocations: 4 kB / 467.5 MB, free: 5.758 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002145/0.3818, allocations: 59.89 kB / 467.5 MB, free: 5.699 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.3819, allocations: 7.938 kB / 467.5 MB, free: 5.691 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002274/0.3821, allocations: 43.81 kB / 467.6 MB, free: 5.648 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.493e-05/0.3821, allocations: 8 kB / 467.6 MB, free: 5.641 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.0001536/0.3823, allocations: 209.1 kB / 467.8 MB, free: 5.426 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.29e-05/0.3823, allocations: 15.81 kB / 467.8 MB, free: 5.41 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.26e-05/0.3824, allocations: 29.83 kB / 467.8 MB, free: 5.383 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.3824, allocations: 7.938 kB / 467.8 MB, free: 5.375 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/0.3824, allocations: 0 / 467.8 MB, free: 5.375 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.3824, allocations: 0 / 467.8 MB, free: 5.375 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002749/0.3827, allocations: 285.5 kB / 468.1 MB, free: 5.047 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.3827, allocations: 0 / 468.1 MB, free: 5.047 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002235/0.3829, allocations: 43.97 kB / 468.2 MB, free: 5.004 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.383, allocations: 3.938 kB / 468.2 MB, free: 5 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.727e-05/0.383, allocations: 15.92 kB / 468.2 MB, free: 4.984 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.383, allocations: 3.938 kB / 468.2 MB, free: 4.98 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.383, allocations: 0 / 468.2 MB, free: 4.98 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009057/0.3839, allocations: 388.6 kB / 468.6 MB, free: 4.582 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.4e-05/0.384, allocations: 96.89 kB / 468.7 MB, free: 4.469 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.619e-05/0.384, allocations: 7.984 kB / 468.7 MB, free: 4.461 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002107/0.3843, allocations: 39.97 kB / 468.7 MB, free: 4.422 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.876e-05/0.3843, allocations: 19.97 kB / 468.7 MB, free: 4.402 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.189e-05/0.3844, allocations: 4 kB / 468.7 MB, free: 4.398 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002008/0.3846, allocations: 172.5 kB / 468.9 MB, free: 4.227 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.824e-06/0.3846, allocations: 0 / 468.9 MB, free: 4.227 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004005/0.385, allocations: 107.6 kB / 469 MB, free: 4.121 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.0001697/0.3852, allocations: 115.2 kB / 469.1 MB, free: 4 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0009966/0.3862, allocations: 477.9 kB / 469.6 MB, free: 3.512 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.3862, allocations: 0 / 469.6 MB, free: 3.512 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002927/0.3865, allocations: 112.3 kB / 469.7 MB, free: 3.402 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003267/0.3868, allocations: 36.97 kB / 469.7 MB, free: 3.367 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009975/0.3878, allocations: 0.5766 MB / 470.3 MB, free: 2.762 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002914/0.3881, allocations: 0.7443 MB / 471 MB, free: 1.992 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001382/0.3883, allocations: 25.94 kB / 471.1 MB, free: 1.969 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.754e-05/0.3883, allocations: 19.44 kB / 471.1 MB, free: 1.949 MB / 346.7 MB Notification: Performance of SimCode: time 3.01e-07/0.3883, allocations: 0 / 471.1 MB, free: 1.949 MB / 346.7 MB Notification: Performance of Templates: time 0.00534/0.3937, allocations: 2.651 MB / 473.7 MB, free: 15.32 MB / 362.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_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_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches