Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.LowPass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|c.v|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.LowPass") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.LowPass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|c.v|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.LowPass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001077/0.001077, allocations: 173.7 kB / 16.72 MB, free: 5.086 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.445/1.445, allocations: 205.4 MB / 222.9 MB, free: 9.027 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007889/0.0007889, allocations: 90.36 kB / 271.2 MB, free: 8.242 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003466/0.0003466, allocations: 19.98 kB / 327.5 MB, free: 15.86 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2884/0.2888, allocations: 47.56 MB / 375.1 MB, free: 45.44 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LowPass): time 0.002753/0.2916, allocations: 2.402 MB / 377.5 MB, free: 43.55 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001095/0.2927, allocations: 0.7184 MB / 378.2 MB, free: 42.96 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000138/0.2929, allocations: 4.438 kB / 378.2 MB, free: 42.96 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001363/0.293, allocations: 32.05 kB / 378.3 MB, free: 42.93 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001682/0.2932, allocations: 80.5 kB / 378.3 MB, free: 42.86 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002482/0.2935, allocations: 76.84 kB / 378.4 MB, free: 42.8 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003484/0.2938, allocations: 349.9 kB / 378.8 MB, free: 42.59 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002043/0.294, allocations: 83.09 kB / 378.8 MB, free: 42.55 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002042/0.2942, allocations: 118.5 kB / 378.9 MB, free: 42.48 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001718/0.2944, allocations: 151 kB / 379.1 MB, free: 42.38 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.598e-05/0.2945, allocations: 24.72 kB / 379.1 MB, free: 42.37 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.959e-05/0.2945, allocations: 16.69 kB / 379.1 MB, free: 42.37 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.937e-05/0.2946, allocations: 47.08 kB / 379.2 MB, free: 42.33 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001472/0.2947, allocations: 162.5 kB / 379.3 MB, free: 42.21 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002231/0.295, allocations: 262.1 kB / 379.6 MB, free: 42.02 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.295, allocations: 0 / 379.6 MB, free: 42.02 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.825e-06/0.295, allocations: 0 / 379.6 MB, free: 42.02 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.963e-06/0.295, allocations: 1.25 kB / 379.6 MB, free: 42.02 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.00112/0.2961, allocations: 0.6378 MB / 380.2 MB, free: 41.45 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/0.2962, allocations: 9.969 kB / 380.2 MB, free: 41.45 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.11e-05/0.2963, allocations: 32.19 kB / 380.3 MB, free: 41.44 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000299/0.2966, allocations: 280 kB / 380.5 MB, free: 41.16 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.035e-05/0.2966, allocations: 17.88 kB / 380.6 MB, free: 41.15 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.462e-05/0.2967, allocations: 19.38 kB / 380.6 MB, free: 41.14 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006095/0.2973, allocations: 288.5 kB / 380.9 MB, free: 40.97 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.2973, allocations: 7.969 kB / 380.9 MB, free: 40.96 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.853e-05/0.2973, allocations: 6.406 kB / 380.9 MB, free: 40.96 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.196e-06/0.2974, allocations: 5.656 kB / 380.9 MB, free: 40.96 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007631/0.2981, allocations: 304.4 kB / 381.2 MB, free: 40.84 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001401/0.2995, allocations: 0.9162 MB / 382.1 MB, free: 40.09 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008002/0.3004, allocations: 387.1 kB / 382.5 MB, free: 39.85 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003544/0.3007, allocations: 147.5 kB / 382.6 MB, free: 39.78 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.747e-05/0.3008, allocations: 2.844 kB / 382.6 MB, free: 39.78 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000475/0.3012, allocations: 212.4 kB / 382.8 MB, free: 39.63 MB / 298.7 MB Notification: Performance of pre-optimization done (n=18): time 1.633e-06/0.3013, allocations: 0 / 382.8 MB, free: 39.63 MB / 298.7 MB Notification: Performance of matching and sorting (n=18): time 0.001802/0.3031, allocations: 0.686 MB / 383.5 MB, free: 39.28 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.55e-05/0.3031, allocations: 109.2 kB / 383.6 MB, free: 39.15 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003425/0.3035, allocations: 273.1 kB / 383.9 MB, free: 38.96 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.344e-05/0.3035, allocations: 28.55 kB / 383.9 MB, free: 38.93 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.852e-05/0.3036, allocations: 182.8 kB / 384.1 MB, free: 38.77 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.739e-05/0.3037, allocations: 62.91 kB / 384.2 MB, free: 38.71 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.51e-05/0.3037, allocations: 5.406 kB / 384.2 MB, free: 38.71 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.803e-05/0.3038, allocations: 335.6 kB / 384.5 MB, free: 38.38 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003476/0.3041, allocations: 119 kB / 384.6 MB, free: 38.32 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003733/0.3045, allocations: 176.8 kB / 384.8 MB, free: 38.2 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006713/0.3052, allocations: 308.8 kB / 385.1 MB, free: 38 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.3052, allocations: 0.9688 kB / 385.1 MB, free: 38 MB / 298.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.00115/0.3064, allocations: 481.9 kB / 385.6 MB, free: 37.76 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.42e-05/0.3065, allocations: 160.4 kB / 385.7 MB, free: 37.58 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.989e-06/0.3065, allocations: 9.938 kB / 385.7 MB, free: 37.57 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000321/0.3068, allocations: 58.34 kB / 385.8 MB, free: 37.54 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002819/0.3071, allocations: 63.98 kB / 385.8 MB, free: 37.53 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001413/0.3085, allocations: 1.502 MB / 387.3 MB, free: 35.92 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003137/0.3089, allocations: 55.86 kB / 387.4 MB, free: 35.87 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.294e-05/0.3089, allocations: 12 kB / 387.4 MB, free: 35.86 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.153e-06/0.3089, allocations: 4.938 kB / 387.4 MB, free: 35.85 MB / 298.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000641/0.3096, allocations: 326.2 kB / 387.7 MB, free: 35.52 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.3096, allocations: 7.984 kB / 387.7 MB, free: 35.52 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.288e-05/0.3096, allocations: 20.86 kB / 387.8 MB, free: 35.49 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00023/0.3099, allocations: 67.89 kB / 387.8 MB, free: 35.43 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006516/0.3105, allocations: 1.377 MB / 389.2 MB, free: 33.91 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002487/0.3108, allocations: 51.81 kB / 389.3 MB, free: 33.86 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.578e-05/0.3108, allocations: 8 kB / 389.3 MB, free: 33.85 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.vIn.signalSource.T_start,vIn.signalSource.T_start,$PRE.vIn.signalSource.count,vIn.signalSource.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001433/0.311, allocations: 232.4 kB / 389.5 MB, free: 33.62 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.299e-05/0.311, allocations: 23.81 kB / 389.5 MB, free: 33.59 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.047e-05/0.311, allocations: 26.17 kB / 389.5 MB, free: 33.57 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.3111, allocations: 7.938 kB / 389.5 MB, free: 33.57 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.3111, allocations: 7.984 kB / 389.6 MB, free: 33.56 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.3111, allocations: 0 / 389.6 MB, free: 33.56 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001138/0.3122, allocations: 0.7593 MB / 390.3 MB, free: 32.74 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.3122, allocations: 0 / 390.3 MB, free: 32.74 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002143/0.3125, allocations: 48 kB / 390.4 MB, free: 32.69 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001404/0.3126, allocations: 60.75 kB / 390.4 MB, free: 32.63 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.843e-05/0.3126, allocations: 0 / 390.4 MB, free: 32.63 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001089/0.3137, allocations: 1.499 MB / 391.9 MB, free: 31 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.3137, allocations: 0 / 391.9 MB, free: 31 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001035/0.3148, allocations: 0.5747 MB / 392.5 MB, free: 30.4 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.825e-05/0.3148, allocations: 96.81 kB / 392.6 MB, free: 30.29 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.555e-05/0.3149, allocations: 8 kB / 392.6 MB, free: 30.28 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000251/0.3151, allocations: 40.02 kB / 392.6 MB, free: 30.24 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.268e-05/0.3152, allocations: 32.05 kB / 392.7 MB, free: 30.21 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.361e-05/0.3153, allocations: 4 kB / 392.7 MB, free: 30.2 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001392/0.3154, allocations: 190 kB / 392.9 MB, free: 30.02 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3154, allocations: 0 / 392.9 MB, free: 30.02 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004895/0.3159, allocations: 131.7 kB / 393 MB, free: 29.89 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (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 (16): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001513/0.3161, allocations: 115.1 kB / 393.1 MB, free: 29.77 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001183/0.3173, allocations: 0.7374 MB / 393.8 MB, free: 28.98 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.3173, allocations: 0 / 393.8 MB, free: 28.98 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003769/0.3177, allocations: 246.9 kB / 394.1 MB, free: 28.73 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004168/0.3181, allocations: 48.53 kB / 394.1 MB, free: 28.68 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001013/0.3191, allocations: 0.6963 MB / 394.8 MB, free: 27.95 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001851/0.3193, allocations: 0.7599 MB / 395.6 MB, free: 27.16 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.366e-05/0.3194, allocations: 19.44 kB / 395.6 MB, free: 27.14 MB / 298.7 MB Notification: Performance of SimCode: time 5.01e-07/0.3194, allocations: 0 / 395.6 MB, free: 27.14 MB / 298.7 MB Notification: Performance of Templates: time 0.005535/0.325, allocations: 4.522 MB / 400.1 MB, free: 22.62 MB / 298.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.LowPass --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.LowPass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/LowPass/LowPass.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches