Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.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.LowPass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|firstOrder.c.v|firstOrder.opAmp.out.v|firstOrder.opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.LowPass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|firstOrder.c.v|firstOrder.opAmp.out.v|firstOrder.opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001573/0.001574, allocations: 113.2 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002075/0.002075, allocations: 210.7 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.377/1.377, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001189/0.001189, allocations: 63.89 kB / 359.4 MB, free: 12.86 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.226/0.2272, allocations: 50.54 MB / 410 MB, free: 1.547 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LowPass): time 0.003928/0.2312, allocations: 3.096 MB / 413.1 MB, free: 14.44 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001262/0.2325, allocations: 0.7948 MB / 413.9 MB, free: 13.64 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001335/0.2326, allocations: 4 kB / 413.9 MB, free: 13.63 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001632/0.2328, allocations: 59.44 kB / 413.9 MB, free: 13.57 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002169/0.233, allocations: 119.1 kB / 414 MB, free: 13.46 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002937/0.2333, allocations: 131.7 kB / 414.2 MB, free: 13.33 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004361/0.2338, allocations: 458.2 kB / 414.6 MB, free: 12.88 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002583/0.234, allocations: 146.8 kB / 414.8 MB, free: 12.73 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002866/0.2343, allocations: 187.3 kB / 414.9 MB, free: 12.55 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002165/0.2346, allocations: 183.2 kB / 415.1 MB, free: 12.37 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.346e-05/0.2346, allocations: 47.94 kB / 415.2 MB, free: 12.32 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.813e-05/0.2347, allocations: 48 kB / 415.2 MB, free: 12.27 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.957e-05/0.2348, allocations: 87.69 kB / 415.3 MB, free: 12.19 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001702/0.2349, allocations: 199.1 kB / 415.5 MB, free: 11.99 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000446/0.2354, allocations: 0.4917 MB / 416 MB, free: 11.5 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.2354, allocations: 0 / 416 MB, free: 11.5 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.2354, allocations: 0 / 416 MB, free: 11.5 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.102e-06/0.2354, allocations: 0 / 416 MB, free: 11.5 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.001288/0.2367, allocations: 0.7071 MB / 416.7 MB, free: 10.74 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.2368, allocations: 8.031 kB / 416.7 MB, free: 10.73 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.778e-05/0.2369, allocations: 44.45 kB / 416.7 MB, free: 10.69 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003942/0.2373, allocations: 322.5 kB / 417.1 MB, free: 10.34 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.355e-05/0.2373, allocations: 20.94 kB / 417.1 MB, free: 10.32 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.354e-05/0.2374, allocations: 32.38 kB / 417.1 MB, free: 10.29 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007856/0.2382, allocations: 355.5 kB / 417.5 MB, free: 9.926 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.2382, allocations: 0 / 417.5 MB, free: 9.926 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.116e-05/0.2382, allocations: 8 kB / 417.5 MB, free: 9.918 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.002e-05/0.2382, allocations: 8 kB / 417.5 MB, free: 9.91 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008667/0.2391, allocations: 310 kB / 417.8 MB, free: 9.609 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002088/0.2412, allocations: 1.248 MB / 419 MB, free: 8.273 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008308/0.242, allocations: 335.5 kB / 419.4 MB, free: 7.918 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004242/0.2425, allocations: 140.8 kB / 419.5 MB, free: 7.777 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.42e-05/0.2425, allocations: 4 kB / 419.5 MB, free: 7.773 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005169/0.243, allocations: 201.8 kB / 419.7 MB, free: 7.555 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.572e-06/0.2431, allocations: 0 / 419.7 MB, free: 7.555 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.002151/0.2452, allocations: 0.6393 MB / 420.3 MB, free: 6.887 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.062e-05/0.2453, allocations: 106.8 kB / 420.4 MB, free: 6.758 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002989/0.2456, allocations: 295.2 kB / 420.7 MB, free: 6.465 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.792e-05/0.2456, allocations: 29.7 kB / 420.8 MB, free: 6.43 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001407/0.2458, allocations: 211.9 kB / 421 MB, free: 6.219 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.649e-05/0.2458, allocations: 55.25 kB / 421 MB, free: 6.164 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001141/0.2459, allocations: 61.59 kB / 421.1 MB, free: 6.098 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001285/0.2461, allocations: 334.8 kB / 421.4 MB, free: 5.762 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003887/0.2465, allocations: 120.2 kB / 421.5 MB, free: 5.645 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004465/0.2469, allocations: 217.3 kB / 421.7 MB, free: 5.391 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007588/0.2477, allocations: 334.7 kB / 422.1 MB, free: 5.023 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.2477, allocations: 3.938 kB / 422.1 MB, free: 5.02 MB / 334.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001288/0.249, allocations: 487.7 kB / 422.5 MB, free: 4.527 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.604e-05/0.2491, allocations: 29.7 kB / 422.6 MB, free: 4.492 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.2491, allocations: 8.062 kB / 422.6 MB, free: 4.484 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003205/0.2494, allocations: 68.8 kB / 422.6 MB, free: 4.414 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000294/0.2497, allocations: 67.89 kB / 422.7 MB, free: 4.348 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002136/0.2519, allocations: 1.647 MB / 424.4 MB, free: 2.562 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003302/0.2522, allocations: 51.72 kB / 424.4 MB, free: 2.512 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.412e-05/0.2522, allocations: 8 kB / 424.4 MB, free: 2.504 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 (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001814/0.2524, allocations: 165.7 kB / 424.6 MB, free: 2.332 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.938e-05/0.2525, allocations: 31.66 kB / 424.6 MB, free: 2.301 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.035e-05/0.2525, allocations: 34.14 kB / 424.6 MB, free: 2.266 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.2526, allocations: 0 / 424.6 MB, free: 2.266 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.035e-06/0.2526, allocations: 4 kB / 424.6 MB, free: 2.262 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.202e-05/0.2526, allocations: 100.8 kB / 424.7 MB, free: 2.145 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.138e-05/0.2527, allocations: 8 kB / 424.8 MB, free: 2.137 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002614/0.253, allocations: 31.97 kB / 424.8 MB, free: 2.105 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.208e-05/0.253, allocations: 19.97 kB / 424.8 MB, free: 2.086 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001416/0.2545, allocations: 473.3 kB / 425.3 MB, free: 1.613 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001143/0.2556, allocations: 0.5567 MB / 425.8 MB, free: 1.039 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003618/0.256, allocations: 122.6 kB / 425.9 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000201/0.2562, allocations: 210 kB / 426.1 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of Backend: time 3.91e-07/0.2562, allocations: 0 / 426.1 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009823/0.2572, allocations: 424.4 kB / 426.6 MB, free: 276 kB / 334.1 MB Notification: Performance of SimCode: time 0.001135/0.2583, allocations: 1.033 MB / 427.6 MB, free: 15.18 MB / 350.1 MB Notification: Performance of Templates: time 0.008241/0.2666, allocations: 4.505 MB / 432.1 MB, free: 10.73 MB / 350.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/LowPass/LowPass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches