Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001667/0.001667, allocations: 113.2 kB / 17.73 MB, free: 5.336 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.001832/0.001832, allocations: 180.2 kB / 18.66 MB, free: 4.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.58/1.58, allocations: 205.1 MB / 224.5 MB, free: 12.24 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001159/0.001159, allocations: 47.92 kB / 328.6 MB, free: 3.246 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1093/0.1105, allocations: 46.62 MB / 375.2 MB, free: 4.52 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.2355/0.346, allocations: 5.695 MB / 380.9 MB, free: 10.26 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00228/0.3483, allocations: 1.198 MB / 382.1 MB, free: 10.16 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000417/0.3488, allocations: 17.94 kB / 382.1 MB, free: 10.16 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00039/0.3493, allocations: 171.6 kB / 382.3 MB, free: 10.07 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005843/0.3498, allocations: 286.4 kB / 382.5 MB, free: 9.934 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005364/0.3504, allocations: 219.2 kB / 382.8 MB, free: 9.926 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001374/0.3518, allocations: 1.07 MB / 383.8 MB, free: 9.391 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008656/0.3527, allocations: 0.5139 MB / 384.3 MB, free: 9.145 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006276/0.3533, allocations: 413 kB / 384.7 MB, free: 8.957 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006335/0.3539, allocations: 482.4 kB / 385.2 MB, free: 8.711 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001599/0.3541, allocations: 97.62 kB / 385.3 MB, free: 8.711 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001807/0.3543, allocations: 102.4 kB / 385.4 MB, free: 8.707 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001849/0.3545, allocations: 218 kB / 385.6 MB, free: 8.559 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005057/0.355, allocations: 0.4998 MB / 386.1 MB, free: 8.266 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001365/0.3564, allocations: 1.102 MB / 387.2 MB, free: 7.859 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.3564, allocations: 1.656 kB / 387.2 MB, free: 7.859 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.3564, allocations: 0 / 387.2 MB, free: 7.859 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.506e-05/0.3564, allocations: 0 / 387.2 MB, free: 7.859 MB / 318.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.002256/0.3587, allocations: 1.242 MB / 388.5 MB, free: 7.051 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.862e-05/0.3587, allocations: 10.47 kB / 388.5 MB, free: 7.051 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002064/0.3589, allocations: 105.2 kB / 388.6 MB, free: 7 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000673/0.3596, allocations: 458 kB / 389 MB, free: 6.648 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.189e-05/0.3597, allocations: 71.38 kB / 389.1 MB, free: 6.617 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001485/0.3599, allocations: 94.06 kB / 389.2 MB, free: 6.586 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00168/0.3616, allocations: 0.87 MB / 390.1 MB, free: 6.191 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.399e-05/0.3616, allocations: 5.016 kB / 390.1 MB, free: 6.191 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.843e-05/0.3617, allocations: 42.73 kB / 390.1 MB, free: 6.16 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.918e-05/0.3617, allocations: 23.09 kB / 390.1 MB, free: 6.16 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001089/0.3628, allocations: 0.5742 MB / 390.7 MB, free: 5.953 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0048/0.3676, allocations: 2.946 MB / 393.7 MB, free: 4.191 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004995/0.3681, allocations: 298.7 kB / 393.9 MB, free: 4.062 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005353/0.3687, allocations: 274.1 kB / 394.2 MB, free: 3.957 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.291e-05/0.3687, allocations: 5.688 kB / 394.2 MB, free: 3.957 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.289e-05/0.3688, allocations: 42 kB / 394.3 MB, free: 3.91 MB / 318.1 MB Notification: Performance of pre-optimization done (n=42): time 2.595e-06/0.3688, allocations: 0 / 394.3 MB, free: 3.91 MB / 318.1 MB Notification: Performance of matching and sorting (n=42): time 0.001662/0.3705, allocations: 0.6508 MB / 394.9 MB, free: 3.586 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.32e-05/0.3705, allocations: 56.84 kB / 395 MB, free: 3.523 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008143/0.3713, allocations: 0.5179 MB / 395.5 MB, free: 3.266 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.583e-05/0.3714, allocations: 36.08 kB / 395.5 MB, free: 3.227 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003457/0.3717, allocations: 489.5 kB / 396 MB, free: 2.844 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000123/0.3719, allocations: 157.4 kB / 396.2 MB, free: 2.727 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002237/0.3721, allocations: 133.8 kB / 396.3 MB, free: 2.652 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001487/0.3722, allocations: 365.4 kB / 396.6 MB, free: 2.316 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003353/0.3726, allocations: 170.7 kB / 396.8 MB, free: 2.254 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005365/0.3731, allocations: 456.8 kB / 397.3 MB, free: 1.824 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007959/0.3739, allocations: 0.6499 MB / 397.9 MB, free: 1.273 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.303e-06/0.374, allocations: 2.531 kB / 397.9 MB, free: 1.273 MB / 318.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.00131/0.3753, allocations: 0.7587 MB / 398.7 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.077e-05/0.3753, allocations: 9.312 kB / 398.7 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.85e-05/0.3753, allocations: 10.28 kB / 398.7 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003526/0.3757, allocations: 81.83 kB / 398.8 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007684/0.3765, allocations: 201.1 kB / 399 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002199/0.3787, allocations: 2 MB / 401 MB, free: 15.11 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006445/0.3793, allocations: 89.64 kB / 401 MB, free: 15.05 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.239e-05/0.3794, allocations: 36.28 kB / 401.1 MB, free: 15.04 MB / 334.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.0003713/0.3798, allocations: 215.8 kB / 401.3 MB, free: 14.86 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001615/0.38, allocations: 57.59 kB / 401.3 MB, free: 14.83 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001236/0.3801, allocations: 62.64 kB / 401.4 MB, free: 14.79 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.885e-06/0.3801, allocations: 4.125 kB / 401.4 MB, free: 14.79 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.632e-05/0.3801, allocations: 6.688 kB / 401.4 MB, free: 14.79 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.194e-06/0.3801, allocations: 2.062 kB / 401.4 MB, free: 14.79 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001046/0.3812, allocations: 0.6468 MB / 402.1 MB, free: 14.41 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.3812, allocations: 1.094 kB / 402.1 MB, free: 14.41 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004621/0.3817, allocations: 105.4 kB / 402.2 MB, free: 14.4 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002286/0.3819, allocations: 72.88 kB / 402.2 MB, free: 14.38 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.813e-05/0.382, allocations: 6.125 kB / 402.3 MB, free: 14.38 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002031/0.384, allocations: 1.987 MB / 404.2 MB, free: 12.6 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.384, allocations: 0 / 404.2 MB, free: 12.6 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001233/0.3852, allocations: 0.6615 MB / 404.9 MB, free: 12.24 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001751/0.3854, allocations: 139.1 kB / 405 MB, free: 12.1 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.689e-05/0.3855, allocations: 10.25 kB / 405 MB, free: 12.09 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004168/0.3859, allocations: 46.62 kB / 405.1 MB, free: 12.09 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.641e-05/0.386, allocations: 26.72 kB / 405.1 MB, free: 12.08 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.289e-05/0.3861, allocations: 13.28 kB / 405.1 MB, free: 12.08 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0005211/0.3866, allocations: 347.9 kB / 405.5 MB, free: 11.91 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3866, allocations: 3.938 kB / 405.5 MB, free: 11.91 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001091/0.3877, allocations: 240.2 kB / 405.7 MB, free: 11.86 MB / 334.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.0001865/0.3879, allocations: 114.9 kB / 405.8 MB, free: 11.76 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001342/0.3893, allocations: 0.6004 MB / 406.4 MB, free: 11.47 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.217e-06/0.3893, allocations: 0.9062 kB / 406.4 MB, free: 11.47 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000549/0.3898, allocations: 319.2 kB / 406.7 MB, free: 11.28 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006034/0.3905, allocations: 117.3 kB / 406.8 MB, free: 11.24 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002524/0.393, allocations: 1.387 MB / 408.2 MB, free: 10.41 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005217/0.3935, allocations: 0.9286 MB / 409.2 MB, free: 9.609 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.000288/0.3938, allocations: 68.66 kB / 409.2 MB, free: 9.57 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001047/0.3939, allocations: 38.91 kB / 409.3 MB, free: 9.562 MB / 334.1 MB Notification: Performance of SimCode: time 7.92e-07/0.3939, allocations: 1.406 kB / 409.3 MB, free: 9.562 MB / 334.1 MB Notification: Performance of Templates: time 0.01715/0.4111, allocations: 7.294 MB / 416.6 MB, free: 5.035 MB / 334.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/CauerLowPassOPV/CauerLowPassOPV.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches