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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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) 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00127/0.00127, allocations: 116 kB / 17.68 MB, free: 5.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001432/0.001432, allocations: 191 kB / 18.62 MB, free: 4.457 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.491/1.491, allocations: 222.9 MB / 242.3 MB, free: 15.18 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009517/0.0009517, allocations: 51.27 kB / 302 MB, free: 5.191 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1215/0.1224, allocations: 49.44 MB / 351.5 MB, free: 3.727 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.007239/0.1297, allocations: 5.754 MB / 357.2 MB, free: 13.94 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003049/0.1328, allocations: 1.169 MB / 358.4 MB, free: 12.76 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004529/0.1333, allocations: 19.94 kB / 358.4 MB, free: 12.74 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004222/0.1338, allocations: 170.4 kB / 358.6 MB, free: 12.57 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005369/0.1343, allocations: 273.5 kB / 358.9 MB, free: 12.3 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004449/0.1348, allocations: 219.7 kB / 359.1 MB, free: 12.09 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009748/0.1358, allocations: 1.067 MB / 360.1 MB, free: 11.02 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007068/0.1365, allocations: 0.5181 MB / 360.7 MB, free: 10.48 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004064/0.1369, allocations: 418.6 kB / 361.1 MB, free: 10.07 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005465/0.1375, allocations: 474 kB / 361.5 MB, free: 9.605 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001217/0.1376, allocations: 99.94 kB / 361.6 MB, free: 9.508 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001329/0.1377, allocations: 100 kB / 361.7 MB, free: 9.41 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001748/0.1379, allocations: 211.3 kB / 361.9 MB, free: 9.203 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004701/0.1384, allocations: 0.5093 MB / 362.4 MB, free: 8.691 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009633/0.1394, allocations: 1.102 MB / 363.5 MB, free: 7.586 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.1394, allocations: 0 / 363.5 MB, free: 7.586 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.325e-06/0.1394, allocations: 0 / 363.5 MB, free: 7.586 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.149e-05/0.1394, allocations: 0 / 363.5 MB, free: 7.586 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.001883/0.1413, allocations: 1.24 MB / 364.8 MB, free: 6.297 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.1414, allocations: 12.03 kB / 364.8 MB, free: 6.285 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001656/0.1415, allocations: 103.7 kB / 364.9 MB, free: 6.184 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006543/0.1422, allocations: 459.1 kB / 365.4 MB, free: 5.691 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.392e-05/0.1422, allocations: 70.38 kB / 365.4 MB, free: 5.621 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001172/0.1424, allocations: 96.28 kB / 365.5 MB, free: 5.527 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001268/0.1436, allocations: 0.8755 MB / 366.4 MB, free: 4.629 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.838e-05/0.1437, allocations: 0 / 366.4 MB, free: 4.629 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.971e-05/0.1438, allocations: 40 kB / 366.4 MB, free: 4.59 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.993e-05/0.1438, allocations: 24 kB / 366.5 MB, free: 4.566 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009083/0.1447, allocations: 0.5661 MB / 367 MB, free: 3.996 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003933/0.1486, allocations: 2.948 MB / 370 MB, free: 0.9336 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004151/0.1491, allocations: 301.6 kB / 370.3 MB, free: 0.6328 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003505/0.1494, allocations: 264.8 kB / 370.5 MB, free: 380 kB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.53e-05/0.1495, allocations: 4 kB / 370.5 MB, free: 376 kB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.02e-05/0.1495, allocations: 39.25 kB / 370.6 MB, free: 328 kB / 302.1 MB Notification: Performance of pre-optimization done (n=42): time 1.894e-06/0.1495, allocations: 0 / 370.6 MB, free: 328 kB / 302.1 MB Notification: Performance of matching and sorting (n=42): time 0.2563/0.4058, allocations: 0.6494 MB / 371.2 MB, free: 25.28 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.491e-05/0.4059, allocations: 60.5 kB / 371.3 MB, free: 25.21 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007376/0.4066, allocations: 0.5135 MB / 371.8 MB, free: 25.1 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.754e-05/0.4067, allocations: 36.55 kB / 371.8 MB, free: 25.07 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002871/0.407, allocations: 485.7 kB / 372.3 MB, free: 24.82 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001071/0.4071, allocations: 155.2 kB / 372.4 MB, free: 24.73 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002046/0.4073, allocations: 137.7 kB / 372.6 MB, free: 24.71 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001334/0.4074, allocations: 366.7 kB / 372.9 MB, free: 24.39 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003544/0.4078, allocations: 168.4 kB / 373.1 MB, free: 24.39 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004721/0.4083, allocations: 454.6 kB / 373.5 MB, free: 24.02 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007277/0.409, allocations: 0.65 MB / 374.2 MB, free: 23.5 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.257e-06/0.409, allocations: 3.812 kB / 374.2 MB, free: 23.5 MB / 302.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001367/0.4104, allocations: 0.7654 MB / 375 MB, free: 23.17 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.569e-05/0.4105, allocations: 9.406 kB / 375 MB, free: 23.17 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.797e-05/0.4105, allocations: 13.28 kB / 375 MB, free: 23.17 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003163/0.4108, allocations: 83.39 kB / 375.1 MB, free: 23.15 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006972/0.4115, allocations: 196 kB / 375.3 MB, free: 23.13 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00178/0.4133, allocations: 2.009 MB / 377.3 MB, free: 21.34 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005824/0.4139, allocations: 92.48 kB / 377.4 MB, free: 21.28 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.058e-05/0.414, allocations: 35.38 kB / 377.4 MB, free: 21.27 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.000344/0.4143, allocations: 207.3 kB / 377.6 MB, free: 21.1 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.825e-05/0.4144, allocations: 58.36 kB / 377.7 MB, free: 21.07 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001045/0.4145, allocations: 69.84 kB / 377.7 MB, free: 21.02 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.172e-06/0.4145, allocations: 5.344 kB / 377.7 MB, free: 21.02 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.515e-05/0.4146, allocations: 5.531 kB / 377.7 MB, free: 21.02 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.391e-06/0.4146, allocations: 2.766 kB / 377.7 MB, free: 21.02 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008226/0.4154, allocations: 0.6389 MB / 378.4 MB, free: 20.66 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.4154, allocations: 1.016 kB / 378.4 MB, free: 20.66 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000408/0.4158, allocations: 100.4 kB / 378.5 MB, free: 20.65 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002285/0.4161, allocations: 76.88 kB / 378.5 MB, free: 20.62 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.062e-05/0.4161, allocations: 12.2 kB / 378.6 MB, free: 20.61 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00166/0.4178, allocations: 1.976 MB / 380.5 MB, free: 18.85 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.4178, allocations: 3.938 kB / 380.5 MB, free: 18.84 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009923/0.4188, allocations: 0.6598 MB / 381.2 MB, free: 18.49 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001297/0.4189, allocations: 135.4 kB / 381.3 MB, free: 18.36 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.101e-05/0.419, allocations: 7.438 kB / 381.3 MB, free: 18.35 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004005/0.4194, allocations: 48.7 kB / 381.4 MB, free: 18.34 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.04e-05/0.4195, allocations: 37.78 kB / 381.4 MB, free: 18.33 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.809e-05/0.4195, allocations: 8.938 kB / 381.4 MB, free: 18.33 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004087/0.4199, allocations: 346.1 kB / 381.8 MB, free: 18.16 MB / 302.1 MB Notification: Performance of sort global known variables: time 4.81e-07/0.4199, allocations: 1.062 kB / 381.8 MB, free: 18.16 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0009016/0.4209, allocations: 244.2 kB / 382 MB, free: 18.11 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.0001594/0.421, allocations: 123.5 kB / 382.1 MB, free: 18 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001042/0.4221, allocations: 0.5949 MB / 382.7 MB, free: 17.71 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.4221, allocations: 1 kB / 382.7 MB, free: 17.71 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004517/0.4225, allocations: 317.9 kB / 383 MB, free: 17.53 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005723/0.4231, allocations: 122.6 kB / 383.2 MB, free: 17.48 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002371/0.4255, allocations: 1.381 MB / 384.5 MB, free: 16.67 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000452/0.426, allocations: 0.9353 MB / 385.5 MB, free: 15.96 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002749/0.4263, allocations: 73.25 kB / 385.5 MB, free: 15.93 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.182e-05/0.4264, allocations: 38.53 kB / 385.6 MB, free: 15.93 MB / 302.1 MB Notification: Performance of SimCode: time 5.11e-07/0.4264, allocations: 1.438 kB / 385.6 MB, free: 15.93 MB / 302.1 MB Notification: Performance of Templates: time 0.0164/0.4428, allocations: 7.164 MB / 392.7 MB, free: 13.82 MB / 302.1 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 -s cvode -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/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_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches