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.001421/0.001421, allocations: 118.3 kB / 18.46 MB, free: 4.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001662/0.001662, allocations: 210.8 kB / 19.41 MB, free: 3.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.393/1.393, allocations: 227.4 MB / 247.6 MB, free: 10.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001148/0.001148, allocations: 63.91 kB / 359.4 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2845/0.2857, allocations: 50.54 MB / 410 MB, free: 1.77 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.003716/0.2894, allocations: 2.87 MB / 412.8 MB, free: 14.89 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001208/0.2906, allocations: 0.7402 MB / 413.6 MB, free: 14.14 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001334/0.2908, allocations: 7.938 kB / 413.6 MB, free: 14.13 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001476/0.291, allocations: 43.58 kB / 413.6 MB, free: 14.09 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001725/0.2911, allocations: 107.2 kB / 413.7 MB, free: 13.98 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003036/0.2914, allocations: 107.8 kB / 413.8 MB, free: 13.88 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003729/0.2918, allocations: 394.5 kB / 414.2 MB, free: 13.49 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002362/0.2921, allocations: 131.2 kB / 414.4 MB, free: 13.35 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002685/0.2924, allocations: 151.5 kB / 414.5 MB, free: 13.2 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002042/0.2926, allocations: 171.2 kB / 414.7 MB, free: 13.04 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.19e-05/0.2926, allocations: 36 kB / 414.7 MB, free: 13 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.359e-05/0.2927, allocations: 40 kB / 414.7 MB, free: 12.96 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.053e-05/0.2928, allocations: 75.75 kB / 414.8 MB, free: 12.89 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001527/0.2929, allocations: 167.2 kB / 415 MB, free: 12.72 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003779/0.2933, allocations: 423.8 kB / 415.4 MB, free: 12.31 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.2933, allocations: 3.938 kB / 415.4 MB, free: 12.3 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2933, allocations: 4 kB / 415.4 MB, free: 12.3 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.004e-06/0.2933, allocations: 0 / 415.4 MB, free: 12.3 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.001236/0.2946, allocations: 0.6575 MB / 416.1 MB, free: 11.59 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/0.2946, allocations: 12.03 kB / 416.1 MB, free: 11.58 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.694e-05/0.2947, allocations: 32.56 kB / 416.1 MB, free: 11.55 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004002/0.2951, allocations: 292.7 kB / 416.4 MB, free: 11.22 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.211e-05/0.2951, allocations: 16.94 kB / 416.4 MB, free: 11.2 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.723e-05/0.2952, allocations: 20.38 kB / 416.4 MB, free: 11.18 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006742/0.2959, allocations: 320 kB / 416.7 MB, free: 10.86 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.2959, allocations: 0 / 416.7 MB, free: 10.86 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.85e-05/0.2959, allocations: 8 kB / 416.7 MB, free: 10.85 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.326e-06/0.296, allocations: 8 kB / 416.8 MB, free: 10.84 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007341/0.2967, allocations: 278 kB / 417 MB, free: 10.57 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001655/0.2984, allocations: 1.111 MB / 418.1 MB, free: 9.383 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008218/0.2992, allocations: 246.6 kB / 418.4 MB, free: 9.133 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003328/0.2995, allocations: 104.8 kB / 418.5 MB, free: 9.027 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.057e-05/0.2996, allocations: 0 / 418.5 MB, free: 9.027 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004319/0.3, allocations: 172.9 kB / 418.7 MB, free: 8.84 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.393e-06/0.3, allocations: 0 / 418.7 MB, free: 8.84 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.00101/0.301, allocations: 313.2 kB / 419 MB, free: 8.527 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.189e-05/0.3011, allocations: 81.11 kB / 419 MB, free: 8.43 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002561/0.3013, allocations: 270.5 kB / 419.3 MB, free: 8.16 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.842e-05/0.3014, allocations: 33.7 kB / 419.3 MB, free: 8.121 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001099/0.3015, allocations: 191.5 kB / 419.5 MB, free: 7.926 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.148e-05/0.3015, allocations: 43.39 kB / 419.6 MB, free: 7.883 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.973e-05/0.3016, allocations: 53.7 kB / 419.6 MB, free: 7.824 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001052/0.3017, allocations: 334.8 kB / 419.9 MB, free: 7.488 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003394/0.3021, allocations: 108.2 kB / 420 MB, free: 7.379 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000378/0.3025, allocations: 191.5 kB / 420.2 MB, free: 7.152 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006577/0.3031, allocations: 303.7 kB / 420.5 MB, free: 6.812 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.3032, allocations: 0 / 420.5 MB, free: 6.812 MB / 334.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0008388/0.304, allocations: 370.6 kB / 420.9 MB, free: 6.441 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.212e-05/0.3041, allocations: 36.52 kB / 420.9 MB, free: 6.402 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.256e-06/0.3041, allocations: 4 kB / 420.9 MB, free: 6.398 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.3041, allocations: 4 kB / 420.9 MB, free: 6.395 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002858/0.3044, allocations: 71.88 kB / 421 MB, free: 6.324 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.146e-05/0.3044, allocations: 7.984 kB / 421 MB, free: 6.316 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002903/0.3047, allocations: 51.78 kB / 421.1 MB, free: 6.266 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.987e-05/0.3047, allocations: 11.94 kB / 421.1 MB, free: 6.254 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.0001277/0.3049, allocations: 150 kB / 421.2 MB, free: 6.098 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.735e-05/0.3049, allocations: 27.59 kB / 421.3 MB, free: 6.07 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.052e-05/0.305, allocations: 25.72 kB / 421.3 MB, free: 6.039 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.305, allocations: 3.984 kB / 421.3 MB, free: 6.035 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.305, allocations: 0 / 421.3 MB, free: 6.035 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.161e-05/0.3051, allocations: 96.86 kB / 421.4 MB, free: 5.922 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.999e-05/0.3051, allocations: 11.94 kB / 421.4 MB, free: 5.91 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002317/0.3053, allocations: 27.95 kB / 421.4 MB, free: 5.883 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.117e-05/0.3054, allocations: 15.98 kB / 421.4 MB, free: 5.867 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008671/0.3063, allocations: 329.1 kB / 421.8 MB, free: 5.539 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001035/0.3073, allocations: 0.5139 MB / 422.3 MB, free: 5.008 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003295/0.3077, allocations: 99.94 kB / 422.4 MB, free: 4.91 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001679/0.3079, allocations: 190 kB / 422.5 MB, free: 4.727 MB / 334.1 MB Notification: Performance of Backend: time 6.81e-07/0.3079, allocations: 4 kB / 422.6 MB, free: 4.723 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008031/0.3087, allocations: 285.8 kB / 422.8 MB, free: 4.426 MB / 334.1 MB Notification: Performance of SimCode: time 0.001118/0.3098, allocations: 0.9457 MB / 423.8 MB, free: 3.434 MB / 334.1 MB Notification: Performance of Templates: time 0.006847/0.3167, allocations: 3.53 MB / 427.3 MB, free: 15.93 MB / 350.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 -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