Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 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.CauerLowPassOPV,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|C1.v|C2.v|C3.v|C4.v|C7.v",fileNamePrefix="Modelica_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CauerLowPassOPV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00168/0.00168, 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.002012/0.002012, 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.463/1.463, allocations: 227.7 MB / 247.7 MB, free: 10.3 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.001933/0.001933, allocations: 60.56 kB / 307.9 MB, free: 488 kB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09535/0.0973, allocations: 50.54 MB / 358.4 MB, free: 13.92 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.007509/0.1048, allocations: 5.783 MB / 364.2 MB, free: 8.102 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002745/0.1076, allocations: 1.196 MB / 365.4 MB, free: 6.898 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005899/0.1082, allocations: 16 kB / 365.4 MB, free: 6.883 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000452/0.1087, allocations: 170.4 kB / 365.6 MB, free: 6.715 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007109/0.1095, allocations: 277.4 kB / 365.9 MB, free: 6.441 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005547/0.11, allocations: 223.7 kB / 366.1 MB, free: 6.223 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001182/0.1112, allocations: 1.06 MB / 367.1 MB, free: 5.16 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007797/0.112, allocations: 0.5219 MB / 367.7 MB, free: 4.613 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004664/0.1125, allocations: 410.7 kB / 368.1 MB, free: 4.211 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005905/0.1131, allocations: 477.9 kB / 368.5 MB, free: 3.742 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001517/0.1133, allocations: 100 kB / 368.6 MB, free: 3.645 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001683/0.1134, allocations: 96 kB / 368.7 MB, free: 3.551 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002018/0.1136, allocations: 219.2 kB / 368.9 MB, free: 3.336 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005162/0.1142, allocations: 0.4938 MB / 369.4 MB, free: 2.84 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001122/0.1153, allocations: 1.094 MB / 370.5 MB, free: 1.742 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.1153, allocations: 0 / 370.5 MB, free: 1.742 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.477e-06/0.1153, allocations: 3.984 kB / 370.5 MB, free: 1.738 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.307e-05/0.1153, allocations: 4 kB / 370.5 MB, free: 1.734 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: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.002139/0.1175, allocations: 1.232 MB / 371.8 MB, free: 464 kB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.1175, allocations: 12.03 kB / 371.8 MB, free: 452 kB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001686/0.1177, allocations: 103.7 kB / 371.9 MB, free: 348 kB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.161/0.2787, allocations: 454 kB / 372.3 MB, free: 19.82 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.318e-05/0.2788, allocations: 73.77 kB / 372.4 MB, free: 19.82 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001513/0.279, allocations: 92.48 kB / 372.5 MB, free: 19.82 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001597/0.2806, allocations: 0.8666 MB / 373.3 MB, free: 19.71 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.36e-05/0.2806, allocations: 4.75 kB / 373.4 MB, free: 19.71 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.312e-05/0.2807, allocations: 45.38 kB / 373.4 MB, free: 19.68 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.088e-05/0.2808, allocations: 23.45 kB / 373.4 MB, free: 19.68 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001034/0.2818, allocations: 0.5707 MB / 374 MB, free: 19.48 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00433/0.2861, allocations: 2.962 MB / 377 MB, free: 17.8 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004237/0.2866, allocations: 298.5 kB / 377.2 MB, free: 17.67 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003497/0.2869, allocations: 270.9 kB / 377.5 MB, free: 17.57 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.2e-05/0.287, allocations: 3.5 kB / 377.5 MB, free: 17.57 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.689e-05/0.287, allocations: 38.25 kB / 377.5 MB, free: 17.53 MB / 302.1 MB Notification: Performance of pre-optimization done (n=42): time 3.056e-06/0.287, allocations: 1.078 kB / 377.5 MB, free: 17.53 MB / 302.1 MB Notification: Performance of matching and sorting (n=42): time 0.001472/0.2885, allocations: 0.655 MB / 378.2 MB, free: 17.2 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.566e-05/0.2885, allocations: 56.62 kB / 378.3 MB, free: 17.14 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006203/0.2892, allocations: 0.5155 MB / 378.8 MB, free: 16.89 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.266e-05/0.2892, allocations: 32.52 kB / 378.8 MB, free: 16.85 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003039/0.2895, allocations: 486.9 kB / 379.3 MB, free: 16.47 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001054/0.2896, allocations: 157.3 kB / 379.4 MB, free: 16.35 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001781/0.2898, allocations: 142 kB / 379.6 MB, free: 16.27 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001222/0.29, allocations: 368.6 kB / 379.9 MB, free: 15.93 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003201/0.2903, allocations: 166.5 kB / 380.1 MB, free: 15.87 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004098/0.2907, allocations: 453.1 kB / 380.5 MB, free: 15.45 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006737/0.2914, allocations: 0.6539 MB / 381.2 MB, free: 14.89 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.123e-06/0.2914, allocations: 3.125 kB / 381.2 MB, free: 14.89 MB / 302.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001227/0.2926, allocations: 0.7576 MB / 382 MB, free: 14.55 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.397e-05/0.2927, allocations: 11.91 kB / 382 MB, free: 14.55 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.498e-05/0.2927, allocations: 9.188 kB / 382 MB, free: 14.55 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003198/0.293, allocations: 88.09 kB / 382.1 MB, free: 14.53 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006778/0.2937, allocations: 194.3 kB / 382.2 MB, free: 14.51 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001658/0.2954, allocations: 2.001 MB / 384.3 MB, free: 12.74 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005188/0.2959, allocations: 94.64 kB / 384.3 MB, free: 12.67 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.77e-05/0.296, allocations: 32.03 kB / 384.4 MB, free: 12.67 MB / 302.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.0002736/0.2962, allocations: 223.9 kB / 384.6 MB, free: 12.48 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.044e-05/0.2963, allocations: 58.14 kB / 384.7 MB, free: 12.45 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.42e-05/0.2964, allocations: 65.77 kB / 384.7 MB, free: 12.4 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.2964, allocations: 4.547 kB / 384.7 MB, free: 12.4 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.145e-05/0.2965, allocations: 1.219 kB / 384.7 MB, free: 12.4 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.2965, allocations: 3.469 kB / 384.7 MB, free: 12.4 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007573/0.2972, allocations: 0.6429 MB / 385.4 MB, free: 12.04 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.2973, allocations: 0.6094 kB / 385.4 MB, free: 12.04 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004135/0.2977, allocations: 101.3 kB / 385.5 MB, free: 12.03 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002293/0.2979, allocations: 72.22 kB / 385.5 MB, free: 12.01 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.517e-05/0.2979, allocations: 12.12 kB / 385.5 MB, free: 12 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001409/0.2994, allocations: 1.982 MB / 387.5 MB, free: 10.23 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.2994, allocations: 0 / 387.5 MB, free: 10.23 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008893/0.3003, allocations: 0.6568 MB / 388.2 MB, free: 9.871 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000114/0.3004, allocations: 143.7 kB / 388.3 MB, free: 9.73 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.522e-05/0.3005, allocations: 14.25 kB / 388.3 MB, free: 9.719 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004117/0.3009, allocations: 41 kB / 388.4 MB, free: 9.715 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.581e-05/0.301, allocations: 29.12 kB / 388.4 MB, free: 9.711 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.558e-05/0.301, allocations: 17.77 kB / 388.4 MB, free: 9.703 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003786/0.3014, allocations: 344.4 kB / 388.8 MB, free: 9.543 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3014, allocations: 0 / 388.8 MB, free: 9.543 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008654/0.3023, allocations: 244.7 kB / 389 MB, free: 9.484 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,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.000143/0.3024, allocations: 113.9 kB / 389.1 MB, free: 9.383 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00111/0.3035, allocations: 0.6085 MB / 389.7 MB, free: 9.094 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.3036, allocations: 1.281 kB / 389.7 MB, free: 9.094 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004486/0.304, allocations: 319.6 kB / 390 MB, free: 8.906 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006679/0.3047, allocations: 124.6 kB / 390.2 MB, free: 8.855 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0023/0.307, allocations: 1.435 MB / 391.6 MB, free: 7.984 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000387/0.3074, allocations: 0.9322 MB / 392.5 MB, free: 7.27 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001318/0.3075, allocations: 44.69 kB / 392.6 MB, free: 7.262 MB / 302.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3076, allocations: 0 / 392.6 MB, free: 7.262 MB / 302.1 MB Notification: Performance of Templates: time 0.01498/0.3225, allocations: 11 MB / 403.6 MB, free: 0.5859 MB / 302.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CauerLowPassOPV -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CauerLowPassOPV_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/CauerLowPassOPV/CauerLowPassOPV.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches