Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.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.CauerLowPassOPV,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|C1.v|C2.v|C3.v|C4.v|C7.v",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV") translateModel(Modelica.Electrical.Analog.Examples.CauerLowPassOPV,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|C1.v|C2.v|C3.v|C4.v|C7.v",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001105/0.001105, allocations: 199.7 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.19/1.19, allocations: 227.2 MB / 245 MB, free: 5.941 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009234/0.0009234, allocations: 100.3 kB / 297.3 MB, free: 5.957 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000242/0.0002421, allocations: 4 kB / 357.9 MB, free: 9.32 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1903/0.1906, allocations: 51.49 MB / 409.4 MB, free: 26.68 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08891/0.2796, allocations: 80.95 MB / 490.4 MB, free: 9.629 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000223/0.2798, allocations: 71.97 kB / 490.4 MB, free: 9.559 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03379/0.3136, allocations: 13.39 MB / 0.492 GB, free: 12.12 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.3137, allocations: 0 / 0.492 GB, free: 12.12 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.644e-05/0.3137, allocations: 24 kB / 0.492 GB, free: 12.1 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.002185/0.3159, allocations: 1.06 MB / 0.4931 GB, free: 10.98 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.316, allocations: 11.97 kB / 0.4931 GB, free: 10.97 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002291/0.3162, allocations: 106.7 kB / 0.4932 GB, free: 10.87 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006393/0.3169, allocations: 442.2 kB / 0.4936 GB, free: 10.39 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.267e-05/0.3169, allocations: 66 kB / 0.4937 GB, free: 10.33 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001277/0.3171, allocations: 99.91 kB / 0.4938 GB, free: 10.23 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001396/0.3185, allocations: 0.8518 MB / 0.4946 GB, free: 9.355 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.936e-05/0.3185, allocations: 4 kB / 0.4946 GB, free: 9.352 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.532e-05/0.3186, allocations: 43.98 kB / 0.4946 GB, free: 9.309 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.845e-05/0.3186, allocations: 24 kB / 0.4947 GB, free: 9.285 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000972/0.3196, allocations: 0.5777 MB / 0.4952 GB, free: 8.707 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004598/0.3242, allocations: 2.999 MB / 0.4982 GB, free: 5.586 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004209/0.3246, allocations: 306.3 kB / 0.4985 GB, free: 5.277 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.984e-05/0.3247, allocations: 4 kB / 0.4985 GB, free: 5.273 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.086e-05/0.3247, allocations: 38.56 kB / 0.4985 GB, free: 5.227 MB / 378.7 MB Notification: Performance of pre-optimization done (n=42): time 1.934e-06/0.3247, allocations: 4 kB / 0.4985 GB, free: 5.223 MB / 378.7 MB Notification: Performance of matching and sorting (n=42): time 0.001412/0.3261, allocations: 0.6481 MB / 0.4991 GB, free: 4.547 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.885e-05/0.3262, allocations: 59.41 kB / 0.4992 GB, free: 4.477 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004785/0.3267, allocations: 469.6 kB / 0.4996 GB, free: 4.012 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.646e-05/0.3267, allocations: 29.7 kB / 0.4997 GB, free: 3.977 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002795/0.327, allocations: 485.6 kB / 0.5001 GB, free: 3.492 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000121/0.3271, allocations: 161.7 kB / 0.5003 GB, free: 3.332 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.768e-05/0.3272, allocations: 19.94 kB / 0.5003 GB, free: 3.312 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001468/0.3273, allocations: 366.8 kB / 0.5006 GB, free: 2.945 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002962/0.3276, allocations: 169.9 kB / 0.5008 GB, free: 2.777 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004786/0.3281, allocations: 449.8 kB / 0.5012 GB, free: 2.211 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003673/0.3285, allocations: 238 kB / 0.5015 GB, free: 1.977 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.514e-06/0.3285, allocations: 4 kB / 0.5015 GB, free: 1.973 MB / 378.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001192/0.3297, allocations: 0.7571 MB / 0.5022 GB, free: 1.203 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.069e-05/0.3297, allocations: 8 kB / 0.5022 GB, free: 1.195 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.49e-05/0.3298, allocations: 12 kB / 0.5022 GB, free: 1.184 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002913/0.3301, allocations: 80.97 kB / 0.5023 GB, free: 1.102 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006517/0.3307, allocations: 203.6 kB / 0.5025 GB, free: 0.9023 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.16/0.4908, allocations: 1.812 MB / 0.5043 GB, free: 88.49 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006299/0.4914, allocations: 88.62 kB / 0.5044 GB, free: 88.49 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.387e-05/0.4915, allocations: 36.88 kB / 0.5044 GB, free: 88.49 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (89): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * 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: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003833/0.4919, allocations: 219.1 kB / 0.5046 GB, free: 88.38 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001451/0.4921, allocations: 61.72 kB / 0.5047 GB, free: 88.38 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001207/0.4922, allocations: 63.23 kB / 0.5047 GB, free: 88.36 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.4922, allocations: 5.062 kB / 0.5047 GB, free: 88.36 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.834e-06/0.4922, allocations: 0.8125 kB / 0.5047 GB, free: 88.36 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.6e-06/0.4922, allocations: 6.047 kB / 0.5047 GB, free: 88.36 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000887/0.4931, allocations: 0.637 MB / 0.5054 GB, free: 88.18 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.4931, allocations: 1.375 kB / 0.5054 GB, free: 88.18 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004564/0.4936, allocations: 105.7 kB / 0.5055 GB, free: 88.18 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002204/0.4938, allocations: 71.44 kB / 0.5055 GB, free: 88.17 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.372e-05/0.4939, allocations: 9.797 kB / 0.5055 GB, free: 88.17 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001393/0.4953, allocations: 1.815 MB / 0.5073 GB, free: 86.84 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.684e-06/0.4953, allocations: 1.5 kB / 0.5073 GB, free: 86.84 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008757/0.4962, allocations: 0.6665 MB / 0.508 GB, free: 86.66 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001328/0.4963, allocations: 143.6 kB / 0.5081 GB, free: 86.54 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.645e-05/0.4964, allocations: 8.984 kB / 0.5081 GB, free: 86.54 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003846/0.4968, allocations: 51.88 kB / 0.5082 GB, free: 86.54 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.472e-05/0.4969, allocations: 29.78 kB / 0.5082 GB, free: 86.54 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.837e-05/0.4969, allocations: 15.09 kB / 0.5082 GB, free: 86.54 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003598/0.4973, allocations: 342.2 kB / 0.5085 GB, free: 86.45 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4973, allocations: 0.9375 kB / 0.5085 GB, free: 86.45 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007773/0.4981, allocations: 249.5 kB / 0.5088 GB, free: 86.43 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (C1.v,C2.v,C3.v,C4.v,C7.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * 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: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001446/0.4982, allocations: 115.1 kB / 0.5089 GB, free: 86.34 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009106/0.4991, allocations: 0.5931 MB / 0.5094 GB, free: 86.21 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.4991, allocations: 1.062 kB / 0.5094 GB, free: 86.21 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004168/0.4996, allocations: 320.4 kB / 0.5098 GB, free: 86.1 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004934/0.5001, allocations: 98.92 kB / 0.5098 GB, free: 86.09 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002522/0.5026, allocations: 1.753 MB / 0.5116 GB, free: 85.16 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004066/0.503, allocations: 0.9492 MB / 0.5125 GB, free: 84.45 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003584/0.5034, allocations: 73.17 kB / 0.5126 GB, free: 84.43 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001041/0.5035, allocations: 39.12 kB / 0.5126 GB, free: 84.43 MB / 378.7 MB Notification: Performance of SimCode: time 5.61e-07/0.5035, allocations: 0 / 0.5126 GB, free: 84.43 MB / 378.7 MB Notification: Performance of Templates: time 0.009753/0.5133, allocations: 6.526 MB / 0.519 GB, free: 84.07 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/CauerLowPassOPV/CauerLowPassOPV.csv","../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches