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.00128/0.00128, allocations: 95.81 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001444/0.001444, allocations: 208.3 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.527/1.527, allocations: 227.2 MB / 245.9 MB, free: 12.07 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003255/0.0003258, allocations: 8 kB / 306.6 MB, free: 1.66 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1425/0.1428, allocations: 51.49 MB / 358.1 MB, free: 14.16 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.005329/0.1482, allocations: 4.576 MB / 362.6 MB, free: 9.562 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002957/0.1512, allocations: 1.243 MB / 363.9 MB, free: 8.312 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005519/0.1518, allocations: 19.94 kB / 363.9 MB, free: 8.293 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002587/0.152, allocations: 123.1 kB / 364 MB, free: 8.172 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007321/0.1528, allocations: 323.1 kB / 364.3 MB, free: 7.855 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005179/0.1533, allocations: 159.8 kB / 364.5 MB, free: 7.699 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009567/0.1543, allocations: 0.7346 MB / 365.2 MB, free: 6.965 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006468/0.1549, allocations: 404.2 kB / 365.6 MB, free: 6.555 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003393/0.1553, allocations: 330.9 kB / 365.9 MB, free: 6.23 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004955/0.1558, allocations: 398.2 kB / 366.3 MB, free: 5.84 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.661e-05/0.1559, allocations: 52 kB / 366.4 MB, free: 5.789 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001033/0.156, allocations: 48 kB / 366.4 MB, free: 5.742 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001277/0.1561, allocations: 155.4 kB / 366.6 MB, free: 5.59 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001737/0.1563, allocations: 201.2 kB / 366.8 MB, free: 5.387 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007046/0.157, allocations: 0.7986 MB / 367.6 MB, free: 4.586 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.157, allocations: 0 / 367.6 MB, free: 4.586 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.306e-06/0.1571, allocations: 3.984 kB / 367.6 MB, free: 4.582 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.434e-05/0.1571, allocations: 3.938 kB / 367.6 MB, free: 4.578 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.001848/0.1589, allocations: 1.088 MB / 368.7 MB, free: 3.438 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.017e-05/0.159, allocations: 8.031 kB / 368.7 MB, free: 3.43 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001868/0.1592, allocations: 106.8 kB / 368.8 MB, free: 3.324 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006444/0.1598, allocations: 442.1 kB / 369.2 MB, free: 2.852 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.517e-05/0.1599, allocations: 69.98 kB / 369.3 MB, free: 2.785 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001255/0.16, allocations: 99.91 kB / 369.4 MB, free: 2.688 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001321/0.1614, allocations: 0.8557 MB / 370.2 MB, free: 1.805 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.15e-05/0.1614, allocations: 0 / 370.2 MB, free: 1.805 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.1e-05/0.1615, allocations: 40 kB / 370.3 MB, free: 1.766 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.248e-05/0.1615, allocations: 24 kB / 370.3 MB, free: 1.742 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000949/0.1625, allocations: 0.5661 MB / 370.9 MB, free: 1.176 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2676/0.4301, allocations: 2.965 MB / 373.8 MB, free: 18 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00055/0.4307, allocations: 299.6 kB / 374.1 MB, free: 17.96 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.023e-05/0.4307, allocations: 4.969 kB / 374.1 MB, free: 17.96 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.819e-05/0.4308, allocations: 41.92 kB / 374.2 MB, free: 17.93 MB / 302.1 MB Notification: Performance of pre-optimization done (n=42): time 2.705e-06/0.4308, allocations: 0.9688 kB / 374.2 MB, free: 17.93 MB / 302.1 MB Notification: Performance of matching and sorting (n=42): time 0.001772/0.4326, allocations: 0.6527 MB / 374.8 MB, free: 17.75 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.702e-05/0.4326, allocations: 67.33 kB / 374.9 MB, free: 17.68 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008385/0.4335, allocations: 0.5062 MB / 375.4 MB, free: 17.55 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.924e-05/0.4335, allocations: 34.67 kB / 375.4 MB, free: 17.52 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003706/0.4339, allocations: 491 kB / 375.9 MB, free: 17.24 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001128/0.434, allocations: 158.3 kB / 376.1 MB, free: 17.15 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.7e-05/0.4341, allocations: 17.03 kB / 376.1 MB, free: 17.15 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001067/0.4342, allocations: 363.4 kB / 376.4 MB, free: 16.84 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003362/0.4345, allocations: 173.2 kB / 376.6 MB, free: 16.83 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004814/0.435, allocations: 445.5 kB / 377 MB, free: 16.46 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004266/0.4354, allocations: 240.2 kB / 377.3 MB, free: 16.36 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.726e-06/0.4355, allocations: 2.844 kB / 377.3 MB, free: 16.36 MB / 302.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001386/0.4368, allocations: 0.7571 MB / 378 MB, free: 16.02 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.498e-05/0.4369, allocations: 13.58 kB / 378 MB, free: 16.02 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.244e-05/0.4369, allocations: 8.953 kB / 378.1 MB, free: 16.02 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003668/0.4373, allocations: 91.36 kB / 378.1 MB, free: 15.98 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007328/0.438, allocations: 196.8 kB / 378.3 MB, free: 15.97 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001766/0.4398, allocations: 1.816 MB / 380.2 MB, free: 14.37 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006375/0.4405, allocations: 99.22 kB / 380.3 MB, free: 14.3 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.01e-05/0.4405, allocations: 37.16 kB / 380.3 MB, free: 14.29 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 (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 prepare postOptimizeDAE: time 0.0003753/0.4409, allocations: 210.3 kB / 380.5 MB, free: 14.11 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001061/0.441, allocations: 58.25 kB / 380.5 MB, free: 14.09 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.434e-05/0.4411, allocations: 59.64 kB / 380.6 MB, free: 14.05 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.4411, allocations: 4.188 kB / 380.6 MB, free: 14.05 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.534e-05/0.4412, allocations: 3.891 kB / 380.6 MB, free: 14.05 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.4412, allocations: 1.969 kB / 380.6 MB, free: 14.05 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00094/0.4421, allocations: 0.6509 MB / 381.3 MB, free: 13.67 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.4421, allocations: 1.281 kB / 381.3 MB, free: 13.67 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004776/0.4426, allocations: 104.2 kB / 381.4 MB, free: 13.66 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002341/0.4429, allocations: 80.25 kB / 381.5 MB, free: 13.64 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.566e-05/0.4429, allocations: 7.516 kB / 381.5 MB, free: 13.63 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00152/0.4444, allocations: 1.813 MB / 383.3 MB, free: 12.04 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.4444, allocations: 0 / 383.3 MB, free: 12.04 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001199/0.4456, allocations: 0.665 MB / 383.9 MB, free: 11.68 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001717/0.4458, allocations: 135.2 kB / 384.1 MB, free: 11.54 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.354e-05/0.4459, allocations: 7.469 kB / 384.1 MB, free: 11.54 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004212/0.4463, allocations: 54.36 kB / 384.1 MB, free: 11.53 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.115e-05/0.4464, allocations: 28.3 kB / 384.2 MB, free: 11.52 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.677e-05/0.4465, allocations: 13.55 kB / 384.2 MB, free: 11.52 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004614/0.4469, allocations: 339.7 kB / 384.5 MB, free: 11.36 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4469, allocations: 3.938 kB / 384.5 MB, free: 11.36 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0009577/0.4479, allocations: 248.8 kB / 384.7 MB, free: 11.29 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 (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.0001603/0.4481, allocations: 109.4 kB / 384.9 MB, free: 11.2 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001167/0.4492, allocations: 0.5979 MB / 385.5 MB, free: 10.91 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.4493, allocations: 0 / 385.5 MB, free: 10.91 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005073/0.4498, allocations: 310.9 kB / 385.8 MB, free: 10.73 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000644/0.4504, allocations: 120.5 kB / 385.9 MB, free: 10.67 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00272/0.4532, allocations: 1.757 MB / 387.6 MB, free: 9.516 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006321/0.4538, allocations: 0.949 MB / 388.6 MB, free: 8.805 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003902/0.4542, allocations: 74.75 kB / 388.7 MB, free: 8.781 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.147e-05/0.4543, allocations: 39.19 kB / 388.7 MB, free: 8.773 MB / 302.1 MB Notification: Performance of SimCode: time 9.42e-07/0.4543, allocations: 0 / 388.7 MB, free: 8.773 MB / 302.1 MB Notification: Performance of Templates: time 0.01851/0.4728, allocations: 6.516 MB / 395.2 MB, free: 6.621 MB / 302.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/CauerLowPassOPV/CauerLowPassOPV.csv","../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches