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.002434/0.002434, allocations: 180.9 kB / 17.41 MB, free: 4.402 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.631/3.631, allocations: 205.4 MB / 223.6 MB, free: 9.027 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.00133/0.00133, allocations: 96.92 kB / 271.9 MB, free: 8.246 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005732/0.0005736, allocations: 12 kB / 328.2 MB, free: 15.93 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7575/0.7582, allocations: 47.58 MB / 375.7 MB, free: 45.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2573/1.016, allocations: 79.29 MB / 455 MB, free: 1.336 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005973/1.016, allocations: 83.94 kB / 455.1 MB, free: 1.254 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03678/1.053, allocations: 5.485 MB / 460.6 MB, free: 11.74 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.701e-06/1.053, allocations: 0 / 460.6 MB, free: 11.74 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.004109/1.057, allocations: 4 kB / 460.6 MB, free: 11.74 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.002482/1.06, allocations: 0.5951 MB / 461.2 MB, free: 11.08 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.886e-05/1.06, allocations: 12.03 kB / 461.2 MB, free: 11.07 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002331/1.06, allocations: 28.66 kB / 461.2 MB, free: 11.04 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008507/1.061, allocations: 268.2 kB / 461.5 MB, free: 10.74 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.697e-05/1.061, allocations: 12.75 kB / 461.5 MB, free: 10.73 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001306/1.061, allocations: 24.38 kB / 461.5 MB, free: 10.71 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001096/1.062, allocations: 248.8 kB / 461.8 MB, free: 10.46 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.013e-05/1.062, allocations: 192 / 461.8 MB, free: 10.46 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.129e-05/1.063, allocations: 15.94 kB / 461.8 MB, free: 10.44 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.625e-05/1.063, allocations: 4 kB / 461.8 MB, free: 10.44 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001166/1.064, allocations: 275.2 kB / 462.1 MB, free: 10.17 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002975/1.067, allocations: 0.8912 MB / 463 MB, free: 9.207 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001546/1.068, allocations: 274.5 kB / 463.2 MB, free: 8.93 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005188/1.069, allocations: 108.8 kB / 463.3 MB, free: 8.82 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.592e-05/1.069, allocations: 8 kB / 463.3 MB, free: 8.812 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008483/1.07, allocations: 180.9 kB / 463.5 MB, free: 8.617 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 6.001e-06/1.07, allocations: 0 / 463.5 MB, free: 8.617 MB / 346.7 MB Notification: Performance of matching and sorting (n=13): time 0.001624/1.071, allocations: 337.2 kB / 463.8 MB, free: 8.281 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001342/1.072, allocations: 85.09 kB / 463.9 MB, free: 8.18 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004695/1.072, allocations: 229 kB / 464.2 MB, free: 7.949 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.164e-05/1.072, allocations: 29.7 kB / 464.2 MB, free: 7.914 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002709/1.072, allocations: 168 kB / 464.3 MB, free: 7.746 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001006/1.073, allocations: 51.3 kB / 464.4 MB, free: 7.695 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.312e-05/1.073, allocations: 4 kB / 464.4 MB, free: 7.691 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0003232/1.073, allocations: 330.8 kB / 464.7 MB, free: 7.359 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004691/1.078, allocations: 107.9 kB / 464.8 MB, free: 7.254 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007194/1.078, allocations: 161.2 kB / 465 MB, free: 7.074 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001167/1.08, allocations: 271.5 kB / 465.3 MB, free: 6.781 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.936e-06/1.08, allocations: 0 / 465.3 MB, free: 6.781 MB / 346.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001427/1.081, allocations: 343.9 kB / 465.6 MB, free: 6.434 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003228/1.081, allocations: 165.2 kB / 465.7 MB, free: 6.242 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.999e-05/1.081, allocations: 7.984 kB / 465.8 MB, free: 6.234 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.244e-05/1.082, allocations: 4 kB / 465.8 MB, free: 6.23 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004501/1.082, allocations: 67.89 kB / 465.8 MB, free: 6.164 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.965e-05/1.082, allocations: 7.938 kB / 465.8 MB, free: 6.156 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004887/1.083, allocations: 51.8 kB / 465.9 MB, free: 6.105 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.184e-05/1.083, allocations: 4 kB / 465.9 MB, free: 6.102 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/1.083, allocations: 4 kB / 465.9 MB, free: 6.098 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009405/1.084, allocations: 273.5 kB / 466.2 MB, free: 5.824 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/1.084, allocations: 4 kB / 466.2 MB, free: 5.82 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.193e-06/1.084, allocations: 0 / 466.2 MB, free: 5.82 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003135/1.084, allocations: 63.89 kB / 466.2 MB, free: 5.758 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.958e-06/1.084, allocations: 3.938 kB / 466.2 MB, free: 5.754 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004158/1.084, allocations: 47.81 kB / 466.3 MB, free: 5.707 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.36e-05/1.084, allocations: 4 kB / 466.3 MB, free: 5.703 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.0003566/1.085, allocations: 209.1 kB / 466.5 MB, free: 5.488 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001121/1.085, allocations: 19.81 kB / 466.5 MB, free: 5.469 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001212/1.085, allocations: 25.83 kB / 466.5 MB, free: 5.445 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.015e-05/1.085, allocations: 7.938 kB / 466.5 MB, free: 5.438 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.219e-05/1.085, allocations: 0 / 466.5 MB, free: 5.438 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/1.085, allocations: 4 kB / 466.5 MB, free: 5.434 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006799/1.086, allocations: 281.5 kB / 466.8 MB, free: 5.109 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.121e-05/1.086, allocations: 4 kB / 466.8 MB, free: 5.105 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000341/1.086, allocations: 43.97 kB / 466.9 MB, free: 5.062 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.362e-06/1.086, allocations: 3.938 kB / 466.9 MB, free: 5.059 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.676e-05/1.086, allocations: 7.984 kB / 466.9 MB, free: 5.051 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.735e-06/1.086, allocations: 3.938 kB / 466.9 MB, free: 5.047 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/1.086, allocations: 0 / 466.9 MB, free: 5.047 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001548/1.088, allocations: 392.3 kB / 467.3 MB, free: 4.648 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002019/1.088, allocations: 96.89 kB / 467.4 MB, free: 4.535 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.336e-05/1.088, allocations: 7.984 kB / 467.4 MB, free: 4.527 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000328/1.089, allocations: 43.97 kB / 467.4 MB, free: 4.484 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001531/1.089, allocations: 15.97 kB / 467.4 MB, free: 4.469 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.994e-05/1.089, allocations: 8 kB / 467.4 MB, free: 4.461 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0004046/1.089, allocations: 180.3 kB / 467.6 MB, free: 4.281 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.8e-07/1.089, allocations: 0 / 467.6 MB, free: 4.281 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0009402/1.09, allocations: 99.69 kB / 467.7 MB, free: 4.184 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.0003305/1.09, allocations: 115.2 kB / 467.8 MB, free: 4.062 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001616/1.092, allocations: 481.6 kB / 468.3 MB, free: 3.57 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.049e-06/1.092, allocations: 0 / 468.3 MB, free: 3.57 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004681/1.093, allocations: 104.3 kB / 468.4 MB, free: 3.469 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005612/1.093, allocations: 38.3 kB / 468.4 MB, free: 3.434 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006869/1.1, allocations: 0.6081 MB / 469 MB, free: 2.789 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006701/1.101, allocations: 0.7404 MB / 469.8 MB, free: 2.023 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001541/1.101, allocations: 19.44 kB / 469.8 MB, free: 2.004 MB / 346.7 MB Notification: Performance of SimCode: time 2.615e-06/1.101, allocations: 0 / 469.8 MB, free: 2.004 MB / 346.7 MB Notification: Performance of Templates: time 0.01148/1.113, allocations: 2.89 MB / 472.7 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