Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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.0.0_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.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001184/0.001183, allocations: 114.9 kB / 17.74 MB, free: 5.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001189/0.001189, allocations: 188.4 kB / 18.67 MB, free: 4.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.354/1.354, allocations: 222.9 MB / 242.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000932/0.0009321, allocations: 55.91 kB / 352 MB, free: 3.207 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2396/0.2406, allocations: 49.43 MB / 401.4 MB, free: 8.727 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.003973/0.2446, allocations: 2.857 MB / 404.3 MB, free: 5.992 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001208/0.2458, allocations: 0.7245 MB / 405 MB, free: 5.262 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001334/0.246, allocations: 7.938 kB / 405 MB, free: 5.254 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001616/0.2462, allocations: 39.58 kB / 405.1 MB, free: 5.215 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000191/0.2464, allocations: 103.2 kB / 405.2 MB, free: 5.113 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002915/0.2467, allocations: 111.8 kB / 405.3 MB, free: 5.004 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004102/0.2471, allocations: 394.5 kB / 405.7 MB, free: 4.617 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002264/0.2473, allocations: 115.3 kB / 405.8 MB, free: 4.496 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002278/0.2476, allocations: 159.4 kB / 405.9 MB, free: 4.34 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002074/0.2478, allocations: 159.3 kB / 406.1 MB, free: 4.184 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.768e-05/0.2478, allocations: 47.94 kB / 406.1 MB, free: 4.137 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.807e-05/0.2479, allocations: 36 kB / 406.2 MB, free: 4.102 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.51e-05/0.248, allocations: 79.69 kB / 406.2 MB, free: 4.023 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001478/0.2481, allocations: 163.2 kB / 406.4 MB, free: 3.863 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003981/0.2485, allocations: 431.7 kB / 406.8 MB, free: 3.445 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.2486, allocations: 0 / 406.8 MB, free: 3.445 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.2486, allocations: 0 / 406.8 MB, free: 3.445 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.2486, allocations: 0 / 406.8 MB, free: 3.445 MB / 318.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.001286/0.2499, allocations: 0.6575 MB / 407.5 MB, free: 2.734 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.502e-05/0.2499, allocations: 11.89 kB / 407.5 MB, free: 2.723 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.429e-05/0.25, allocations: 32.56 kB / 407.5 MB, free: 2.691 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004031/0.2504, allocations: 292.6 kB / 407.8 MB, free: 2.367 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.897e-05/0.2504, allocations: 24.94 kB / 407.8 MB, free: 2.344 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.94e-05/0.2505, allocations: 24.38 kB / 407.9 MB, free: 2.32 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007034/0.2512, allocations: 312 kB / 408.2 MB, free: 2.008 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.2512, allocations: 3.984 kB / 408.2 MB, free: 2.004 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.086e-05/0.2513, allocations: 12 kB / 408.2 MB, free: 1.992 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.246e-06/0.2513, allocations: 8 kB / 408.2 MB, free: 1.984 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008108/0.2521, allocations: 274 kB / 408.5 MB, free: 1.715 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001768/0.2539, allocations: 1.107 MB / 409.6 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008782/0.2548, allocations: 242.6 kB / 409.8 MB, free: 292 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003434/0.2551, allocations: 100.8 kB / 409.9 MB, free: 188 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.074e-05/0.2551, allocations: 11.94 kB / 409.9 MB, free: 176 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000475/0.2556, allocations: 172.8 kB / 410.1 MB, free: 15.98 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.623e-06/0.2556, allocations: 4 kB / 410.1 MB, free: 15.98 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.001093/0.2567, allocations: 305.2 kB / 410.4 MB, free: 15.68 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.719e-05/0.2568, allocations: 85.11 kB / 410.5 MB, free: 15.57 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002714/0.2571, allocations: 270.5 kB / 410.7 MB, free: 15.3 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.531e-05/0.2571, allocations: 29.7 kB / 410.8 MB, free: 15.27 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001298/0.2573, allocations: 191.6 kB / 410.9 MB, free: 15.07 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.629e-05/0.2573, allocations: 39.44 kB / 411 MB, free: 15.04 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.149e-05/0.2574, allocations: 45.7 kB / 411 MB, free: 14.98 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001217/0.2575, allocations: 342.8 kB / 411.4 MB, free: 14.64 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000359/0.2579, allocations: 100.2 kB / 411.5 MB, free: 14.54 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004001/0.2583, allocations: 196.2 kB / 411.7 MB, free: 14.31 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007309/0.259, allocations: 299.8 kB / 411.9 MB, free: 13.97 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.259, allocations: 7.938 kB / 412 MB, free: 13.96 MB / 334.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0008804/0.2599, allocations: 362.6 kB / 412.3 MB, free: 13.59 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.196e-05/0.26, allocations: 34.05 kB / 412.3 MB, free: 13.55 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.26, allocations: 8 kB / 412.3 MB, free: 13.55 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/0.26, allocations: 4 kB / 412.4 MB, free: 13.54 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002974/0.2603, allocations: 67.81 kB / 412.4 MB, free: 13.48 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.2603, allocations: 4 kB / 412.4 MB, free: 13.47 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003069/0.2607, allocations: 51.66 kB / 412.5 MB, free: 13.42 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.531e-05/0.2607, allocations: 16 kB / 412.5 MB, free: 13.41 MB / 334.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.2608, allocations: 141.8 kB / 412.6 MB, free: 13.26 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.693e-05/0.2609, allocations: 23.8 kB / 412.7 MB, free: 13.23 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.269e-05/0.2609, allocations: 21.72 kB / 412.7 MB, free: 13.21 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.261, allocations: 4 kB / 412.7 MB, free: 13.2 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.261, allocations: 0 / 412.7 MB, free: 13.2 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/0.261, allocations: 7.922 kB / 412.7 MB, free: 13.2 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002852/0.2613, allocations: 313.3 kB / 413 MB, free: 12.84 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.2613, allocations: 4 kB / 413 MB, free: 12.84 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000255/0.2615, allocations: 51.95 kB / 413 MB, free: 12.79 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/0.2615, allocations: 0 / 413 MB, free: 12.79 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.442e-05/0.2616, allocations: 3.938 kB / 413 MB, free: 12.78 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.2616, allocations: 0 / 413 MB, free: 12.78 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.2616, allocations: 4 kB / 413.1 MB, free: 12.78 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001084/0.2627, allocations: 368.5 kB / 413.4 MB, free: 12.4 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.46e-05/0.2627, allocations: 96.94 kB / 413.5 MB, free: 12.29 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.138e-05/0.2628, allocations: 8.062 kB / 413.5 MB, free: 12.28 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002569/0.2631, allocations: 27.97 kB / 413.5 MB, free: 12.25 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.471e-05/0.2631, allocations: 19.97 kB / 413.6 MB, free: 12.23 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.256e-05/0.2632, allocations: 3.938 kB / 413.6 MB, free: 12.23 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001826/0.2633, allocations: 190 kB / 413.8 MB, free: 12.04 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.2633, allocations: 0 / 413.8 MB, free: 12.04 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000299/0.2637, allocations: 67.75 kB / 413.8 MB, free: 11.98 MB / 334.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.0001318/0.2638, allocations: 111.2 kB / 413.9 MB, free: 11.86 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008115/0.2646, allocations: 303 kB / 414.2 MB, free: 11.55 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.2646, allocations: 0 / 414.2 MB, free: 11.55 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00035/0.265, allocations: 99.86 kB / 414.3 MB, free: 11.46 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003253/0.2653, allocations: 53.02 kB / 414.4 MB, free: 11.41 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001085/0.2664, allocations: 0.5464 MB / 414.9 MB, free: 10.83 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002936/0.2667, allocations: 0.7518 MB / 415.7 MB, free: 10.05 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.517e-05/0.2668, allocations: 23.44 kB / 415.7 MB, free: 10.03 MB / 334.1 MB Notification: Performance of SimCode: time 3.1e-07/0.2668, allocations: 0 / 415.7 MB, free: 10.03 MB / 334.1 MB Notification: Performance of Templates: time 0.005206/0.272, allocations: 3.351 MB / 419 MB, free: 6.688 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches