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.002151/0.002156, allocations: 177.8 kB / 8.363 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.029/2.029, allocations: 205.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001164/0.001163, allocations: 92.06 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.208e-05/2.215e-05, allocations: 4 kB / 314.8 MB, free: 9.145 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3306/0.3306, allocations: 47.57 MB / 362.3 MB, free: 45.84 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1262/0.4568, allocations: 78.65 MB / 441 MB, free: 7.656 MB / 331.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002979/0.4572, allocations: 79.95 kB / 441.1 MB, free: 7.578 MB / 331.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02947/0.4867, allocations: 5.996 MB / 447.1 MB, free: 1.605 MB / 331.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.4867, allocations: 0 / 447.1 MB, free: 1.605 MB / 331.1 MB Notification: Performance of Transformations before backend: time 2.546e-05/0.4868, allocations: 8 kB / 447.1 MB, free: 1.598 MB / 331.1 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.001539/0.4883, allocations: 0.5943 MB / 447.7 MB, free: 0.957 MB / 331.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.699e-05/0.4884, allocations: 8.031 kB / 447.7 MB, free: 0.9492 MB / 331.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001344/0.4885, allocations: 35.62 kB / 447.7 MB, free: 0.9141 MB / 331.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005711/0.4891, allocations: 276.3 kB / 448 MB, free: 0.6016 MB / 331.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.896e-05/0.4892, allocations: 4 kB / 448 MB, free: 0.5977 MB / 331.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.589e-05/0.4893, allocations: 23.98 kB / 448 MB, free: 0.5742 MB / 331.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005541/0.4898, allocations: 161.1 kB / 448.2 MB, free: 428 kB / 331.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005327/0.4904, allocations: 188.6 kB / 448.4 MB, free: 232 kB / 331.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.394e-05/0.4904, allocations: 0 / 448.4 MB, free: 232 kB / 331.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.613e-05/0.4905, allocations: 4 kB / 448.4 MB, free: 228 kB / 331.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.141e-05/0.4905, allocations: 4 kB / 448.4 MB, free: 224 kB / 331.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002825/0.4933, allocations: 0.9274 MB / 449.3 MB, free: 15.23 MB / 347.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005167/0.4939, allocations: 155.2 kB / 449.4 MB, free: 15.07 MB / 347.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001885/0.4941, allocations: 68.89 kB / 449.5 MB, free: 15 MB / 347.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.466e-05/0.4941, allocations: 4.938 kB / 449.5 MB, free: 14.99 MB / 347.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003429/0.4945, allocations: 131 kB / 449.6 MB, free: 14.84 MB / 347.1 MB Notification: Performance of pre-optimization done (n=16): time 2.345e-06/0.4945, allocations: 0 / 449.6 MB, free: 14.84 MB / 347.1 MB Notification: Performance of matching and sorting (n=16): time 0.0009049/0.4954, allocations: 222.8 kB / 449.9 MB, free: 14.62 MB / 347.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.433e-05/0.4955, allocations: 114.8 kB / 450 MB, free: 14.48 MB / 347.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003627/0.4959, allocations: 208.5 kB / 450.2 MB, free: 14.27 MB / 347.1 MB Notification: Performance of collectPreVariables (initialization): time 4.308e-05/0.496, allocations: 25.7 kB / 450.2 MB, free: 14.24 MB / 347.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002067/0.4962, allocations: 246.3 kB / 450.4 MB, free: 14 MB / 347.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.837e-05/0.4963, allocations: 55.3 kB / 450.5 MB, free: 13.94 MB / 347.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.038e-05/0.4963, allocations: 0 / 450.5 MB, free: 13.94 MB / 347.1 MB Notification: Performance of setup shared object (initialization): time 0.0001487/0.4965, allocations: 327.9 kB / 450.8 MB, free: 13.61 MB / 347.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001742/0.4967, allocations: 52.23 kB / 450.9 MB, free: 13.56 MB / 347.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000273/0.4969, allocations: 116.1 kB / 451 MB, free: 13.42 MB / 347.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002054/0.4972, allocations: 60.75 kB / 451 MB, free: 13.36 MB / 347.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.079e-06/0.4972, allocations: 4 kB / 451 MB, free: 13.35 MB / 347.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0009717/0.4982, allocations: 268.8 kB / 451.3 MB, free: 13.08 MB / 347.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003401/0.4985, allocations: 0.6413 MB / 451.9 MB, free: 12.39 MB / 347.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.4985, allocations: 0 / 451.9 MB, free: 12.39 MB / 347.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003277/0.4989, allocations: 52.8 kB / 452 MB, free: 12.33 MB / 347.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004293/0.4993, allocations: 51.89 kB / 452.1 MB, free: 12.28 MB / 347.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006449/0.5, allocations: 0.5899 MB / 452.6 MB, free: 11.67 MB / 347.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005859/0.5006, allocations: 49.77 kB / 452.7 MB, free: 11.62 MB / 347.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.485e-05/0.5007, allocations: 8 kB / 452.7 MB, free: 11.61 MB / 347.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.5007, allocations: 5.25 kB / 452.7 MB, free: 11.61 MB / 347.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006695/0.5014, allocations: 203.6 kB / 452.9 MB, free: 11.41 MB / 347.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/0.5014, allocations: 3.5 kB / 452.9 MB, free: 11.41 MB / 347.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001609/0.5016, allocations: 36.84 kB / 452.9 MB, free: 11.37 MB / 347.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004025/0.502, allocations: 56.09 kB / 453 MB, free: 11.32 MB / 347.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001832/0.5038, allocations: 1.486 MB / 454.5 MB, free: 9.711 MB / 347.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004562/0.5043, allocations: 39.84 kB / 454.5 MB, free: 9.672 MB / 347.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.015e-05/0.5044, allocations: 8 kB / 454.5 MB, free: 9.664 MB / 347.1 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: opAmp.simplifiedExpr:VARIABLE(unit = "V" protected = true ) "Simplified expression for homotopy-based initialization" type: Real 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 () * 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.0002174/0.5046, allocations: 116 kB / 454.6 MB, free: 9.547 MB / 347.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.165e-05/0.5047, allocations: 27.78 kB / 454.7 MB, free: 9.52 MB / 347.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.984e-05/0.5048, allocations: 21.95 kB / 454.7 MB, free: 9.5 MB / 347.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.5048, allocations: 4 kB / 454.7 MB, free: 9.496 MB / 347.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.5048, allocations: 0.875 kB / 454.7 MB, free: 9.496 MB / 347.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.043e-06/0.5048, allocations: 3.953 kB / 454.7 MB, free: 9.492 MB / 347.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004387/0.5053, allocations: 273.9 kB / 455 MB, free: 9.188 MB / 347.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.556e-06/0.5053, allocations: 3.938 kB / 455 MB, free: 9.184 MB / 347.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003593/0.5057, allocations: 31.97 kB / 455 MB, free: 9.152 MB / 347.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002393/0.5059, allocations: 55.95 kB / 455.1 MB, free: 9.098 MB / 347.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.721e-05/0.506, allocations: 4 kB / 455.1 MB, free: 9.094 MB / 347.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002014/0.508, allocations: 1.449 MB / 456.5 MB, free: 7.531 MB / 347.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.089e-06/0.5081, allocations: 0 / 456.5 MB, free: 7.531 MB / 347.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001059/0.5091, allocations: 309.6 kB / 456.8 MB, free: 7.207 MB / 347.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001442/0.5093, allocations: 111.2 kB / 456.9 MB, free: 7.082 MB / 347.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.141e-05/0.5094, allocations: 4.016 kB / 456.9 MB, free: 7.078 MB / 347.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004478/0.5098, allocations: 35.97 kB / 457 MB, free: 7.043 MB / 347.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001289/0.51, allocations: 27.95 kB / 457 MB, free: 7.016 MB / 347.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.454e-05/0.51, allocations: 8 kB / 457 MB, free: 7.008 MB / 347.1 MB Notification: Performance of sorting global known variables: time 0.0002594/0.5103, allocations: 164.5 kB / 457.2 MB, free: 6.848 MB / 347.1 MB Notification: Performance of sort global known variables: time 4.2e-07/0.5103, allocations: 4 kB / 457.2 MB, free: 6.844 MB / 347.1 MB Notification: Performance of remove unused functions: time 0.0009293/0.5112, allocations: 127.7 kB / 457.3 MB, free: 6.719 MB / 347.1 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) * 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.0002334/0.5115, allocations: 114.8 kB / 457.4 MB, free: 6.602 MB / 347.1 MB Notification: Performance of simCode: created initialization part: time 0.001187/0.5127, allocations: 472.8 kB / 457.9 MB, free: 6.105 MB / 347.1 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.5127, allocations: 192 / 457.9 MB, free: 6.105 MB / 347.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004313/0.5132, allocations: 197.6 kB / 458.1 MB, free: 5.902 MB / 347.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004518/0.5137, allocations: 30.2 kB / 458.1 MB, free: 5.875 MB / 347.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001115/0.5148, allocations: 374.6 kB / 458.4 MB, free: 5.48 MB / 347.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004358/0.5153, allocations: 0.7701 MB / 459.2 MB, free: 4.684 MB / 347.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001353/0.5154, allocations: 19.44 kB / 459.2 MB, free: 4.664 MB / 347.1 MB Notification: Performance of SimCode: time 9.12e-07/0.5154, allocations: 4 kB / 459.2 MB, free: 4.66 MB / 347.1 MB Notification: Performance of Templates: time 0.01048/0.5259, allocations: 4.2 MB / 463.4 MB, free: 0.4922 MB / 347.1 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/jenkins1/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