Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001546/0.001546, allocations: 118.1 kB / 17.83 MB, free: 5.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001552/0.001552, allocations: 209.1 kB / 18.79 MB, free: 4.383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.519/1.519, allocations: 230.4 MB / 250 MB, free: 9.039 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001843/0.001843, allocations: 75.8 kB / 367.4 MB, free: 7.023 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2827/0.2845, allocations: 53.31 MB / 420.7 MB, free: 8.371 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.004621/0.2892, allocations: 2.893 MB / 423.6 MB, free: 5.469 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001564/0.2907, allocations: 0.7517 MB / 424.3 MB, free: 4.711 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001716/0.2909, allocations: 4 kB / 424.3 MB, free: 4.707 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002222/0.2911, allocations: 47.5 kB / 424.4 MB, free: 4.66 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000219/0.2913, allocations: 99.25 kB / 424.5 MB, free: 4.562 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003303/0.2917, allocations: 115.8 kB / 424.6 MB, free: 4.449 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000456/0.2921, allocations: 394.5 kB / 425 MB, free: 4.062 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002224/0.2924, allocations: 87.25 kB / 425.1 MB, free: 3.969 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003191/0.2927, allocations: 163.4 kB / 425.2 MB, free: 3.809 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002235/0.2929, allocations: 167.3 kB / 425.4 MB, free: 3.645 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.686e-05/0.293, allocations: 40 kB / 425.4 MB, free: 3.605 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.587e-05/0.293, allocations: 36 kB / 425.5 MB, free: 3.57 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.746e-05/0.2931, allocations: 75.7 kB / 425.5 MB, free: 3.496 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001599/0.2932, allocations: 163.2 kB / 425.7 MB, free: 3.336 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005042/0.2938, allocations: 426.2 kB / 426.1 MB, free: 2.922 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.2938, allocations: 0 / 426.1 MB, free: 2.922 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.2938, allocations: 7.938 kB / 426.1 MB, free: 2.914 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.913e-06/0.2938, allocations: 0 / 426.1 MB, free: 2.914 MB / 334.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.001389/0.2952, allocations: 0.6718 MB / 426.8 MB, free: 2.191 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.2952, allocations: 8.031 kB / 426.8 MB, free: 2.184 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.419e-05/0.2953, allocations: 32.75 kB / 426.8 MB, free: 2.152 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000454/0.2957, allocations: 288.8 kB / 427.1 MB, free: 1.832 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.928e-05/0.2958, allocations: 20.94 kB / 427.1 MB, free: 1.809 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.165e-05/0.2958, allocations: 24.38 kB / 427.2 MB, free: 1.785 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007352/0.2965, allocations: 323.9 kB / 427.5 MB, free: 1.457 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.375e-05/0.2966, allocations: 0 / 427.5 MB, free: 1.457 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.593e-05/0.2966, allocations: 12 kB / 427.5 MB, free: 1.445 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.626e-06/0.2966, allocations: 4 kB / 427.5 MB, free: 1.441 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008151/0.2974, allocations: 274.1 kB / 427.8 MB, free: 1.176 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001943/0.2994, allocations: 1.112 MB / 428.9 MB, free: 15.98 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000871/0.3002, allocations: 238.5 kB / 429.1 MB, free: 15.74 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003288/0.3006, allocations: 96.78 kB / 429.2 MB, free: 15.64 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.47e-05/0.3006, allocations: 4 kB / 429.2 MB, free: 15.64 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004881/0.3011, allocations: 176.9 kB / 429.4 MB, free: 15.45 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.503e-06/0.3011, allocations: 0 / 429.4 MB, free: 15.45 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.001166/0.3022, allocations: 309.3 kB / 429.7 MB, free: 15.14 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.021e-05/0.3023, allocations: 85.09 kB / 429.8 MB, free: 15.04 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000322/0.3026, allocations: 262.6 kB / 430 MB, free: 14.78 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.181e-05/0.3027, allocations: 29.7 kB / 430 MB, free: 14.74 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001799/0.3029, allocations: 199.9 kB / 430.2 MB, free: 14.54 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.231e-05/0.3029, allocations: 47.58 kB / 430.3 MB, free: 14.49 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001033/0.303, allocations: 45.7 kB / 430.3 MB, free: 14.44 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001773/0.3032, allocations: 342.8 kB / 430.7 MB, free: 14.1 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003562/0.3035, allocations: 104.1 kB / 430.8 MB, free: 13.99 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004165/0.304, allocations: 195.5 kB / 431 MB, free: 13.76 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000733/0.3047, allocations: 303 kB / 431.3 MB, free: 13.43 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.3047, allocations: 4 kB / 431.3 MB, free: 13.42 MB / 350.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0009023/0.3056, allocations: 363 kB / 431.6 MB, free: 13.05 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.461e-05/0.3056, allocations: 33.7 kB / 431.6 MB, free: 13.02 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.797e-06/0.3056, allocations: 4 kB / 431.6 MB, free: 13.01 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.08e-05/0.3057, allocations: 4 kB / 431.7 MB, free: 13.01 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002947/0.306, allocations: 59.89 kB / 431.7 MB, free: 12.95 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.434e-05/0.306, allocations: 11.98 kB / 431.7 MB, free: 12.94 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003079/0.3063, allocations: 55.81 kB / 431.8 MB, free: 12.88 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.052e-05/0.3063, allocations: 12 kB / 431.8 MB, free: 12.87 MB / 350.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.0001682/0.3065, allocations: 141.7 kB / 431.9 MB, free: 12.72 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.116e-05/0.3065, allocations: 23.86 kB / 432 MB, free: 12.7 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.927e-05/0.3066, allocations: 29.7 kB / 432 MB, free: 12.66 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.139e-06/0.3066, allocations: 7.984 kB / 432 MB, free: 12.66 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.705e-06/0.3066, allocations: 7.938 kB / 432 MB, free: 12.65 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.006e-05/0.3066, allocations: 3.938 kB / 432 MB, free: 12.64 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003586/0.307, allocations: 309.5 kB / 432.3 MB, free: 12.29 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.307, allocations: 0 / 432.3 MB, free: 12.29 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002563/0.3073, allocations: 47.95 kB / 432.3 MB, free: 12.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.3073, allocations: 0 / 432.3 MB, free: 12.25 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.699e-05/0.3073, allocations: 0 / 432.3 MB, free: 12.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.3073, allocations: 0 / 432.3 MB, free: 12.25 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.674e-06/0.3073, allocations: 8 kB / 432.4 MB, free: 12.24 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001087/0.3084, allocations: 368.6 kB / 432.7 MB, free: 11.86 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.311e-05/0.3084, allocations: 101 kB / 432.8 MB, free: 11.74 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.685e-05/0.3085, allocations: 11.94 kB / 432.8 MB, free: 11.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002355/0.3087, allocations: 23.97 kB / 432.9 MB, free: 11.71 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.676e-05/0.3088, allocations: 24.03 kB / 432.9 MB, free: 11.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.502e-05/0.3088, allocations: 3.938 kB / 432.9 MB, free: 11.68 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002161/0.309, allocations: 190 kB / 433.1 MB, free: 11.5 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.309, allocations: 0 / 433.1 MB, free: 11.5 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003253/0.3094, allocations: 71.78 kB / 433.1 MB, free: 11.43 MB / 350.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.0001611/0.3095, allocations: 107.2 kB / 433.2 MB, free: 11.31 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008254/0.3104, allocations: 283.1 kB / 433.5 MB, free: 11.02 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.3104, allocations: 7.938 kB / 433.5 MB, free: 11.02 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00035/0.3107, allocations: 97.09 kB / 433.6 MB, free: 10.92 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003487/0.3111, allocations: 47.39 kB / 433.7 MB, free: 10.88 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001249/0.3123, allocations: 0.5402 MB / 434.2 MB, free: 10.31 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003879/0.3127, allocations: 0.7519 MB / 435 MB, free: 9.531 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001145/0.3128, allocations: 22.28 kB / 435 MB, free: 9.508 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.738e-05/0.3129, allocations: 19.44 kB / 435 MB, free: 9.492 MB / 350.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3129, allocations: 4 kB / 435 MB, free: 9.488 MB / 350.1 MB Notification: Performance of Templates: time 0.007598/0.3205, allocations: 3.075 MB / 438.1 MB, free: 6.445 MB / 350.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/Differentiator/Differentiator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches