Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.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.CauerLowPassAnalog,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|C1.v|C3.v|C5.v|L1.i|L2.i",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog") translateModel(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|C1.v|C3.v|C5.v|L1.i|L2.i",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001421/0.001421, allocations: 186.2 kB / 16.41 MB, free: 5.723 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.888/1.888, allocations: 205.4 MB / 222.5 MB, free: 9.109 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.001118/0.001118, allocations: 95.5 kB / 270.9 MB, free: 8.371 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004251/0.000425, allocations: 8 kB / 327 MB, free: 212 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3322/0.3326, allocations: 47.57 MB / 374.5 MB, free: 45.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1236/0.4563, allocations: 77.13 MB / 451.7 MB, free: 3.645 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003033/0.4567, allocations: 71.97 kB / 451.7 MB, free: 3.574 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02088/0.4776, allocations: 4.694 MB / 456.4 MB, free: 14.85 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.404e-06/0.4776, allocations: 0 / 456.4 MB, free: 14.85 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.446e-05/0.4777, allocations: 8 kB / 456.4 MB, free: 14.84 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: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.001175/0.4789, allocations: 0.5382 MB / 457 MB, free: 14.26 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.036e-05/0.4789, allocations: 8.031 kB / 457 MB, free: 14.25 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001037/0.479, allocations: 35.62 kB / 457 MB, free: 14.21 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004037/0.4795, allocations: 266.3 kB / 457.3 MB, free: 13.91 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.023e-05/0.4795, allocations: 20.56 kB / 457.3 MB, free: 13.89 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.418e-05/0.4796, allocations: 28 kB / 457.3 MB, free: 13.87 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007196/0.4803, allocations: 248.9 kB / 457.6 MB, free: 13.62 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.687e-05/0.4804, allocations: 3.938 kB / 457.6 MB, free: 13.61 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.628e-05/0.4804, allocations: 8 kB / 457.6 MB, free: 13.61 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.548e-05/0.4804, allocations: 11.98 kB / 457.6 MB, free: 13.59 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005864/0.481, allocations: 186.2 kB / 457.8 MB, free: 13.41 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002642/0.4837, allocations: 1.029 MB / 458.8 MB, free: 12.3 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006738/0.4844, allocations: 329.5 kB / 459.1 MB, free: 11.93 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.762e-05/0.4845, allocations: 4.188 kB / 459.1 MB, free: 11.93 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.198e-05/0.4845, allocations: 38.69 kB / 459.2 MB, free: 11.88 MB / 346.7 MB Notification: Performance of pre-optimization done (n=21): time 3.647e-06/0.4845, allocations: 0 / 459.2 MB, free: 11.88 MB / 346.7 MB Notification: Performance of matching and sorting (n=25): time 0.002388/0.4869, allocations: 0.7845 MB / 459.9 MB, free: 11.05 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.874e-05/0.487, allocations: 67.34 kB / 460 MB, free: 10.97 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002472/0.4873, allocations: 165.5 kB / 460.2 MB, free: 10.8 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.005e-05/0.4873, allocations: 29.7 kB / 460.2 MB, free: 10.77 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00014/0.4875, allocations: 234.6 kB / 460.4 MB, free: 10.54 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.844e-05/0.4876, allocations: 94.72 kB / 460.5 MB, free: 10.45 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.135e-05/0.4876, allocations: 4 kB / 460.5 MB, free: 10.44 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000125/0.4878, allocations: 326.8 kB / 460.8 MB, free: 10.11 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002347/0.488, allocations: 72.53 kB / 460.9 MB, free: 10.04 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002566/0.4883, allocations: 106.8 kB / 461 MB, free: 9.93 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002652/0.4886, allocations: 87.97 kB / 461.1 MB, free: 9.844 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.4886, allocations: 0 / 461.1 MB, free: 9.844 MB / 346.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0008849/0.4895, allocations: 310.1 kB / 461.4 MB, free: 9.531 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.51e-05/0.4895, allocations: 11.94 kB / 461.4 MB, free: 9.52 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.999e-06/0.4895, allocations: 4 kB / 461.4 MB, free: 9.516 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004307/0.49, allocations: 80.81 kB / 461.5 MB, free: 9.434 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003682/0.4904, allocations: 51.92 kB / 461.6 MB, free: 9.383 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002903/0.4933, allocations: 1.913 MB / 463.5 MB, free: 7.34 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002465/0.4936, allocations: 8 kB / 463.5 MB, free: 7.332 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.446e-05/0.4936, allocations: 8 kB / 463.5 MB, free: 7.324 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (22): * Single equations (assignments): 21 * 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 {(2,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000216/0.4938, allocations: 141.9 kB / 463.6 MB, free: 7.176 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001009/0.494, allocations: 27.66 kB / 463.6 MB, free: 7.148 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.192e-05/0.494, allocations: 25.86 kB / 463.7 MB, free: 7.117 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.4941, allocations: 4 kB / 463.7 MB, free: 7.113 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.087e-05/0.4941, allocations: 4 kB / 463.7 MB, free: 7.109 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.4941, allocations: 0 / 463.7 MB, free: 7.109 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0017/0.4958, allocations: 0.7567 MB / 464.4 MB, free: 6.293 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.4958, allocations: 4 kB / 464.4 MB, free: 6.289 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003403/0.4962, allocations: 31.98 kB / 464.5 MB, free: 6.258 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003396/0.4965, allocations: 76.73 kB / 464.5 MB, free: 6.18 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.137e-05/0.4966, allocations: 15.98 kB / 464.6 MB, free: 6.164 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002476/0.4991, allocations: 1.812 MB / 466.4 MB, free: 4.223 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.4991, allocations: 0 / 466.4 MB, free: 4.223 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00109/0.5002, allocations: 460 kB / 466.8 MB, free: 3.754 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.4e-05/0.5003, allocations: 96.84 kB / 466.9 MB, free: 3.641 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.734e-05/0.5004, allocations: 8.016 kB / 466.9 MB, free: 3.633 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002835/0.5007, allocations: 23.98 kB / 467 MB, free: 3.609 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.076e-05/0.5008, allocations: 23.91 kB / 467 MB, free: 3.586 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.537e-05/0.5008, allocations: 4 kB / 467 MB, free: 3.582 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001869/0.501, allocations: 144.4 kB / 467.1 MB, free: 3.441 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.501, allocations: 3.938 kB / 467.1 MB, free: 3.438 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006051/0.5016, allocations: 80 kB / 467.2 MB, free: 3.359 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (C1.v,C3.v,C5.v,L1.i,L2.i) * 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 (16): * Single equations (assignments): 15 * 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.0001755/0.5018, allocations: 99.25 kB / 467.3 MB, free: 3.25 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001015/0.5028, allocations: 374.4 kB / 467.7 MB, free: 2.871 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.5029, allocations: 0 / 467.7 MB, free: 2.871 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006584/0.5035, allocations: 262.5 kB / 467.9 MB, free: 2.602 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004147/0.5039, allocations: 32.12 kB / 468 MB, free: 2.57 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001966/0.5059, allocations: 0.9894 MB / 468.9 MB, free: 1.559 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003703/0.5063, allocations: 0.7713 MB / 469.7 MB, free: 0.7617 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.326e-05/0.5064, allocations: 19.44 kB / 469.7 MB, free: 0.7422 MB / 346.7 MB Notification: Performance of SimCode: time 1.243e-06/0.5064, allocations: 0 / 469.7 MB, free: 0.7422 MB / 346.7 MB Notification: Performance of Templates: time 0.008425/0.5149, allocations: 3.886 MB / 473.6 MB, free: 12.86 MB / 362.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/CauerLowPassAnalog/CauerLowPassAnalog.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches