Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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.CauerLowPassAnalog,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|C1.v|C3.v|C5.v|L1.i|L2.i",fileNamePrefix="Modelica_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001313/0.001313, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001433/0.001433, allocations: 207.9 kB / 19.25 MB, free: 3.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.495/1.495, allocations: 227.7 MB / 247.7 MB, free: 10.31 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002005/0.002005, allocations: 64.7 kB / 307.9 MB, free: 480 kB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1045/0.1065, allocations: 50.54 MB / 358.4 MB, free: 13.91 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog): time 0.004609/0.1111, allocations: 2.817 MB / 361.3 MB, free: 11.08 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001338/0.1125, allocations: 0.6583 MB / 361.9 MB, free: 10.41 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000161/0.1127, allocations: 7.938 kB / 361.9 MB, free: 10.41 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001795/0.1129, allocations: 47.56 kB / 362 MB, free: 10.36 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002149/0.1131, allocations: 87.2 kB / 362 MB, free: 10.27 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002233/0.1134, allocations: 75.83 kB / 362.1 MB, free: 10.2 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004365/0.1138, allocations: 343 kB / 362.5 MB, free: 9.863 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002698/0.1141, allocations: 143.3 kB / 362.6 MB, free: 9.723 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001676/0.1143, allocations: 135.6 kB / 362.7 MB, free: 9.59 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000222/0.1145, allocations: 155.3 kB / 362.9 MB, free: 9.438 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.545e-05/0.1146, allocations: 32 kB / 362.9 MB, free: 9.406 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.221e-05/0.1146, allocations: 32 kB / 362.9 MB, free: 9.375 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.916e-05/0.1147, allocations: 67.77 kB / 363 MB, free: 9.309 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001674/0.1149, allocations: 155.3 kB / 363.2 MB, free: 9.156 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004062/0.1153, allocations: 362.9 kB / 363.5 MB, free: 8.801 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.1153, allocations: 4 kB / 363.5 MB, free: 8.797 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1153, allocations: 0 / 363.5 MB, free: 8.797 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.13e-05/0.1153, allocations: 0 / 363.5 MB, free: 8.797 MB / 302.1 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.00103/0.1164, allocations: 0.6003 MB / 364.1 MB, free: 8.148 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.047e-05/0.1164, allocations: 8.031 kB / 364.1 MB, free: 8.141 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.417e-05/0.1165, allocations: 36.56 kB / 364.2 MB, free: 8.105 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003225/0.1169, allocations: 251.8 kB / 364.4 MB, free: 7.82 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.765e-05/0.1169, allocations: 16.94 kB / 364.4 MB, free: 7.801 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.234e-05/0.117, allocations: 36.28 kB / 364.5 MB, free: 7.766 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004791/0.1175, allocations: 253.1 kB / 364.7 MB, free: 7.512 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.1175, allocations: 0 / 364.7 MB, free: 7.512 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.059e-05/0.1175, allocations: 12 kB / 364.7 MB, free: 7.5 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.749e-06/0.1175, allocations: 8 kB / 364.7 MB, free: 7.492 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003729/0.1179, allocations: 182.2 kB / 364.9 MB, free: 7.316 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00162/0.1195, allocations: 1.01 MB / 365.9 MB, free: 6.227 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004548/0.12, allocations: 332.9 kB / 366.2 MB, free: 5.855 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002332/0.1203, allocations: 147.2 kB / 366.4 MB, free: 5.711 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.91e-05/0.1203, allocations: 4 kB / 366.4 MB, free: 5.707 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.829e-05/0.1203, allocations: 38.56 kB / 366.4 MB, free: 5.66 MB / 302.1 MB Notification: Performance of pre-optimization done (n=21): time 1.352e-06/0.1203, allocations: 0 / 366.4 MB, free: 5.66 MB / 302.1 MB Notification: Performance of matching and sorting (n=25): time 0.001553/0.1219, allocations: 0.7814 MB / 367.2 MB, free: 4.824 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.101e-05/0.122, allocations: 55.41 kB / 367.3 MB, free: 4.758 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002114/0.1222, allocations: 195 kB / 367.5 MB, free: 4.555 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.744e-05/0.1222, allocations: 29.7 kB / 367.5 MB, free: 4.52 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001318/0.1223, allocations: 172.3 kB / 367.7 MB, free: 4.344 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.413e-05/0.1224, allocations: 86.66 kB / 367.7 MB, free: 4.258 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.037e-05/0.1225, allocations: 45.98 kB / 367.8 MB, free: 4.207 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001556/0.1227, allocations: 338.8 kB / 368.1 MB, free: 3.867 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001554/0.1228, allocations: 76.47 kB / 368.2 MB, free: 3.793 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001684/0.123, allocations: 95.64 kB / 368.3 MB, free: 3.695 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003059/0.1233, allocations: 185.6 kB / 368.5 MB, free: 3.508 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.1233, allocations: 0 / 368.5 MB, free: 3.508 MB / 302.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000571/0.1239, allocations: 318 kB / 368.8 MB, free: 3.188 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.124, allocations: 4 kB / 368.8 MB, free: 3.184 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.124, allocations: 0 / 368.8 MB, free: 3.184 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002792/0.1242, allocations: 92.78 kB / 368.9 MB, free: 3.09 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001936/0.1245, allocations: 47.91 kB / 368.9 MB, free: 3.043 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002357/0.1268, allocations: 2.092 MB / 371 MB, free: 0.8125 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001347/0.127, allocations: 15.95 kB / 371 MB, free: 0.7969 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.749e-05/0.127, allocations: 8 kB / 371 MB, free: 0.7891 MB / 302.1 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 (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 {(2,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001628/0.1272, allocations: 133.8 kB / 371.2 MB, free: 0.6484 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.389e-05/0.1272, allocations: 23.75 kB / 371.2 MB, free: 0.625 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.838e-05/0.1273, allocations: 29.94 kB / 371.2 MB, free: 0.6016 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.1273, allocations: 0 / 371.2 MB, free: 0.6016 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.1273, allocations: 4 kB / 371.2 MB, free: 0.5977 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/0.1273, allocations: 7.922 kB / 371.2 MB, free: 0.5898 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1709/0.2982, allocations: 0.7366 MB / 372 MB, free: 19.79 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.683e-06/0.2983, allocations: 3.219 kB / 372 MB, free: 19.79 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002164/0.2985, allocations: 35.95 kB / 372 MB, free: 19.79 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002548/0.2988, allocations: 76.47 kB / 372.1 MB, free: 19.78 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.103e-05/0.2988, allocations: 7.234 kB / 372.1 MB, free: 19.78 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001546/0.3004, allocations: 1.986 MB / 374.1 MB, free: 18.31 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.3004, allocations: 2.219 kB / 374.1 MB, free: 18.31 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006572/0.301, allocations: 463.8 kB / 374.5 MB, free: 18.17 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.064e-05/0.3011, allocations: 96.12 kB / 374.6 MB, free: 18.07 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.989e-05/0.3011, allocations: 5 kB / 374.6 MB, free: 18.07 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001739/0.3013, allocations: 17.08 kB / 374.6 MB, free: 18.07 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.701e-05/0.3014, allocations: 19.28 kB / 374.7 MB, free: 18.07 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.73e-05/0.3014, allocations: 9.5 kB / 374.7 MB, free: 18.07 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001194/0.3016, allocations: 142.8 kB / 374.8 MB, free: 18 MB / 302.1 MB Notification: Performance of sort global known variables: time 2e-07/0.3016, allocations: 1.031 kB / 374.8 MB, free: 18 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000471/0.302, allocations: 81.97 kB / 374.9 MB, free: 18 MB / 302.1 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 (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.0001293/0.3022, allocations: 111.8 kB / 375 MB, free: 17.9 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006891/0.3029, allocations: 379.3 kB / 375.4 MB, free: 17.77 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.3029, allocations: 0 / 375.4 MB, free: 17.77 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003834/0.3033, allocations: 261.1 kB / 375.6 MB, free: 17.65 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00042/0.3037, allocations: 38.56 kB / 375.7 MB, free: 17.65 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001198/0.3049, allocations: 0.7971 MB / 376.5 MB, free: 17.17 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002537/0.3052, allocations: 0.7665 MB / 377.2 MB, free: 16.46 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.72e-05/0.3053, allocations: 26.03 kB / 377.2 MB, free: 16.45 MB / 302.1 MB Notification: Performance of SimCode: time 6.41e-07/0.3053, allocations: 0 / 377.2 MB, free: 16.45 MB / 302.1 MB Notification: Performance of Templates: time 0.007516/0.3128, allocations: 4.018 MB / 381.3 MB, free: 16.16 MB / 302.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/CauerLowPassAnalog/CauerLowPassAnalog.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches