Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.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.LowPass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|firstOrder.c.v|firstOrder.opAmp.out.v|firstOrder.opAmp.out.i",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001161/0.001162, allocations: 110.3 kB / 17.74 MB, free: 5.359 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.001174/0.001174, allocations: 185.4 kB / 18.67 MB, free: 4.438 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.323/1.323, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001052/0.001052, allocations: 47.94 kB / 352 MB, free: 3.219 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.234/0.2351, allocations: 49.43 MB / 401.4 MB, free: 8.75 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LowPass): time 0.006232/0.2413, allocations: 3.083 MB / 404.5 MB, free: 5.754 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001854/0.2432, allocations: 0.7598 MB / 405.3 MB, free: 4.992 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002881/0.2435, allocations: 4 kB / 405.3 MB, free: 4.988 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000251/0.2438, allocations: 59.42 kB / 405.3 MB, free: 4.93 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004073/0.2442, allocations: 119.1 kB / 405.5 MB, free: 4.812 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004523/0.2447, allocations: 135.7 kB / 405.6 MB, free: 4.68 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007274/0.2454, allocations: 458.2 kB / 406 MB, free: 4.23 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003448/0.2458, allocations: 134.9 kB / 406.2 MB, free: 4.094 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003658/0.2462, allocations: 187.3 kB / 406.4 MB, free: 3.91 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003679/0.2466, allocations: 183.2 kB / 406.5 MB, free: 3.73 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001012/0.2467, allocations: 44 kB / 406.6 MB, free: 3.688 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001098/0.2468, allocations: 48 kB / 406.6 MB, free: 3.641 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000114/0.2469, allocations: 87.69 kB / 406.7 MB, free: 3.555 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002924/0.2472, allocations: 195.1 kB / 406.9 MB, free: 3.363 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006711/0.2479, allocations: 499.5 kB / 407.4 MB, free: 2.879 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.2479, allocations: 0 / 407.4 MB, free: 2.879 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.2479, allocations: 0 / 407.4 MB, free: 2.879 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.555e-05/0.2479, allocations: 0 / 407.4 MB, free: 2.879 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.001928/0.2499, allocations: 0.711 MB / 408.1 MB, free: 2.113 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.732e-05/0.2499, allocations: 11.89 kB / 408.1 MB, free: 2.102 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001281/0.2501, allocations: 44.45 kB / 408.2 MB, free: 2.059 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005936/0.2507, allocations: 314.6 kB / 408.5 MB, free: 1.715 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.341e-05/0.2507, allocations: 24.94 kB / 408.5 MB, free: 1.691 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.264e-05/0.2508, allocations: 32.31 kB / 408.5 MB, free: 1.66 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001104/0.2519, allocations: 351.6 kB / 408.9 MB, free: 1.309 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.768e-05/0.252, allocations: 11.97 kB / 408.9 MB, free: 1.297 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.638e-05/0.252, allocations: 8 kB / 408.9 MB, free: 1.289 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.262e-05/0.252, allocations: 8 kB / 408.9 MB, free: 1.281 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001255/0.2533, allocations: 298.1 kB / 409.2 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00311/0.2564, allocations: 1.264 MB / 410.4 MB, free: 15.64 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001178/0.2576, allocations: 339.5 kB / 410.8 MB, free: 15.28 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006212/0.2583, allocations: 140.8 kB / 410.9 MB, free: 15.14 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.747e-05/0.2583, allocations: 4 kB / 410.9 MB, free: 15.14 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006753/0.259, allocations: 201.8 kB / 411.1 MB, free: 14.92 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 2.335e-06/0.259, allocations: 0 / 411.1 MB, free: 14.92 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.003088/0.2621, allocations: 0.6355 MB / 411.7 MB, free: 14.25 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.339e-05/0.2622, allocations: 110.7 kB / 411.9 MB, free: 14.12 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004864/0.2627, allocations: 295.2 kB / 412.1 MB, free: 13.82 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.038e-05/0.2628, allocations: 29.7 kB / 412.2 MB, free: 13.79 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000195/0.263, allocations: 211.9 kB / 412.4 MB, free: 13.57 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.721e-05/0.263, allocations: 55.2 kB / 412.4 MB, free: 13.52 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001481/0.2632, allocations: 61.61 kB / 412.5 MB, free: 13.45 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001594/0.2634, allocations: 338.8 kB / 412.8 MB, free: 13.11 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005638/0.264, allocations: 116.2 kB / 412.9 MB, free: 13 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006401/0.2646, allocations: 209.3 kB / 413.1 MB, free: 12.75 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001111/0.2657, allocations: 337.3 kB / 413.5 MB, free: 12.38 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.073e-06/0.2657, allocations: 4 kB / 413.5 MB, free: 12.38 MB / 334.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001911/0.2677, allocations: 485.6 kB / 413.9 MB, free: 11.89 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.549e-05/0.2677, allocations: 36.52 kB / 414 MB, free: 11.85 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.797e-06/0.2678, allocations: 4.062 kB / 414 MB, free: 11.84 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000411/0.2682, allocations: 64.81 kB / 414.1 MB, free: 11.78 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004311/0.2686, allocations: 67.89 kB / 414.1 MB, free: 11.71 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00304/0.2717, allocations: 1.647 MB / 415.8 MB, free: 9.926 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000535/0.2722, allocations: 51.72 kB / 415.8 MB, free: 9.875 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.343e-05/0.2723, allocations: 15.98 kB / 415.8 MB, free: 9.859 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.0002401/0.2725, allocations: 165.8 kB / 416 MB, free: 9.691 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.754e-05/0.2726, allocations: 23.72 kB / 416 MB, free: 9.668 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.664e-05/0.2727, allocations: 34.23 kB / 416 MB, free: 9.637 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.506e-06/0.2727, allocations: 11.94 kB / 416.1 MB, free: 9.625 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.033e-06/0.2727, allocations: 0 / 416.1 MB, free: 9.625 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001159/0.2729, allocations: 100.8 kB / 416.2 MB, free: 9.508 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.362e-05/0.2729, allocations: 4 kB / 416.2 MB, free: 9.504 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000395/0.2733, allocations: 39.95 kB / 416.2 MB, free: 9.465 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.652e-05/0.2734, allocations: 19.92 kB / 416.2 MB, free: 9.445 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001865/0.2753, allocations: 469.3 kB / 416.7 MB, free: 8.977 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001231/0.2766, allocations: 0.5559 MB / 417.2 MB, free: 8.406 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000369/0.2769, allocations: 122.9 kB / 417.4 MB, free: 8.289 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002138/0.2772, allocations: 214 kB / 417.6 MB, free: 8.082 MB / 334.1 MB Notification: Performance of Backend: time 4.41e-07/0.2772, allocations: 0 / 417.6 MB, free: 8.082 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001058/0.2782, allocations: 424.8 kB / 418 MB, free: 7.633 MB / 334.1 MB Notification: Performance of SimCode: time 0.001325/0.2796, allocations: 1.036 MB / 419 MB, free: 6.547 MB / 334.1 MB Notification: Performance of Templates: time 0.009326/0.2889, allocations: 4.475 MB / 423.5 MB, free: 2.109 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches