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.002399/0.002399, allocations: 177.3 kB / 17.41 MB, free: 4.414 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.632/3.632, allocations: 205.4 MB / 223.6 MB, free: 9.031 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.001094/0.001094, allocations: 90.28 kB / 271.9 MB, free: 8.262 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000684/0.0006843, allocations: 8 kB / 328.2 MB, free: 15.93 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6051/0.6059, allocations: 47.57 MB / 375.7 MB, free: 45.42 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2198/0.8258, allocations: 79.45 MB / 455.2 MB, free: 1.188 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004222/0.8263, allocations: 83.95 kB / 455.3 MB, free: 1.105 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02772/0.854, allocations: 6.081 MB / 461.4 MB, free: 11 MB / 346.7 MB Notification: Performance of FrontEnd: time 4.008e-06/0.8541, allocations: 0 / 461.4 MB, free: 11 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.703e-05/0.8542, allocations: 12 kB / 461.4 MB, free: 10.98 MB / 346.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.001976/0.8562, allocations: 0.6108 MB / 462 MB, free: 10.32 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.234e-05/0.8563, allocations: 12.03 kB / 462 MB, free: 10.3 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001349/0.8564, allocations: 32.56 kB / 462 MB, free: 10.27 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004771/0.8612, allocations: 285.1 kB / 462.3 MB, free: 9.953 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.452e-05/0.8613, allocations: 20.94 kB / 462.3 MB, free: 9.934 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001237/0.8615, allocations: 20.38 kB / 462.3 MB, free: 9.914 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001303/0.8628, allocations: 285.3 kB / 462.6 MB, free: 9.629 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.162e-05/0.8628, allocations: 192 / 462.6 MB, free: 9.629 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.988e-05/0.8629, allocations: 15.94 kB / 462.6 MB, free: 9.613 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.624e-05/0.8629, allocations: 4 kB / 462.6 MB, free: 9.609 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001337/0.8643, allocations: 306 kB / 462.9 MB, free: 9.309 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003148/0.8675, allocations: 0.9879 MB / 463.9 MB, free: 8.25 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001184/0.8687, allocations: 278.5 kB / 464.2 MB, free: 7.969 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004685/0.8734, allocations: 120.8 kB / 464.3 MB, free: 7.848 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.754e-05/0.8735, allocations: 4 kB / 464.3 MB, free: 7.844 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008629/0.8744, allocations: 197.7 kB / 464.5 MB, free: 7.629 MB / 346.7 MB Notification: Performance of pre-optimization done (n=16): time 5.951e-06/0.8744, allocations: 0 / 464.5 MB, free: 7.629 MB / 346.7 MB Notification: Performance of matching and sorting (n=16): time 0.003411/0.8778, allocations: 0.7254 MB / 465.2 MB, free: 6.875 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001525/0.878, allocations: 110.7 kB / 465.3 MB, free: 6.742 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006109/0.8786, allocations: 262.6 kB / 465.6 MB, free: 6.477 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.83e-05/0.8787, allocations: 33.7 kB / 465.6 MB, free: 6.438 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002475/0.879, allocations: 179.8 kB / 465.8 MB, free: 6.258 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.516e-05/0.8791, allocations: 59.19 kB / 465.9 MB, free: 6.199 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.017e-05/0.8791, allocations: 4 kB / 465.9 MB, free: 6.195 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002944/0.8794, allocations: 334.8 kB / 466.2 MB, free: 5.859 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005266/0.88, allocations: 116.1 kB / 466.3 MB, free: 5.742 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005714/0.8806, allocations: 180.8 kB / 466.5 MB, free: 5.539 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00108/0.8816, allocations: 287.5 kB / 466.8 MB, free: 5.23 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.494e-06/0.8817, allocations: 4 kB / 466.8 MB, free: 5.227 MB / 346.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.002133/0.8838, allocations: 479.6 kB / 467.2 MB, free: 4.742 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002613/0.8841, allocations: 165.3 kB / 467.4 MB, free: 4.551 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.146e-05/0.8841, allocations: 3.984 kB / 467.4 MB, free: 4.547 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006907/0.8848, allocations: 76.81 kB / 467.5 MB, free: 4.469 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003657/0.8852, allocations: 47.91 kB / 467.5 MB, free: 4.422 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003672/0.8889, allocations: 1.756 MB / 469.3 MB, free: 2.535 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004791/0.8937, allocations: 51.78 kB / 469.3 MB, free: 2.484 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001011/0.8939, allocations: 19.98 kB / 469.4 MB, free: 2.465 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.038e-05/0.894, allocations: 4.938 kB / 469.4 MB, free: 2.461 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001785/0.8958, allocations: 338.2 kB / 469.7 MB, free: 2.121 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.954e-05/0.8958, allocations: 0 / 469.7 MB, free: 2.121 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002743/0.8961, allocations: 44.72 kB / 469.7 MB, free: 2.074 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000432/0.8966, allocations: 56.02 kB / 469.8 MB, free: 2.02 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002742/0.8993, allocations: 1.534 MB / 471.3 MB, free: 360 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006011/0.8999, allocations: 43.81 kB / 471.4 MB, free: 316 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.037e-05/0.9, allocations: 15.98 kB / 471.4 MB, free: 300 kB / 346.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.0004147/0.9004, allocations: 224.8 kB / 471.6 MB, free: 68 kB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001249/0.9006, allocations: 23.72 kB / 471.6 MB, free: 44 kB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001296/0.9007, allocations: 30.17 kB / 471.6 MB, free: 16 kB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.187e-06/0.9007, allocations: 0 / 471.6 MB, free: 16 kB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.9008, allocations: 3.938 kB / 471.7 MB, free: 12 kB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.773e-06/0.9008, allocations: 0 / 471.7 MB, free: 12 kB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00505/0.9058, allocations: 313.3 kB / 472 MB, free: 15.66 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.766e-05/0.906, allocations: 4 kB / 472 MB, free: 15.65 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000466/0.9064, allocations: 39.91 kB / 472 MB, free: 15.61 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005926/0.9071, allocations: 76.78 kB / 472.1 MB, free: 15.54 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.736e-05/0.9071, allocations: 8 kB / 472.1 MB, free: 15.53 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003501/0.9107, allocations: 1.64 MB / 473.7 MB, free: 13.75 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.177e-06/0.9107, allocations: 3.938 kB / 473.7 MB, free: 13.75 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002045/0.9128, allocations: 0.4974 MB / 474.2 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003031/0.9131, allocations: 100.8 kB / 474.3 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001282/0.9133, allocations: 8 kB / 474.3 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004439/0.9137, allocations: 40.02 kB / 474.4 MB, free: 13.07 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001886/0.9139, allocations: 23.97 kB / 474.4 MB, free: 13.04 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.472e-05/0.914, allocations: 4 kB / 474.4 MB, free: 13.04 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000432/0.9144, allocations: 194 kB / 474.6 MB, free: 12.85 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.01e-07/0.9144, allocations: 0 / 474.6 MB, free: 12.85 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001256/0.9157, allocations: 143.6 kB / 474.7 MB, free: 12.71 MB / 362.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.0004652/0.9162, allocations: 111.2 kB / 474.8 MB, free: 12.59 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00318/0.9194, allocations: 0.7601 MB / 475.6 MB, free: 11.78 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 9.097e-06/0.9195, allocations: 0.5625 kB / 475.6 MB, free: 11.78 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008991/0.9204, allocations: 254.5 kB / 475.8 MB, free: 11.52 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008481/0.9212, allocations: 44.53 kB / 475.9 MB, free: 11.48 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002711/0.924, allocations: 0.6724 MB / 476.6 MB, free: 10.77 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009237/0.9249, allocations: 0.7602 MB / 477.3 MB, free: 9.98 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001699/0.9251, allocations: 19.44 kB / 477.3 MB, free: 9.961 MB / 362.7 MB Notification: Performance of SimCode: time 3.356e-06/0.9251, allocations: 0 / 477.3 MB, free: 9.961 MB / 362.7 MB Notification: Performance of Templates: time 0.01383/0.939, allocations: 4.483 MB / 481.8 MB, free: 5.484 MB / 362.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/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