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.00137/0.00137, allocations: 199.4 kB / 18.07 MB, free: 3.648 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.236/1.236, allocations: 226.5 MB / 245.4 MB, free: 8.211 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007899/0.00079, allocations: 102.1 kB / 297.4 MB, free: 6.871 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002432/0.0002435, allocations: 8 kB / 357.4 MB, free: 10.92 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2024/0.2027, allocations: 51.29 MB / 408.7 MB, free: 27.72 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0952/0.298, allocations: 82.45 MB / 491.1 MB, free: 9.16 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002278/0.2982, allocations: 90.73 kB / 491.2 MB, free: 9.074 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01866/0.3169, allocations: 7.006 MB / 498.2 MB, free: 2.031 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.3169, allocations: 0 / 498.2 MB, free: 2.031 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.587e-05/0.317, allocations: 4 kB / 498.2 MB, free: 2.027 MB / 362.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.00108/0.3181, allocations: 0.6572 MB / 498.9 MB, free: 1.316 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.361e-05/0.3181, allocations: 8.031 kB / 498.9 MB, free: 1.309 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.668e-05/0.3182, allocations: 40.47 kB / 498.9 MB, free: 1.27 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003542/0.3185, allocations: 315.2 kB / 499.2 MB, free: 0.9219 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.44e-05/0.3186, allocations: 20.94 kB / 499.2 MB, free: 0.9023 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.555e-05/0.3186, allocations: 24.38 kB / 499.3 MB, free: 0.8789 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007268/0.3194, allocations: 369.3 kB / 499.6 MB, free: 0.5078 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.3194, allocations: 3.938 kB / 499.6 MB, free: 0.5039 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.102e-05/0.3194, allocations: 12 kB / 499.6 MB, free: 0.4922 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.154e-06/0.3194, allocations: 4 kB / 499.7 MB, free: 500 kB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007961/0.3202, allocations: 334 kB / 500 MB, free: 168 kB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002095/0.3224, allocations: 1.321 MB / 0.4896 GB, free: 14.75 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006766/0.323, allocations: 266.3 kB / 0.4898 GB, free: 14.48 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003456/0.3234, allocations: 128.8 kB / 0.4899 GB, free: 14.35 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.519e-05/0.3234, allocations: 4 kB / 0.4899 GB, free: 14.35 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004823/0.3239, allocations: 205.8 kB / 0.4901 GB, free: 14.12 MB / 378.7 MB Notification: Performance of pre-optimization done (n=15): time 1.663e-06/0.3239, allocations: 0 / 0.4901 GB, free: 14.12 MB / 378.7 MB Notification: Performance of matching and sorting (n=15): time 0.002313/0.3263, allocations: 0.7643 MB / 0.4909 GB, free: 13.33 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.331e-05/0.3263, allocations: 114.7 kB / 0.491 GB, free: 13.2 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003261/0.3267, allocations: 291 kB / 0.4913 GB, free: 12.9 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.757e-05/0.3267, allocations: 25.7 kB / 0.4913 GB, free: 12.87 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001322/0.3268, allocations: 211.5 kB / 0.4915 GB, free: 12.66 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.915e-05/0.3269, allocations: 59.19 kB / 0.4915 GB, free: 12.6 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.548e-05/0.3269, allocations: 8 kB / 0.4916 GB, free: 12.59 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001473/0.3271, allocations: 338.8 kB / 0.4919 GB, free: 12.25 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003625/0.3274, allocations: 123.9 kB / 0.492 GB, free: 12.13 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004111/0.3279, allocations: 227.9 kB / 0.4922 GB, free: 11.86 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007287/0.3286, allocations: 357.9 kB / 0.4926 GB, free: 11.47 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.3286, allocations: 0 / 0.4926 GB, free: 11.47 MB / 378.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001243/0.3299, allocations: 0.5148 MB / 0.4931 GB, free: 10.95 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.43e-05/0.3299, allocations: 33.7 kB / 0.4931 GB, free: 10.91 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.503e-05/0.3299, allocations: 4 kB / 0.4931 GB, free: 10.9 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003609/0.3303, allocations: 100.7 kB / 0.4932 GB, free: 10.8 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002511/0.3306, allocations: 55.95 kB / 0.4932 GB, free: 10.75 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002361/0.3329, allocations: 1.83 MB / 0.495 GB, free: 8.777 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003432/0.3333, allocations: 67.72 kB / 0.4951 GB, free: 8.711 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.62e-05/0.3333, allocations: 12 kB / 0.4951 GB, free: 8.699 MB / 378.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.0001701/0.3335, allocations: 160.5 kB / 0.4953 GB, free: 8.535 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.04e-05/0.3336, allocations: 31.75 kB / 0.4953 GB, free: 8.504 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.33e-05/0.3336, allocations: 25.86 kB / 0.4953 GB, free: 8.477 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.267e-06/0.3336, allocations: 4 kB / 0.4953 GB, free: 8.473 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.264e-06/0.3336, allocations: 0 / 0.4953 GB, free: 8.473 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.317e-06/0.3336, allocations: 0 / 0.4953 GB, free: 8.473 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003211/0.334, allocations: 349.2 kB / 0.4956 GB, free: 8.082 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.334, allocations: 128 / 0.4956 GB, free: 8.082 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001887/0.3342, allocations: 43.97 kB / 0.4957 GB, free: 8.039 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002596/0.3344, allocations: 84.8 kB / 0.4958 GB, free: 7.953 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.808e-05/0.3345, allocations: 4 kB / 0.4958 GB, free: 7.949 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00205/0.3365, allocations: 1.706 MB / 0.4974 GB, free: 6.109 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.3365, allocations: 3.938 kB / 0.4974 GB, free: 6.105 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001373/0.3379, allocations: 0.5403 MB / 0.498 GB, free: 5.543 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.477e-05/0.338, allocations: 104.8 kB / 0.4981 GB, free: 5.422 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.966e-05/0.3381, allocations: 3.984 kB / 0.4981 GB, free: 5.418 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002604/0.3383, allocations: 44.03 kB / 0.4981 GB, free: 5.375 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.271e-05/0.3384, allocations: 23.91 kB / 0.4981 GB, free: 5.352 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.61e-05/0.3384, allocations: 8.172 kB / 0.4981 GB, free: 5.344 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002128/0.3387, allocations: 206 kB / 0.4983 GB, free: 5.141 MB / 378.7 MB Notification: Performance of sort global known variables: time 1e-07/0.3387, allocations: 0 / 0.4983 GB, free: 5.141 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004034/0.3391, allocations: 91.75 kB / 0.4984 GB, free: 5.051 MB / 378.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.0001501/0.3392, allocations: 107.2 kB / 0.4985 GB, free: 4.938 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009924/0.3402, allocations: 469.9 kB / 0.499 GB, free: 4.453 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.3402, allocations: 0.5625 kB / 0.499 GB, free: 4.453 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004789/0.3407, allocations: 258.5 kB / 0.4992 GB, free: 4.188 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003621/0.3411, allocations: 68.34 kB / 0.4993 GB, free: 4.125 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001221/0.3423, allocations: 0.7227 MB / 0.5 GB, free: 3.375 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003316/0.3427, allocations: 0.7683 MB / 0.5007 GB, free: 2.582 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.438e-05/0.3428, allocations: 19.44 kB / 0.5008 GB, free: 2.562 MB / 378.7 MB Notification: Performance of SimCode: time 3.61e-07/0.3428, allocations: 4 kB / 0.5008 GB, free: 2.559 MB / 378.7 MB Notification: Performance of Templates: time 0.1662/0.509, allocations: 5.126 MB / 0.5058 GB, free: 96.27 MB / 378.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/jenkins1/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