Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.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.HighPass,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.HighPass") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.HighPass,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.HighPass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001011/0.001011, allocations: 179.5 kB / 16.41 MB, free: 5.703 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.606/1.606, allocations: 205.4 MB / 222.5 MB, free: 9.109 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.000848/0.0008481, allocations: 97.27 kB / 270.9 MB, free: 8.359 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003496/0.0003498, allocations: 12 kB / 327 MB, free: 192 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2683/0.2687, allocations: 47.58 MB / 374.6 MB, free: 45.42 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.HighPass): time 0.002983/0.2717, allocations: 2.396 MB / 377 MB, free: 43.57 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001488/0.2732, allocations: 0.7182 MB / 377.7 MB, free: 42.98 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001918/0.2734, allocations: 7.281 kB / 377.7 MB, free: 42.98 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001443/0.2736, allocations: 40.06 kB / 377.7 MB, free: 42.94 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002018/0.2738, allocations: 77.78 kB / 377.8 MB, free: 42.88 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002797/0.2741, allocations: 75.25 kB / 377.9 MB, free: 42.81 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003515/0.2745, allocations: 349 kB / 378.2 MB, free: 42.6 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002045/0.2747, allocations: 75.92 kB / 378.3 MB, free: 42.56 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001991/0.2749, allocations: 125.5 kB / 378.4 MB, free: 42.49 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000179/0.2751, allocations: 144.5 kB / 378.5 MB, free: 42.39 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.6e-05/0.2751, allocations: 15.88 kB / 378.6 MB, free: 42.39 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.417e-05/0.2752, allocations: 21.25 kB / 378.6 MB, free: 42.39 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.208e-05/0.2752, allocations: 50.12 kB / 378.6 MB, free: 42.35 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.68e-05/0.2753, allocations: 77.08 kB / 378.7 MB, free: 42.29 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000249/0.2756, allocations: 257.4 kB / 379 MB, free: 42.1 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.2756, allocations: 0 / 379 MB, free: 42.1 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.335e-06/0.2756, allocations: 0 / 379 MB, free: 42.1 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.112e-05/0.2756, allocations: 3.938 kB / 379 MB, free: 42.1 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.001261/0.2769, allocations: 0.6377 MB / 379.6 MB, free: 41.54 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/0.277, allocations: 9.344 kB / 379.6 MB, free: 41.54 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.777e-05/0.2771, allocations: 32.5 kB / 379.6 MB, free: 41.52 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003136/0.2774, allocations: 274.3 kB / 379.9 MB, free: 41.25 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.499e-05/0.2774, allocations: 17.19 kB / 379.9 MB, free: 41.24 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.881e-05/0.2775, allocations: 23.88 kB / 380 MB, free: 41.23 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006986/0.2782, allocations: 279.4 kB / 380.2 MB, free: 41.07 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.2782, allocations: 4 kB / 380.2 MB, free: 41.06 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.22e-05/0.2782, allocations: 10.12 kB / 380.2 MB, free: 41.05 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.241e-05/0.2783, allocations: 5.75 kB / 380.2 MB, free: 41.05 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008654/0.2791, allocations: 299.2 kB / 380.5 MB, free: 40.93 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001647/0.2808, allocations: 0.9429 MB / 381.5 MB, free: 40.16 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008433/0.2817, allocations: 282 kB / 381.8 MB, free: 40.02 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003322/0.282, allocations: 132.2 kB / 381.9 MB, free: 39.95 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.813e-05/0.282, allocations: 2.562 kB / 381.9 MB, free: 39.95 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005098/0.2826, allocations: 194 kB / 382.1 MB, free: 39.82 MB / 298.7 MB Notification: Performance of pre-optimization done (n=16): time 2.935e-06/0.2826, allocations: 4 kB / 382.1 MB, free: 39.81 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.002295/0.2849, allocations: 0.7434 MB / 382.8 MB, free: 39.43 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.479e-05/0.2849, allocations: 109.8 kB / 382.9 MB, free: 39.3 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002917/0.2852, allocations: 261.5 kB / 383.2 MB, free: 39.13 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.844e-05/0.2853, allocations: 30.86 kB / 383.2 MB, free: 39.09 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001078/0.2854, allocations: 180.2 kB / 383.4 MB, free: 38.93 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.041e-05/0.2854, allocations: 53.23 kB / 383.4 MB, free: 38.88 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.263e-05/0.2855, allocations: 5.031 kB / 383.4 MB, free: 38.88 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.21e-05/0.2855, allocations: 337.1 kB / 383.8 MB, free: 38.55 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000323/0.2859, allocations: 108.6 kB / 383.9 MB, free: 38.5 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003607/0.2862, allocations: 182.7 kB / 384.1 MB, free: 38.37 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003448/0.2866, allocations: 151.3 kB / 384.2 MB, free: 38.29 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.2866, allocations: 1.438 kB / 384.2 MB, free: 38.29 MB / 298.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.00116/0.2878, allocations: 481.1 kB / 384.7 MB, free: 38.05 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.218e-05/0.2878, allocations: 165 kB / 384.8 MB, free: 37.86 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/0.2879, allocations: 2.094 kB / 384.8 MB, free: 37.86 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003325/0.2882, allocations: 80.8 kB / 384.9 MB, free: 37.82 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002476/0.2885, allocations: 48.44 kB / 385 MB, free: 37.81 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001785/0.2903, allocations: 1.746 MB / 386.7 MB, free: 36.19 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003708/0.2906, allocations: 55.84 kB / 386.8 MB, free: 36.14 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.294e-05/0.2907, allocations: 11.98 kB / 386.8 MB, free: 36.12 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.863e-06/0.2907, allocations: 4 kB / 386.8 MB, free: 36.12 MB / 298.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006923/0.2914, allocations: 346.6 kB / 387.1 MB, free: 35.77 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.2914, allocations: 4 kB / 387.1 MB, free: 35.77 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.351e-05/0.2915, allocations: 36.84 kB / 387.2 MB, free: 35.73 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001994/0.2917, allocations: 51.89 kB / 387.2 MB, free: 35.68 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000899/0.2926, allocations: 1.53 MB / 388.7 MB, free: 34.01 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00031/0.293, allocations: 47.88 kB / 388.8 MB, free: 33.96 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.554e-05/0.293, allocations: 8 kB / 388.8 MB, free: 33.96 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 (21): * Single equations (assignments): 19 * 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 5} Notification: Performance of prepare postOptimizeDAE: time 0.0001802/0.2932, allocations: 226.5 kB / 389 MB, free: 33.73 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.679e-05/0.2932, allocations: 23.72 kB / 389 MB, free: 33.7 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.27e-05/0.2933, allocations: 34.14 kB / 389.1 MB, free: 33.67 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.2933, allocations: 3.984 kB / 389.1 MB, free: 33.66 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.855e-06/0.2933, allocations: 0 / 389.1 MB, free: 33.66 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.2933, allocations: 0 / 389.1 MB, free: 33.66 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002324/0.2935, allocations: 313.5 kB / 389.4 MB, free: 33.31 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.2935, allocations: 4 kB / 389.4 MB, free: 33.3 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000191/0.2937, allocations: 35.97 kB / 389.4 MB, free: 33.27 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001992/0.2939, allocations: 76.8 kB / 389.5 MB, free: 33.19 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.578e-05/0.294, allocations: 0 / 389.5 MB, free: 33.19 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001351/0.2953, allocations: 1.648 MB / 391.1 MB, free: 31.41 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.2953, allocations: 4.062 kB / 391.2 MB, free: 31.41 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00113/0.2965, allocations: 497.2 kB / 391.6 MB, free: 30.9 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.587e-05/0.2965, allocations: 108.8 kB / 391.7 MB, free: 30.78 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.543e-05/0.2966, allocations: 4 kB / 391.7 MB, free: 30.77 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002445/0.2968, allocations: 44.02 kB / 391.8 MB, free: 30.73 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.504e-05/0.2969, allocations: 19.97 kB / 391.8 MB, free: 30.71 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.343e-05/0.2969, allocations: 8.188 kB / 391.8 MB, free: 30.7 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001602/0.2971, allocations: 190 kB / 392 MB, free: 30.52 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2971, allocations: 0 / 392 MB, free: 30.52 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005527/0.2977, allocations: 135.7 kB / 392.1 MB, free: 30.39 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (11): * Single equations (assignments): 8 * 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 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001435/0.2978, allocations: 107.2 kB / 392.2 MB, free: 30.27 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001292/0.2991, allocations: 0.7512 MB / 393 MB, free: 29.47 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.2991, allocations: 4 kB / 393 MB, free: 29.47 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004068/0.2996, allocations: 258.8 kB / 393.2 MB, free: 29.2 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003579/0.2999, allocations: 54.83 kB / 393.3 MB, free: 29.15 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001074/0.301, allocations: 0.6682 MB / 394 MB, free: 28.45 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001829/0.3012, allocations: 0.756 MB / 394.7 MB, free: 27.67 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.952e-05/0.3013, allocations: 23.44 kB / 394.7 MB, free: 27.64 MB / 298.7 MB Notification: Performance of SimCode: time 9.42e-07/0.3013, allocations: 4 kB / 394.8 MB, free: 27.64 MB / 298.7 MB Notification: Performance of Templates: time 0.005391/0.3067, allocations: 4.468 MB / 399.2 MB, free: 23.18 MB / 298.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.HighPass --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.HighPass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/HighPass/HighPass.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches