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.001604/0.001604, allocations: 113.2 kB / 17.75 MB, free: 5.352 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.001804/0.001804, allocations: 186.5 kB / 18.68 MB, free: 4.43 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.324/1.324, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009647/0.0009648, allocations: 51.92 kB / 352 MB, free: 3.215 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2196/0.2206, allocations: 49.42 MB / 401.4 MB, free: 8.75 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.00393/0.2246, allocations: 2.86 MB / 404.3 MB, free: 5.996 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001304/0.2259, allocations: 0.7245 MB / 405 MB, free: 5.266 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001985/0.2261, allocations: 4 kB / 405 MB, free: 5.262 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001684/0.2263, allocations: 43.56 kB / 405.1 MB, free: 5.219 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000234/0.2266, allocations: 103.2 kB / 405.2 MB, free: 5.117 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003093/0.2269, allocations: 111.8 kB / 405.3 MB, free: 5.008 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004303/0.2273, allocations: 402.5 kB / 405.7 MB, free: 4.613 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002302/0.2276, allocations: 115.3 kB / 405.8 MB, free: 4.492 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002509/0.2278, allocations: 159.4 kB / 405.9 MB, free: 4.336 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002213/0.2281, allocations: 155.4 kB / 406.1 MB, free: 4.184 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.034e-05/0.2281, allocations: 40 kB / 406.1 MB, free: 4.145 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.609e-05/0.2282, allocations: 40 kB / 406.2 MB, free: 4.105 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.48e-05/0.2283, allocations: 75.69 kB / 406.2 MB, free: 4.031 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001611/0.2284, allocations: 171.2 kB / 406.4 MB, free: 3.863 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003868/0.2288, allocations: 423.7 kB / 406.8 MB, free: 3.453 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.2288, allocations: 0 / 406.8 MB, free: 3.453 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.2288, allocations: 0 / 406.8 MB, free: 3.453 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.069e-05/0.2289, allocations: 0 / 406.8 MB, free: 3.453 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.001239/0.2301, allocations: 0.6575 MB / 407.5 MB, free: 2.742 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.624e-05/0.2302, allocations: 11.89 kB / 407.5 MB, free: 2.73 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.803e-05/0.2302, allocations: 32.56 kB / 407.5 MB, free: 2.699 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003681/0.2306, allocations: 296.6 kB / 407.8 MB, free: 2.371 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.276e-05/0.2306, allocations: 28.92 kB / 407.8 MB, free: 2.344 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.945e-05/0.2307, allocations: 24.38 kB / 407.9 MB, free: 2.32 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000698/0.2314, allocations: 312 kB / 408.2 MB, free: 2.008 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.2314, allocations: 0 / 408.2 MB, free: 2.008 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.072e-05/0.2315, allocations: 12 kB / 408.2 MB, free: 1.996 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.181e-05/0.2315, allocations: 12 kB / 408.2 MB, free: 1.984 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007881/0.2323, allocations: 270 kB / 408.5 MB, free: 1.719 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001742/0.234, allocations: 1.111 MB / 409.6 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008589/0.2349, allocations: 238.6 kB / 409.8 MB, free: 296 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003366/0.2352, allocations: 104.7 kB / 409.9 MB, free: 188 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.092e-05/0.2353, allocations: 11.94 kB / 409.9 MB, free: 176 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004608/0.2357, allocations: 176.8 kB / 410.1 MB, free: 15.98 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.562e-06/0.2358, allocations: 0 / 410.1 MB, free: 15.98 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.001058/0.2368, allocations: 305.2 kB / 410.4 MB, free: 15.68 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.247e-05/0.2369, allocations: 85.11 kB / 410.5 MB, free: 15.57 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002647/0.2371, allocations: 274.4 kB / 410.7 MB, free: 15.3 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.695e-05/0.2372, allocations: 33.7 kB / 410.8 MB, free: 15.26 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001161/0.2373, allocations: 195.5 kB / 411 MB, free: 15.06 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.672e-05/0.2373, allocations: 39.45 kB / 411 MB, free: 15.02 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.219e-05/0.2374, allocations: 49.7 kB / 411.1 MB, free: 14.97 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000108/0.2376, allocations: 330.8 kB / 411.4 MB, free: 14.64 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003589/0.2379, allocations: 108.1 kB / 411.5 MB, free: 14.53 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000397/0.2383, allocations: 190.2 kB / 411.7 MB, free: 14.3 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000705/0.239, allocations: 303.7 kB / 412 MB, free: 13.96 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.2391, allocations: 0 / 412 MB, free: 13.96 MB / 334.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0008887/0.2399, allocations: 362.6 kB / 412.3 MB, free: 13.59 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.437e-05/0.24, allocations: 33.7 kB / 412.4 MB, free: 13.55 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/0.24, allocations: 4.344 kB / 412.4 MB, free: 13.55 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.24, allocations: 8 kB / 412.4 MB, free: 13.54 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002947/0.2403, allocations: 71.88 kB / 412.4 MB, free: 13.47 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.956e-06/0.2403, allocations: 4 kB / 412.4 MB, free: 13.47 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003056/0.2407, allocations: 43.72 kB / 412.5 MB, free: 13.43 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.528e-05/0.2407, allocations: 15.94 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.0001287/0.2408, allocations: 148.9 kB / 412.6 MB, free: 13.26 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.305e-05/0.2409, allocations: 19.81 kB / 412.7 MB, free: 13.24 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.946e-05/0.2409, allocations: 25.7 kB / 412.7 MB, free: 13.21 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.616e-06/0.2409, allocations: 4 kB / 412.7 MB, free: 13.2 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.241, allocations: 0 / 412.7 MB, free: 13.2 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.684e-05/0.241, allocations: 104.8 kB / 412.8 MB, free: 13.08 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.328e-05/0.2411, allocations: 7.922 kB / 412.8 MB, free: 13.07 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002485/0.2413, allocations: 39.91 kB / 412.8 MB, free: 13.04 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.574e-05/0.2414, allocations: 15.98 kB / 412.9 MB, free: 13.02 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009417/0.2424, allocations: 332.7 kB / 413.2 MB, free: 12.69 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001131/0.2435, allocations: 0.506 MB / 413.7 MB, free: 12.16 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000332/0.2438, allocations: 104 kB / 413.8 MB, free: 12.06 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001688/0.244, allocations: 190 kB / 414 MB, free: 11.88 MB / 334.1 MB Notification: Performance of Backend: time 3.71e-07/0.244, allocations: 0 / 414 MB, free: 11.88 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007997/0.2448, allocations: 285.3 kB / 414.3 MB, free: 11.59 MB / 334.1 MB Notification: Performance of SimCode: time 0.001067/0.2459, allocations: 0.9589 MB / 415.2 MB, free: 10.58 MB / 334.1 MB Notification: Performance of Templates: time 0.006879/0.2528, allocations: 3.514 MB / 418.7 MB, free: 7.098 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