Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|der_.c.v|der_.opAmp.out.v|der_.opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|der_.c.v|der_.opAmp.out.v|der_.opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001574/0.001574, allocations: 117 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001426/0.001426, allocations: 204.5 kB / 19.36 MB, free: 3.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.483/1.483, allocations: 227.4 MB / 247.5 MB, free: 10.36 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001157/0.001157, allocations: 63.97 kB / 308.4 MB, free: 15.88 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1089/0.1101, allocations: 50.53 MB / 358.9 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.00447/0.1146, allocations: 2.872 MB / 361.8 MB, free: 10.43 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00138/0.116, allocations: 0.7519 MB / 362.5 MB, free: 9.676 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001464/0.1162, allocations: 7.938 kB / 362.6 MB, free: 9.668 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001815/0.1164, allocations: 43.58 kB / 362.6 MB, free: 9.625 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001824/0.1166, allocations: 95.19 kB / 362.7 MB, free: 9.531 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003374/0.1169, allocations: 115.8 kB / 362.8 MB, free: 9.418 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004702/0.1174, allocations: 390.5 kB / 363.2 MB, free: 9.035 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002419/0.1176, allocations: 127.2 kB / 363.3 MB, free: 8.91 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002903/0.1179, allocations: 167.3 kB / 363.5 MB, free: 8.746 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001967/0.1182, allocations: 163.4 kB / 363.6 MB, free: 8.586 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.156e-05/0.1182, allocations: 40 kB / 363.7 MB, free: 8.547 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.017e-05/0.1183, allocations: 36 kB / 363.7 MB, free: 8.512 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.51e-05/0.1184, allocations: 79.69 kB / 363.8 MB, free: 8.434 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001656/0.1185, allocations: 163.2 kB / 363.9 MB, free: 8.273 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004191/0.119, allocations: 430.5 kB / 364.4 MB, free: 7.852 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.74e-06/0.119, allocations: 0 / 364.4 MB, free: 7.852 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.435e-06/0.119, allocations: 0 / 364.4 MB, free: 7.852 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.456e-06/0.119, allocations: 0 / 364.4 MB, free: 7.852 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.001309/0.1203, allocations: 0.6575 MB / 365 MB, free: 7.137 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.1204, allocations: 11.97 kB / 365 MB, free: 7.125 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.203e-05/0.1204, allocations: 32.56 kB / 365.1 MB, free: 7.094 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004621/0.1209, allocations: 296.6 kB / 365.4 MB, free: 6.766 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.502e-05/0.1209, allocations: 20.94 kB / 365.4 MB, free: 6.742 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.251e-05/0.121, allocations: 24.36 kB / 365.4 MB, free: 6.719 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006882/0.1217, allocations: 312 kB / 365.7 MB, free: 6.402 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.417e-05/0.1217, allocations: 4 kB / 365.7 MB, free: 6.398 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.52e-05/0.1218, allocations: 12 kB / 365.7 MB, free: 6.387 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.225e-06/0.1218, allocations: 4 kB / 365.7 MB, free: 6.383 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007297/0.1225, allocations: 278 kB / 366 MB, free: 6.113 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001872/0.1244, allocations: 1.111 MB / 367.1 MB, free: 4.918 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009095/0.1253, allocations: 242.6 kB / 367.3 MB, free: 4.672 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003265/0.1257, allocations: 104.8 kB / 367.4 MB, free: 4.566 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.301e-05/0.1257, allocations: 7.938 kB / 367.4 MB, free: 4.559 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004637/0.1262, allocations: 165 kB / 367.6 MB, free: 4.379 MB / 302.1 MB Notification: Performance of pre-optimization done (n=12): time 1.453e-06/0.1262, allocations: 11.94 kB / 367.6 MB, free: 4.367 MB / 302.1 MB Notification: Performance of matching and sorting (n=12): time 0.001014/0.1272, allocations: 317.1 kB / 367.9 MB, free: 4.051 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.488e-05/0.1273, allocations: 81.11 kB / 368 MB, free: 3.953 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002706/0.1276, allocations: 258.6 kB / 368.3 MB, free: 3.695 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.226e-05/0.1276, allocations: 29.7 kB / 368.3 MB, free: 3.66 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001285/0.1277, allocations: 199.5 kB / 368.5 MB, free: 3.457 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.347e-05/0.1278, allocations: 39.53 kB / 368.5 MB, free: 3.418 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.703e-05/0.1279, allocations: 49.61 kB / 368.6 MB, free: 3.363 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001224/0.128, allocations: 342.8 kB / 368.9 MB, free: 3.02 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003285/0.1283, allocations: 100.2 kB / 369 MB, free: 2.918 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000383/0.1287, allocations: 190.3 kB / 369.2 MB, free: 2.695 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006707/0.1294, allocations: 306.6 kB / 369.5 MB, free: 2.355 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.1294, allocations: 4 kB / 369.5 MB, free: 2.352 MB / 302.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0007802/0.1302, allocations: 362.9 kB / 369.8 MB, free: 1.984 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.049e-05/0.1303, allocations: 37.77 kB / 369.9 MB, free: 1.941 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.1303, allocations: 0 / 369.9 MB, free: 1.941 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.295e-05/0.1303, allocations: 4 kB / 369.9 MB, free: 1.938 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002716/0.1306, allocations: 67.89 kB / 370 MB, free: 1.871 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.271e-05/0.1306, allocations: 7.984 kB / 370 MB, free: 1.863 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000276/0.1309, allocations: 51.75 kB / 370 MB, free: 1.812 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.304e-05/0.1309, allocations: 12 kB / 370 MB, free: 1.801 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 5 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001369/0.1311, allocations: 149.7 kB / 370.2 MB, free: 1.645 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.578e-05/0.1311, allocations: 23.72 kB / 370.2 MB, free: 1.621 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.553e-05/0.1312, allocations: 21.7 kB / 370.2 MB, free: 1.598 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.346e-06/0.1312, allocations: 4 kB / 370.2 MB, free: 1.594 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.1312, allocations: 0 / 370.2 MB, free: 1.594 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.666e-06/0.1312, allocations: 7.922 kB / 370.2 MB, free: 1.586 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002882/0.1315, allocations: 305.5 kB / 370.5 MB, free: 1.238 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.1315, allocations: 4 kB / 370.5 MB, free: 1.234 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002392/0.1318, allocations: 47.95 kB / 370.6 MB, free: 1.188 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.1318, allocations: 3.938 kB / 370.6 MB, free: 1.184 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.802e-05/0.1318, allocations: 4 kB / 370.6 MB, free: 1.18 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.1318, allocations: 0 / 370.6 MB, free: 1.18 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.1318, allocations: 0 / 370.6 MB, free: 1.18 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009968/0.1328, allocations: 376.5 kB / 371 MB, free: 0.793 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.836e-05/0.1329, allocations: 104.8 kB / 371.1 MB, free: 0.6719 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.034e-05/0.1329, allocations: 4 kB / 371.1 MB, free: 0.668 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002348/0.1332, allocations: 27.97 kB / 371.1 MB, free: 0.6406 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.573e-05/0.1333, allocations: 19.97 kB / 371.1 MB, free: 0.6211 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.314e-05/0.1333, allocations: 3.938 kB / 371.1 MB, free: 0.6172 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001814/0.1335, allocations: 186 kB / 371.3 MB, free: 448 kB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1335, allocations: 64 / 371.3 MB, free: 448 kB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002923/0.1338, allocations: 71.84 kB / 371.4 MB, free: 376 kB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (der_.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 (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001732/0.134, allocations: 107.2 kB / 371.5 MB, free: 260 kB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.18/0.314, allocations: 293.2 kB / 371.8 MB, free: 20.4 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.104e-05/0.3141, allocations: 0 / 371.8 MB, free: 20.4 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004862/0.3146, allocations: 101.9 kB / 371.9 MB, free: 20.4 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005071/0.3151, allocations: 43.03 kB / 371.9 MB, free: 20.4 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00154/0.3167, allocations: 0.5187 MB / 372.4 MB, free: 20.18 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002732/0.3169, allocations: 0.751 MB / 373.2 MB, free: 19.48 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001447/0.3171, allocations: 26.62 kB / 373.2 MB, free: 19.48 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.393e-05/0.3172, allocations: 21.52 kB / 373.2 MB, free: 19.48 MB / 302.1 MB Notification: Performance of SimCode: time 1.353e-06/0.3172, allocations: 0.7812 kB / 373.2 MB, free: 19.48 MB / 302.1 MB Notification: Performance of Templates: time 0.008816/0.326, allocations: 3.011 MB / 376.2 MB, free: 19.36 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/Differentiator/Differentiator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches