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.001196/0.001196, allocations: 176.3 kB / 16.41 MB, free: 5.707 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.561/1.561, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.0007478/0.0007478, allocations: 96.84 kB / 270.9 MB, free: 8.355 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004315/0.0004317, allocations: 12 kB / 327 MB, free: 180 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3/0.3005, allocations: 47.58 MB / 374.6 MB, free: 45.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LowPass): time 0.002894/0.3035, allocations: 2.395 MB / 377 MB, free: 43.55 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001172/0.3047, allocations: 0.7183 MB / 377.7 MB, free: 42.96 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001698/0.3049, allocations: 4.156 kB / 377.7 MB, free: 42.96 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001352/0.305, allocations: 36.7 kB / 377.7 MB, free: 42.93 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000169/0.3052, allocations: 79.92 kB / 377.8 MB, free: 42.86 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002593/0.3055, allocations: 76.33 kB / 377.9 MB, free: 42.8 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.00032/0.3058, allocations: 348.8 kB / 378.2 MB, free: 42.59 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002124/0.306, allocations: 76.67 kB / 378.3 MB, free: 42.55 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002244/0.3062, allocations: 121.9 kB / 378.4 MB, free: 42.48 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001766/0.3064, allocations: 144.6 kB / 378.6 MB, free: 42.39 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.205e-05/0.3065, allocations: 15.69 kB / 378.6 MB, free: 42.39 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.958e-05/0.3065, allocations: 20.31 kB / 378.6 MB, free: 42.38 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.386e-05/0.3066, allocations: 55.17 kB / 378.6 MB, free: 42.34 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.758e-05/0.3067, allocations: 71.98 kB / 378.7 MB, free: 42.29 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002389/0.3069, allocations: 266.3 kB / 379 MB, free: 42.09 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.3069, allocations: 3.938 kB / 379 MB, free: 42.08 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.384e-06/0.3069, allocations: 0 / 379 MB, free: 42.08 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.113e-06/0.3069, allocations: 1.031 kB / 379 MB, free: 42.08 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.001292/0.3082, allocations: 0.6328 MB / 379.6 MB, free: 41.53 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.418e-05/0.3083, allocations: 10.53 kB / 379.6 MB, free: 41.53 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.154e-05/0.3084, allocations: 30.75 kB / 379.6 MB, free: 41.51 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003956/0.3088, allocations: 271.2 kB / 379.9 MB, free: 41.24 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.06e-05/0.3089, allocations: 21.59 kB / 379.9 MB, free: 41.23 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.602e-05/0.3089, allocations: 22.56 kB / 380 MB, free: 41.22 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007203/0.3097, allocations: 284.1 kB / 380.2 MB, free: 41.05 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.3097, allocations: 0 / 380.2 MB, free: 41.05 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.111e-05/0.3097, allocations: 11.41 kB / 380.2 MB, free: 41.04 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.105e-05/0.3097, allocations: 5.219 kB / 380.3 MB, free: 41.04 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000844/0.3106, allocations: 304.8 kB / 380.5 MB, free: 40.92 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001548/0.3121, allocations: 0.9199 MB / 381.5 MB, free: 40.17 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008981/0.313, allocations: 387.8 kB / 381.8 MB, free: 39.93 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003821/0.3134, allocations: 146.6 kB / 382 MB, free: 39.86 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.868e-05/0.3135, allocations: 6.094 kB / 382 MB, free: 39.86 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005116/0.314, allocations: 202.5 kB / 382.2 MB, free: 39.71 MB / 298.7 MB Notification: Performance of pre-optimization done (n=18): time 1.503e-06/0.314, allocations: 0 / 382.2 MB, free: 39.71 MB / 298.7 MB Notification: Performance of matching and sorting (n=18): time 0.002086/0.3161, allocations: 0.6948 MB / 382.9 MB, free: 39.36 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.684e-05/0.3162, allocations: 106.2 kB / 383 MB, free: 39.23 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000317/0.3165, allocations: 268.5 kB / 383.3 MB, free: 39.05 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.946e-05/0.3165, allocations: 31.89 kB / 383.3 MB, free: 39.02 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.778e-05/0.3166, allocations: 178.7 kB / 383.5 MB, free: 38.85 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.33e-05/0.3167, allocations: 59.36 kB / 383.5 MB, free: 38.8 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.294e-05/0.3167, allocations: 5.062 kB / 383.5 MB, free: 38.8 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.767e-05/0.3168, allocations: 344.4 kB / 383.9 MB, free: 38.46 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003467/0.3171, allocations: 110.9 kB / 384 MB, free: 38.41 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003945/0.3176, allocations: 185.7 kB / 384.1 MB, free: 38.28 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004009/0.318, allocations: 149.6 kB / 384.3 MB, free: 38.2 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.318, allocations: 5.062 kB / 384.3 MB, free: 38.2 MB / 298.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001168/0.3192, allocations: 475 kB / 384.8 MB, free: 37.96 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.131e-05/0.3193, allocations: 164.7 kB / 384.9 MB, free: 37.77 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.909e-06/0.3193, allocations: 2.188 kB / 384.9 MB, free: 37.77 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002957/0.3196, allocations: 69.88 kB / 385 MB, free: 37.73 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002961/0.3199, allocations: 64.8 kB / 385.1 MB, free: 37.72 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001538/0.3214, allocations: 1.488 MB / 386.5 MB, free: 36.3 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003705/0.3218, allocations: 67.2 kB / 386.6 MB, free: 36.27 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.723e-05/0.3219, allocations: 10.19 kB / 386.6 MB, free: 36.27 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.325e-06/0.3219, allocations: 4 kB / 386.6 MB, free: 36.26 MB / 298.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006706/0.3225, allocations: 327.1 kB / 386.9 MB, free: 35.93 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.547e-06/0.3226, allocations: 12.12 kB / 387 MB, free: 35.92 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.045e-05/0.3226, allocations: 20.86 kB / 387 MB, free: 35.9 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002681/0.3229, allocations: 71.89 kB / 387 MB, free: 35.83 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008997/0.3238, allocations: 1.377 MB / 388.4 MB, free: 34.31 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003044/0.3241, allocations: 51.84 kB / 388.5 MB, free: 34.26 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.609e-05/0.3242, allocations: 8 kB / 388.5 MB, free: 34.25 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.0001839/0.3244, allocations: 225 kB / 388.7 MB, free: 34.02 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.542e-05/0.3244, allocations: 27.67 kB / 388.7 MB, free: 34 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.005e-05/0.3244, allocations: 22.19 kB / 388.8 MB, free: 33.98 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.3245, allocations: 7.984 kB / 388.8 MB, free: 33.97 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.3245, allocations: 0 / 388.8 MB, free: 33.97 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.785e-06/0.3245, allocations: 3.938 kB / 388.8 MB, free: 33.97 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001178/0.3257, allocations: 0.7545 MB / 389.5 MB, free: 33.15 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.3257, allocations: 0 / 389.5 MB, free: 33.15 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002196/0.3259, allocations: 47.91 kB / 389.6 MB, free: 33.11 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001522/0.3261, allocations: 60.84 kB / 389.6 MB, free: 33.04 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.533e-05/0.3261, allocations: 0 / 389.6 MB, free: 33.04 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001108/0.3272, allocations: 1.499 MB / 391.1 MB, free: 31.41 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3272, allocations: 0 / 391.1 MB, free: 31.41 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001088/0.3283, allocations: 0.5768 MB / 391.7 MB, free: 30.81 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.225e-05/0.3284, allocations: 96.84 kB / 391.8 MB, free: 30.7 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.622e-05/0.3284, allocations: 15.95 kB / 391.8 MB, free: 30.68 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003061/0.3287, allocations: 35.95 kB / 391.8 MB, free: 30.65 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.377e-05/0.3288, allocations: 32.03 kB / 391.9 MB, free: 30.62 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.298e-05/0.3289, allocations: 4 kB / 391.9 MB, free: 30.61 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001426/0.329, allocations: 190 kB / 392.1 MB, free: 30.43 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.329, allocations: 0 / 392.1 MB, free: 30.43 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005011/0.3295, allocations: 131.7 kB / 392.2 MB, free: 30.3 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.0001308/0.3297, allocations: 107.2 kB / 392.3 MB, free: 30.19 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001236/0.3309, allocations: 0.7391 MB / 393 MB, free: 29.4 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.3309, allocations: 0 / 393 MB, free: 29.4 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003955/0.3313, allocations: 249.9 kB / 393.3 MB, free: 29.14 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004059/0.3317, allocations: 52.47 kB / 393.3 MB, free: 29.09 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001055/0.3328, allocations: 0.7002 MB / 394 MB, free: 28.36 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000185/0.333, allocations: 0.756 MB / 394.8 MB, free: 27.57 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.295e-05/0.3331, allocations: 23.44 kB / 394.8 MB, free: 27.55 MB / 298.7 MB Notification: Performance of SimCode: time 3.91e-07/0.3331, allocations: 0 / 394.8 MB, free: 27.55 MB / 298.7 MB Notification: Performance of Templates: time 0.00532/0.3384, allocations: 4.532 MB / 399.3 MB, free: 23.02 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