Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.HighPass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|derivative.c.v|derivative.opAmp.out.v|derivative.opAmp.out.i",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.HighPass") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.HighPass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|derivative.c.v|derivative.opAmp.out.v|derivative.opAmp.out.i",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.HighPass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001419/0.001419, allocations: 191.5 kB / 17.37 MB, free: 4.434 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.272/1.272, allocations: 226.6 MB / 244.7 MB, free: 6.461 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007865/0.0007863, allocations: 93.34 kB / 296.7 MB, free: 6.699 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000208/0.000208, allocations: 8 kB / 356.8 MB, free: 10.7 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1994/0.1996, allocations: 51.29 MB / 408.1 MB, free: 27.7 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.HighPass): time 0.00217/0.2019, allocations: 2.641 MB / 410.7 MB, free: 25.05 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009106/0.2028, allocations: 0.7571 MB / 411.5 MB, free: 24.29 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001351/0.2029, allocations: 9.688 kB / 411.5 MB, free: 24.29 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001291/0.2031, allocations: 35.69 kB / 411.5 MB, free: 24.25 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001501/0.2032, allocations: 96.06 kB / 411.6 MB, free: 24.16 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002066/0.2034, allocations: 76.53 kB / 411.7 MB, free: 24.08 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002753/0.2037, allocations: 411 kB / 412.1 MB, free: 23.68 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001793/0.2039, allocations: 116.7 kB / 412.2 MB, free: 23.57 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001904/0.2041, allocations: 143.4 kB / 412.3 MB, free: 23.43 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001406/0.2043, allocations: 162.7 kB / 412.5 MB, free: 23.27 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.724e-05/0.2043, allocations: 20 kB / 412.5 MB, free: 23.25 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.364e-05/0.2044, allocations: 23.94 kB / 412.5 MB, free: 23.23 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.011e-05/0.2044, allocations: 59.69 kB / 412.6 MB, free: 23.17 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001142/0.2045, allocations: 184.9 kB / 412.8 MB, free: 22.98 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000245/0.2048, allocations: 383.8 kB / 413.1 MB, free: 22.61 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.2048, allocations: 0 / 413.1 MB, free: 22.61 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.2048, allocations: 0 / 413.1 MB, free: 22.61 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.997e-06/0.2048, allocations: 0 / 413.1 MB, free: 22.61 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.001007/0.2058, allocations: 0.6682 MB / 413.8 MB, free: 21.88 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.196e-05/0.2059, allocations: 8.031 kB / 413.8 MB, free: 21.88 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.593e-05/0.2059, allocations: 40.56 kB / 413.9 MB, free: 21.84 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002624/0.2062, allocations: 306.7 kB / 414.1 MB, free: 21.5 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.242e-05/0.2062, allocations: 20.94 kB / 414.2 MB, free: 21.47 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.315e-05/0.2063, allocations: 28.38 kB / 414.2 MB, free: 21.45 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000618/0.2069, allocations: 371.5 kB / 414.6 MB, free: 21.07 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.2069, allocations: 0 / 414.6 MB, free: 21.07 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.022e-05/0.207, allocations: 15.98 kB / 414.6 MB, free: 21.06 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.207, allocations: 8 kB / 414.6 MB, free: 21.05 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007254/0.2077, allocations: 330 kB / 414.9 MB, free: 20.73 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001769/0.2095, allocations: 1.317 MB / 416.2 MB, free: 19.32 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006015/0.2101, allocations: 262.3 kB / 416.5 MB, free: 19.05 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002957/0.2104, allocations: 140.6 kB / 416.6 MB, free: 18.92 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.45e-05/0.2104, allocations: 4 kB / 416.6 MB, free: 18.91 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004131/0.2109, allocations: 194.7 kB / 416.8 MB, free: 18.7 MB / 298.7 MB Notification: Performance of pre-optimization done (n=15): time 2.064e-06/0.2109, allocations: 0 / 416.8 MB, free: 18.7 MB / 298.7 MB Notification: Performance of matching and sorting (n=15): time 0.002041/0.2129, allocations: 0.7673 MB / 417.6 MB, free: 17.91 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.936e-05/0.213, allocations: 114.8 kB / 417.7 MB, free: 17.77 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002404/0.2132, allocations: 294.9 kB / 418 MB, free: 17.48 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.966e-05/0.2132, allocations: 25.7 kB / 418 MB, free: 17.45 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.663e-05/0.2133, allocations: 219.5 kB / 418.2 MB, free: 17.23 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.252e-05/0.2134, allocations: 51.34 kB / 418.3 MB, free: 17.18 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.354e-05/0.2134, allocations: 0 / 418.3 MB, free: 17.18 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.226e-05/0.2135, allocations: 342.8 kB / 418.6 MB, free: 16.83 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003182/0.2138, allocations: 123.9 kB / 418.7 MB, free: 16.71 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003385/0.2141, allocations: 220.2 kB / 418.9 MB, free: 16.45 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006403/0.2148, allocations: 354.1 kB / 419.3 MB, free: 16.07 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.2148, allocations: 4 kB / 419.3 MB, free: 16.06 MB / 298.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001096/0.2159, allocations: 0.5105 MB / 419.8 MB, free: 15.54 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.439e-05/0.2159, allocations: 41.64 kB / 419.8 MB, free: 15.49 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.216, allocations: 4.062 kB / 419.8 MB, free: 15.49 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003621/0.2163, allocations: 96.72 kB / 419.9 MB, free: 15.39 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002422/0.2166, allocations: 63.95 kB / 420 MB, free: 15.33 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002004/0.2186, allocations: 1.834 MB / 421.8 MB, free: 13.35 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000328/0.2189, allocations: 75.52 kB / 421.9 MB, free: 13.28 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.367e-05/0.219, allocations: 8.125 kB / 421.9 MB, free: 13.27 MB / 298.7 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 ($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 4} Notification: Performance of prepare postOptimizeDAE: time 0.0001491/0.2191, allocations: 153.8 kB / 422.1 MB, free: 13.11 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.715e-05/0.2192, allocations: 27.72 kB / 422.1 MB, free: 13.08 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.655e-05/0.2192, allocations: 29.86 kB / 422.1 MB, free: 13.05 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.2192, allocations: 4 kB / 422.1 MB, free: 13.05 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.2192, allocations: 0 / 422.1 MB, free: 13.05 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.965e-06/0.2193, allocations: 7.922 kB / 422.1 MB, free: 13.04 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002586/0.2195, allocations: 341.3 kB / 422.5 MB, free: 12.66 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.2195, allocations: 0 / 422.5 MB, free: 12.66 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001827/0.2197, allocations: 35.97 kB / 422.5 MB, free: 12.62 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002433/0.22, allocations: 84.8 kB / 422.6 MB, free: 12.54 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.843e-05/0.22, allocations: 8 kB / 422.6 MB, free: 12.53 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001664/0.2217, allocations: 1.714 MB / 424.3 MB, free: 10.68 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.2217, allocations: 0 / 424.3 MB, free: 10.68 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001232/0.2229, allocations: 0.5403 MB / 424.8 MB, free: 10.12 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.796e-05/0.223, allocations: 108.8 kB / 425 MB, free: 9.992 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.78e-05/0.223, allocations: 8 kB / 425 MB, free: 9.984 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002402/0.2233, allocations: 47.95 kB / 425 MB, free: 9.938 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.813e-05/0.2233, allocations: 23.97 kB / 425 MB, free: 9.914 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.19e-05/0.2234, allocations: 0 / 425 MB, free: 9.914 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000163/0.2235, allocations: 206 kB / 425.2 MB, free: 9.715 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.2235, allocations: 0 / 425.2 MB, free: 9.715 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003616/0.2239, allocations: 91.75 kB / 425.3 MB, free: 9.625 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (derivative.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 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001174/0.224, allocations: 107.2 kB / 425.4 MB, free: 9.512 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0008931/0.2249, allocations: 466.2 kB / 425.9 MB, free: 9.031 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.2249, allocations: 4.188 kB / 425.9 MB, free: 9.027 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004137/0.2254, allocations: 269.3 kB / 426.2 MB, free: 8.754 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003367/0.2257, allocations: 48.8 kB / 426.2 MB, free: 8.707 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009745/0.2267, allocations: 0.7224 MB / 426.9 MB, free: 7.957 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001669/0.2269, allocations: 0.768 MB / 427.7 MB, free: 7.164 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.501e-05/0.227, allocations: 23.44 kB / 427.7 MB, free: 7.141 MB / 298.7 MB Notification: Performance of SimCode: time 4.91e-07/0.227, allocations: 4 kB / 427.7 MB, free: 7.137 MB / 298.7 MB Notification: Performance of Templates: time 0.005702/0.2327, allocations: 5.131 MB / 432.8 MB, free: 2.031 MB / 298.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.makefile (rm -f Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe >> ../files/Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.sim & ./Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.HighPass --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.HighPass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/HighPass/HighPass.csv","../files/Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches