Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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.0.0_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.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001361/0.001361, allocations: 186.5 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.485/1.485, allocations: 222.9 MB / 240.9 MB, free: 11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001099/0.001099, allocations: 91.92 kB / 291.1 MB, free: 10.96 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008442/0.0008442, allocations: 43.94 kB / 350 MB, free: 92 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3871/0.388, allocations: 49.44 MB / 399.5 MB, free: 33.39 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.006093/0.3942, allocations: 5.755 MB / 405.2 MB, free: 27.61 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002995/0.3972, allocations: 1.158 MB / 406.4 MB, free: 26.45 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008111/0.3981, allocations: 19.94 kB / 406.4 MB, free: 26.43 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003804/0.3985, allocations: 123 kB / 406.5 MB, free: 26.31 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006593/0.3992, allocations: 234 kB / 406.7 MB, free: 26.08 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004907/0.3997, allocations: 199.8 kB / 406.9 MB, free: 25.88 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007922/0.4005, allocations: 1.032 MB / 408 MB, free: 24.85 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005743/0.4011, allocations: 456.6 kB / 408.4 MB, free: 24.38 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003152/0.4014, allocations: 390.6 kB / 408.8 MB, free: 23.99 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003825/0.4018, allocations: 453.9 kB / 409.2 MB, free: 23.55 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000102/0.4019, allocations: 72 kB / 409.3 MB, free: 23.48 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000125/0.402, allocations: 72 kB / 409.4 MB, free: 23.41 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000125/0.4022, allocations: 199.2 kB / 409.6 MB, free: 23.21 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003285/0.4025, allocations: 485.6 kB / 410.1 MB, free: 22.73 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006285/0.4031, allocations: 1.068 MB / 411.1 MB, free: 21.66 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.4031, allocations: 0 / 411.1 MB, free: 21.66 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.4032, allocations: 4 kB / 411.1 MB, free: 21.66 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.215e-05/0.4032, allocations: 0 / 411.1 MB, free: 21.66 MB / 298.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.001765/0.4049, allocations: 1.228 MB / 412.4 MB, free: 20.38 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.769e-05/0.405, allocations: 8.031 kB / 412.4 MB, free: 20.38 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001844/0.4052, allocations: 111.7 kB / 412.5 MB, free: 20.27 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006125/0.4058, allocations: 451.1 kB / 412.9 MB, free: 19.79 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.689e-05/0.4059, allocations: 74.38 kB / 413 MB, free: 19.71 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001096/0.406, allocations: 92.28 kB / 413.1 MB, free: 19.62 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001126/0.4071, allocations: 0.8716 MB / 413.9 MB, free: 18.73 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.034e-05/0.4072, allocations: 4 kB / 413.9 MB, free: 18.72 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.579e-05/0.4072, allocations: 40 kB / 414 MB, free: 18.68 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.575e-05/0.4073, allocations: 24 kB / 414 MB, free: 18.66 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008104/0.4081, allocations: 0.57 MB / 414.6 MB, free: 18.09 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003581/0.4117, allocations: 2.96 MB / 417.5 MB, free: 15.02 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003594/0.4121, allocations: 294.4 kB / 417.8 MB, free: 14.72 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002911/0.4124, allocations: 268.8 kB / 418.1 MB, free: 14.45 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.228e-05/0.4124, allocations: 4 kB / 418.1 MB, free: 14.45 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.664e-05/0.4124, allocations: 38.56 kB / 418.1 MB, free: 14.4 MB / 298.7 MB Notification: Performance of pre-optimization done (n=42): time 3.497e-06/0.4125, allocations: 0 / 418.1 MB, free: 14.4 MB / 298.7 MB Notification: Performance of matching and sorting (n=42): time 0.001377/0.4138, allocations: 0.6548 MB / 418.8 MB, free: 13.72 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.51e-05/0.4139, allocations: 59.34 kB / 418.8 MB, free: 13.65 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004524/0.4143, allocations: 0.5181 MB / 419.4 MB, free: 13.12 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.721e-05/0.4144, allocations: 33.7 kB / 419.4 MB, free: 13.08 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002111/0.4146, allocations: 485.6 kB / 419.9 MB, free: 12.6 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.004e-05/0.4147, allocations: 161.7 kB / 420 MB, free: 12.44 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001494/0.4148, allocations: 134.5 kB / 420.2 MB, free: 12.3 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.58e-05/0.4149, allocations: 362.8 kB / 420.5 MB, free: 11.94 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000241/0.4152, allocations: 177.9 kB / 420.7 MB, free: 11.76 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003524/0.4155, allocations: 461.4 kB / 421.1 MB, free: 11.18 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006206/0.4162, allocations: 0.6442 MB / 421.8 MB, free: 10.42 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.2e-06/0.4162, allocations: 0 / 421.8 MB, free: 10.42 MB / 298.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001057/0.4173, allocations: 0.761 MB / 422.5 MB, free: 9.648 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.23e-05/0.4173, allocations: 12 kB / 422.6 MB, free: 9.637 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.966e-05/0.4173, allocations: 11.98 kB / 422.6 MB, free: 9.625 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003736/0.4177, allocations: 76.81 kB / 422.6 MB, free: 9.547 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006283/0.4183, allocations: 207.8 kB / 422.8 MB, free: 9.344 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001544/0.4199, allocations: 1.8 MB / 424.6 MB, free: 7.41 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005214/0.4204, allocations: 87.06 kB / 424.7 MB, free: 7.324 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.1e-05/0.4205, allocations: 40.08 kB / 424.8 MB, free: 7.285 MB / 298.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 (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.0003008/0.4208, allocations: 225.3 kB / 425 MB, free: 7.055 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.624e-05/0.4209, allocations: 63.34 kB / 425.1 MB, free: 6.992 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.954e-05/0.421, allocations: 65.5 kB / 425.1 MB, free: 6.922 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.421, allocations: 4 kB / 425.1 MB, free: 6.918 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.139e-05/0.421, allocations: 4 kB / 425.1 MB, free: 6.914 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.421, allocations: 3.984 kB / 425.1 MB, free: 6.91 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006943/0.4217, allocations: 0.6375 MB / 425.8 MB, free: 6.223 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.4217, allocations: 4 kB / 425.8 MB, free: 6.219 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000373/0.4221, allocations: 99.86 kB / 425.9 MB, free: 6.121 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002014/0.4223, allocations: 72.8 kB / 425.9 MB, free: 6.047 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.239e-05/0.4224, allocations: 8 kB / 425.9 MB, free: 6.039 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001311/0.4237, allocations: 1.796 MB / 427.7 MB, free: 4.109 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.4237, allocations: 0 / 427.7 MB, free: 4.109 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005515/0.4292, allocations: 5.122 MB / 432.9 MB, free: 14.7 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001407/0.4294, allocations: 128.4 kB / 433 MB, free: 14.55 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.77e-05/0.4295, allocations: 8 kB / 433 MB, free: 14.55 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004241/0.4299, allocations: 48.03 kB / 433 MB, free: 14.5 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001138/0.43, allocations: 35.67 kB / 433.1 MB, free: 14.46 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.922e-05/0.4301, allocations: 16 kB / 433.1 MB, free: 14.45 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0004258/0.4305, allocations: 346.9 kB / 433.4 MB, free: 14.11 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4305, allocations: 0 / 433.4 MB, free: 14.11 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001182/0.4317, allocations: 323.1 kB / 433.7 MB, free: 13.8 MB / 314.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 (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.0001863/0.4319, allocations: 111.2 kB / 433.9 MB, free: 13.68 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001285/0.4332, allocations: 0.5932 MB / 434.5 MB, free: 13.07 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.031e-06/0.4332, allocations: 4 kB / 434.5 MB, free: 13.07 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004865/0.4337, allocations: 310.4 kB / 434.8 MB, free: 12.75 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007358/0.4344, allocations: 118.6 kB / 434.9 MB, free: 12.64 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003141/0.4376, allocations: 2.194 MB / 437.1 MB, free: 10.38 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005319/0.4382, allocations: 0.9419 MB / 438 MB, free: 9.414 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.000381/0.4385, allocations: 73.2 kB / 438.1 MB, free: 9.344 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001091/0.4387, allocations: 43.44 kB / 438.1 MB, free: 9.301 MB / 314.7 MB Notification: Performance of SimCode: time 6.91e-07/0.4387, allocations: 0 / 438.1 MB, free: 9.301 MB / 314.7 MB Notification: Performance of Templates: time 0.01593/0.4546, allocations: 7.948 MB / 446.1 MB, free: 1.41 MB / 314.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/CauerLowPassOPV/CauerLowPassOPV.csv","../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches