Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.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.CauerLowPassAnalog,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|C1.v|C3.v|C5.v|L1.i|L2.i",fileNamePrefix="Modelica_4.0.0_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.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001042/0.001042, allocations: 87.88 kB / 16.31 MB, free: 6.453 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.001629/0.001629, allocations: 178.3 kB / 17.21 MB, free: 6.328 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.754/1.754, allocations: 223.3 MB / 241.2 MB, free: 5.441 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003168/0.0003168, allocations: 7.969 kB / 300.8 MB, free: 6.031 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1285/0.1289, allocations: 50.43 MB / 351.2 MB, free: 11.73 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog): time 0.003265/0.1322, allocations: 2.374 MB / 353.6 MB, free: 9.344 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009694/0.1332, allocations: 0.5963 MB / 354.2 MB, free: 8.742 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001241/0.1333, allocations: 4 kB / 354.2 MB, free: 8.738 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001379/0.1335, allocations: 39.75 kB / 354.3 MB, free: 8.699 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001488/0.1336, allocations: 75.36 kB / 354.3 MB, free: 8.625 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001748/0.1338, allocations: 55.95 kB / 354.4 MB, free: 8.57 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003114/0.1341, allocations: 323 kB / 354.7 MB, free: 8.254 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002247/0.1344, allocations: 98.42 kB / 354.8 MB, free: 8.152 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001237/0.1345, allocations: 111.6 kB / 354.9 MB, free: 8.043 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001996/0.1347, allocations: 127.4 kB / 355 MB, free: 7.918 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.184e-05/0.1348, allocations: 16 kB / 355 MB, free: 7.902 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.252e-05/0.1348, allocations: 16 kB / 355.1 MB, free: 7.887 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.859e-05/0.1349, allocations: 47.83 kB / 355.1 MB, free: 7.84 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7e-05/0.135, allocations: 85.52 kB / 355.2 MB, free: 7.75 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002584/0.1352, allocations: 259.2 kB / 355.4 MB, free: 7.496 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.1352, allocations: 0 / 355.4 MB, free: 7.496 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1352, allocations: 3.938 kB / 355.4 MB, free: 7.492 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.761e-06/0.1352, allocations: 0 / 355.4 MB, free: 7.492 MB / 286.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.0008568/0.1361, allocations: 0.5495 MB / 356 MB, free: 6.895 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.1362, allocations: 8.031 kB / 356 MB, free: 6.887 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001028/0.1363, allocations: 39.58 kB / 356 MB, free: 6.848 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000297/0.1366, allocations: 250.5 kB / 356.3 MB, free: 6.562 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.138e-05/0.1366, allocations: 24.56 kB / 356.3 MB, free: 6.539 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.02e-05/0.1367, allocations: 28 kB / 356.3 MB, free: 6.512 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004451/0.1371, allocations: 244.9 kB / 356.6 MB, free: 6.27 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.1371, allocations: 4 kB / 356.6 MB, free: 6.266 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.772e-05/0.1372, allocations: 12 kB / 356.6 MB, free: 6.254 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.374e-05/0.1372, allocations: 11.95 kB / 356.6 MB, free: 6.242 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003354/0.1375, allocations: 186.2 kB / 356.8 MB, free: 6.059 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001485/0.139, allocations: 1.018 MB / 357.8 MB, free: 4.969 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004577/0.1395, allocations: 329.5 kB / 358.1 MB, free: 4.602 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002619/0.1398, allocations: 149.2 kB / 358.3 MB, free: 4.453 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.403e-05/0.1398, allocations: 12.08 kB / 358.3 MB, free: 4.441 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.584e-05/0.1398, allocations: 34.75 kB / 358.3 MB, free: 4.398 MB / 286.1 MB Notification: Performance of pre-optimization done (n=21): time 5.34e-06/0.1399, allocations: 4 kB / 358.3 MB, free: 4.395 MB / 286.1 MB Notification: Performance of matching and sorting (n=25): time 0.001728/0.1416, allocations: 0.7845 MB / 359.1 MB, free: 3.559 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.595e-05/0.1417, allocations: 51.41 kB / 359.2 MB, free: 3.496 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002364/0.1419, allocations: 194.2 kB / 359.3 MB, free: 3.293 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.863e-05/0.1419, allocations: 29.7 kB / 359.4 MB, free: 3.258 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001493/0.1421, allocations: 176.2 kB / 359.5 MB, free: 3.082 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.482e-05/0.1422, allocations: 90.72 kB / 359.6 MB, free: 2.992 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.195e-05/0.1422, allocations: 4 kB / 359.6 MB, free: 2.988 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001935/0.1424, allocations: 338.8 kB / 360 MB, free: 2.648 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001447/0.1426, allocations: 72.53 kB / 360 MB, free: 2.574 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001749/0.1428, allocations: 102.7 kB / 360.1 MB, free: 2.469 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001626/0.1429, allocations: 84.52 kB / 360.2 MB, free: 2.387 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.1429, allocations: 0 / 360.2 MB, free: 2.387 MB / 286.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006091/0.1436, allocations: 326.1 kB / 360.5 MB, free: 2.059 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.267e-05/0.1436, allocations: 4 kB / 360.5 MB, free: 2.055 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.1436, allocations: 3.938 kB / 360.5 MB, free: 2.051 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002903/0.1439, allocations: 88.84 kB / 360.6 MB, free: 1.961 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001994/0.1441, allocations: 55.84 kB / 360.7 MB, free: 1.906 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002358/0.1465, allocations: 1.897 MB / 362.6 MB, free: 15.88 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001118/0.1466, allocations: 8.031 kB / 362.6 MB, free: 15.87 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.775e-05/0.1466, allocations: 16.06 kB / 362.6 MB, free: 15.85 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 (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 {(2,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001653/0.1468, allocations: 137.8 kB / 362.7 MB, free: 15.71 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.471e-05/0.1469, allocations: 15.81 kB / 362.8 MB, free: 15.69 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.233e-05/0.1469, allocations: 29.86 kB / 362.8 MB, free: 15.66 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.222e-06/0.1469, allocations: 7.953 kB / 362.8 MB, free: 15.66 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.906e-06/0.1469, allocations: 3.938 kB / 362.8 MB, free: 15.65 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.1469, allocations: 4 kB / 362.8 MB, free: 15.65 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001024/0.148, allocations: 0.741 MB / 363.5 MB, free: 14.85 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.148, allocations: 0 / 363.5 MB, free: 14.85 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001705/0.1482, allocations: 43.98 kB / 363.6 MB, free: 14.8 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002017/0.1484, allocations: 72.84 kB / 363.7 MB, free: 14.73 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.968e-05/0.1484, allocations: 11.92 kB / 363.7 MB, free: 14.72 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001695/0.1501, allocations: 1.788 MB / 365.5 MB, free: 12.8 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.055e-06/0.1501, allocations: 3.938 kB / 365.5 MB, free: 12.79 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007061/0.1509, allocations: 468.2 kB / 365.9 MB, free: 12.32 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.934e-05/0.151, allocations: 100.8 kB / 366 MB, free: 12.2 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.174e-05/0.151, allocations: 12.06 kB / 366 MB, free: 12.19 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001514/0.1512, allocations: 12 kB / 366 MB, free: 12.18 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.135e-05/0.1512, allocations: 15.97 kB / 366.1 MB, free: 12.16 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.985e-05/0.1513, allocations: 12 kB / 366.1 MB, free: 12.15 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000134/0.1514, allocations: 144.3 kB / 366.2 MB, free: 12.01 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1514, allocations: 0 / 366.2 MB, free: 12.01 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005065/0.1519, allocations: 76 kB / 366.3 MB, free: 11.93 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 (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.0001487/0.1521, allocations: 107.2 kB / 366.4 MB, free: 11.82 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006659/0.1527, allocations: 370.4 kB / 366.8 MB, free: 11.45 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.1528, allocations: 0 / 366.8 MB, free: 11.45 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003839/0.1531, allocations: 262.6 kB / 367 MB, free: 11.18 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003787/0.1535, allocations: 35.94 kB / 367 MB, free: 11.14 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001422/0.155, allocations: 0.9445 MB / 368 MB, free: 10.17 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004058/0.1554, allocations: 0.7675 MB / 368.8 MB, free: 9.379 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.936e-05/0.1555, allocations: 22.28 kB / 368.8 MB, free: 9.359 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.529e-05/0.1555, allocations: 19.44 kB / 368.8 MB, free: 9.34 MB / 302.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1555, allocations: 0 / 368.8 MB, free: 9.34 MB / 302.1 MB Notification: Performance of Templates: time 0.006751/0.1623, allocations: 2.888 MB / 371.7 MB, free: 6.469 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/CauerLowPassAnalog/CauerLowPassAnalog.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches