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/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.002025/0.002025, allocations: 116.3 kB / 18.45 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00323/0.00323, allocations: 210 kB / 19.4 MB, free: 3.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.66/2.66, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002635/0.002636, allocations: 63.89 kB / 359.4 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6673/0.67, allocations: 50.55 MB / 410 MB, free: 1.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.01374/0.6838, allocations: 5.762 MB / 415.7 MB, free: 11.8 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006102/0.69, allocations: 1.2 MB / 416.9 MB, free: 10.59 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001925/0.6923, allocations: 19.94 kB / 417 MB, free: 10.57 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001361/0.6938, allocations: 178.3 kB / 417.1 MB, free: 10.39 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002558/0.6964, allocations: 269.5 kB / 417.4 MB, free: 10.13 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001626/0.698, allocations: 223.6 kB / 417.6 MB, free: 9.91 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004077/0.7022, allocations: 1.06 MB / 418.7 MB, free: 8.844 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002024/0.7042, allocations: 0.5179 MB / 419.2 MB, free: 8.301 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00149/0.7058, allocations: 418.6 kB / 419.6 MB, free: 7.891 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00241/0.7082, allocations: 481.9 kB / 420.1 MB, free: 7.418 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000931/0.7092, allocations: 96 kB / 420.2 MB, free: 7.324 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001069/0.7104, allocations: 100 kB / 420.3 MB, free: 7.227 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006902/0.7111, allocations: 215.2 kB / 420.5 MB, free: 7.016 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002046/0.7132, allocations: 0.4977 MB / 421 MB, free: 6.516 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002779/0.716, allocations: 1.107 MB / 422.1 MB, free: 5.41 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.294e-05/0.716, allocations: 0 / 422.1 MB, free: 5.41 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.677e-06/0.7161, allocations: 4 kB / 422.1 MB, free: 5.406 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.101e-05/0.7161, allocations: 0 / 422.1 MB, free: 5.406 MB / 334.1 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.004023/0.7202, allocations: 1.232 MB / 423.3 MB, free: 4.121 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.088e-05/0.7203, allocations: 15.97 kB / 423.3 MB, free: 4.105 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003347/0.7206, allocations: 103.8 kB / 423.4 MB, free: 4.004 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001507/0.7221, allocations: 459 kB / 423.9 MB, free: 3.52 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001307/0.7223, allocations: 70.38 kB / 424 MB, free: 3.453 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002318/0.7225, allocations: 100.3 kB / 424.1 MB, free: 3.355 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002614/0.7252, allocations: 0.8755 MB / 424.9 MB, free: 2.453 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.225e-05/0.7252, allocations: 4 kB / 424.9 MB, free: 2.449 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001338/0.7254, allocations: 40 kB / 425 MB, free: 2.41 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.211e-05/0.7254, allocations: 24 kB / 425 MB, free: 2.387 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001744/0.7272, allocations: 0.5699 MB / 425.6 MB, free: 1.82 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008356/0.7356, allocations: 2.941 MB / 428.5 MB, free: 14.76 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007969/0.7364, allocations: 298.3 kB / 428.8 MB, free: 14.46 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006698/0.7371, allocations: 280.7 kB / 429.1 MB, free: 14.18 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.086e-05/0.7372, allocations: 4 kB / 429.1 MB, free: 14.18 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.357e-05/0.7373, allocations: 50.5 kB / 429.1 MB, free: 14.12 MB / 350.1 MB Notification: Performance of pre-optimization done (n=42): time 6.322e-06/0.7373, allocations: 0 / 429.1 MB, free: 14.12 MB / 350.1 MB Notification: Performance of matching and sorting (n=42): time 0.002652/0.74, allocations: 0.6471 MB / 429.8 MB, free: 13.44 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.395e-05/0.7401, allocations: 55.41 kB / 429.8 MB, free: 13.38 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001137/0.7412, allocations: 0.5102 MB / 430.3 MB, free: 12.86 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.109e-05/0.7413, allocations: 37.7 kB / 430.4 MB, free: 12.81 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005778/0.7419, allocations: 489.5 kB / 430.9 MB, free: 12.32 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002435/0.7422, allocations: 161.8 kB / 431 MB, free: 12.16 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003622/0.7426, allocations: 134.5 kB / 431.1 MB, free: 12.02 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0003416/0.7429, allocations: 366.8 kB / 431.5 MB, free: 11.66 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004973/0.7434, allocations: 177.9 kB / 431.7 MB, free: 11.48 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009115/0.7444, allocations: 449.6 kB / 432.1 MB, free: 10.92 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001374/0.7457, allocations: 0.644 MB / 432.8 MB, free: 10.15 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.324e-05/0.7458, allocations: 4 kB / 432.8 MB, free: 10.14 MB / 350.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002348/0.7481, allocations: 0.7606 MB / 433.5 MB, free: 9.375 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.559e-05/0.7482, allocations: 8 kB / 433.5 MB, free: 9.367 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.717e-05/0.7482, allocations: 12 kB / 433.5 MB, free: 9.355 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005392/0.7488, allocations: 85.28 kB / 433.6 MB, free: 9.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001222/0.75, allocations: 199.7 kB / 433.8 MB, free: 9.074 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003699/0.7538, allocations: 1.998 MB / 435.8 MB, free: 6.934 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001436/0.7552, allocations: 87.06 kB / 435.9 MB, free: 6.848 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001103/0.7554, allocations: 32 kB / 435.9 MB, free: 6.816 MB / 350.1 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007501/0.7562, allocations: 217.5 kB / 436.1 MB, free: 6.594 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000243/0.7564, allocations: 59.34 kB / 436.2 MB, free: 6.535 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001828/0.7566, allocations: 61.5 kB / 436.3 MB, free: 6.473 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.118e-05/0.7567, allocations: 8.062 kB / 436.3 MB, free: 6.465 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.563e-05/0.7567, allocations: 4 kB / 436.3 MB, free: 6.461 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.358e-05/0.7567, allocations: 3.984 kB / 436.3 MB, free: 6.457 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001605/0.7583, allocations: 0.6453 MB / 436.9 MB, free: 5.762 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.562e-06/0.7584, allocations: 4 kB / 436.9 MB, free: 5.758 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000832/0.7592, allocations: 99.86 kB / 437 MB, free: 5.66 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004898/0.7597, allocations: 72.73 kB / 437.1 MB, free: 5.586 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.044e-05/0.7598, allocations: 12 kB / 437.1 MB, free: 5.574 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003602/0.7634, allocations: 1.983 MB / 439.1 MB, free: 3.453 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.251e-05/0.7635, allocations: 4.031 kB / 439.1 MB, free: 3.449 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001969/0.7655, allocations: 0.6582 MB / 439.8 MB, free: 2.773 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003507/0.7658, allocations: 140.4 kB / 439.9 MB, free: 2.617 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001633/0.766, allocations: 8 kB / 439.9 MB, free: 2.609 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009453/0.767, allocations: 47.97 kB / 439.9 MB, free: 2.562 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001582/0.7672, allocations: 23.95 kB / 440 MB, free: 2.539 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.89e-05/0.7672, allocations: 12 kB / 440 MB, free: 2.527 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0008116/0.7681, allocations: 350.9 kB / 440.3 MB, free: 2.188 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.2e-07/0.7681, allocations: 0 / 440.3 MB, free: 2.188 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001707/0.7698, allocations: 239.3 kB / 440.6 MB, free: 1.953 MB / 350.1 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003804/0.7702, allocations: 119.2 kB / 440.7 MB, free: 1.828 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002344/0.7726, allocations: 0.5885 MB / 441.3 MB, free: 1.227 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-05/0.7726, allocations: 4 kB / 441.3 MB, free: 1.223 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009094/0.7735, allocations: 318.3 kB / 441.6 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00143/0.775, allocations: 130.1 kB / 441.7 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005243/0.7803, allocations: 1.434 MB / 443.1 MB, free: 15.31 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001106/0.7814, allocations: 0.9298 MB / 444.1 MB, free: 14.35 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000304/0.7818, allocations: 47.44 kB / 444.1 MB, free: 14.3 MB / 366.1 MB Notification: Performance of SimCode: time 2.234e-06/0.7818, allocations: 0 / 444.1 MB, free: 14.3 MB / 366.1 MB Notification: Performance of Templates: time 0.03317/0.815, allocations: 11.13 MB / 455.2 MB, free: 3.199 MB / 366.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/CauerLowPassOPV/CauerLowPassOPV.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches