Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001202/0.001202, allocations: 123.4 kB / 17.79 MB, free: 5.246 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001305/0.001305, allocations: 208.3 kB / 20.75 MB, free: 2.297 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.429/1.429, allocations: 230.6 MB / 254.1 MB, free: 15.07 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00153/0.00153, allocations: 55.92 kB / 373 MB, free: 10.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1131/0.1147, allocations: 53.32 MB / 426.3 MB, free: 4.746 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog): time 0.00431/0.119, allocations: 2.852 MB / 429.2 MB, free: 1.879 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00127/0.1202, allocations: 0.6427 MB / 429.8 MB, free: 1.23 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001349/0.1204, allocations: 4 kB / 429.8 MB, free: 1.227 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001739/0.1205, allocations: 47.5 kB / 429.9 MB, free: 1.18 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002061/0.1207, allocations: 95.17 kB / 430 MB, free: 1.086 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002181/0.121, allocations: 83.83 kB / 430 MB, free: 1.004 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003954/0.1214, allocations: 346.9 kB / 430.4 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002522/0.1216, allocations: 107.4 kB / 430.5 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001659/0.1218, allocations: 135.5 kB / 430.6 MB, free: 432 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000228/0.122, allocations: 147.4 kB / 430.8 MB, free: 284 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.083e-05/0.1221, allocations: 32 kB / 430.8 MB, free: 252 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.332e-05/0.1221, allocations: 35.94 kB / 430.8 MB, free: 216 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.909e-05/0.1222, allocations: 71.75 kB / 430.9 MB, free: 144 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.2204/0.3426, allocations: 155 kB / 431.1 MB, free: 8.074 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006412/0.3432, allocations: 357.6 kB / 431.4 MB, free: 8.051 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.3433, allocations: 0 / 431.4 MB, free: 8.051 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.3433, allocations: 0.9688 kB / 431.4 MB, free: 8.051 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.906e-06/0.3433, allocations: 0 / 431.4 MB, free: 8.051 MB / 350.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.0009011/0.3442, allocations: 0.5988 MB / 432 MB, free: 7.602 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.908e-05/0.3442, allocations: 9.5 kB / 432 MB, free: 7.602 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.583e-05/0.3443, allocations: 66.23 kB / 432.1 MB, free: 7.562 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.84e-05/0.3444, allocations: 39.55 kB / 432.1 MB, free: 7.547 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000387/0.3447, allocations: 258 kB / 432.4 MB, free: 7.324 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.961e-05/0.3448, allocations: 21.88 kB / 432.4 MB, free: 7.324 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.195e-05/0.3448, allocations: 26.53 kB / 432.4 MB, free: 7.324 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004461/0.3453, allocations: 251.5 kB / 432.7 MB, free: 7.285 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/0.3453, allocations: 0 / 432.7 MB, free: 7.285 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.737e-05/0.3453, allocations: 14.31 kB / 432.7 MB, free: 7.285 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.17e-05/0.3453, allocations: 6.406 kB / 432.7 MB, free: 7.285 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003446/0.3457, allocations: 184.7 kB / 432.9 MB, free: 7.285 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001284/0.347, allocations: 1.023 MB / 433.9 MB, free: 6.824 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003248/0.3473, allocations: 319 kB / 434.2 MB, free: 6.613 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001969/0.3475, allocations: 128.8 kB / 434.3 MB, free: 6.605 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.522e-05/0.3475, allocations: 2.219 kB / 434.3 MB, free: 6.605 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.414e-05/0.3475, allocations: 37.03 kB / 434.4 MB, free: 6.566 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.273e-06/0.3475, allocations: 0 / 434.4 MB, free: 6.566 MB / 350.1 MB Notification: Performance of matching and sorting (n=25): time 0.001356/0.3489, allocations: 0.779 MB / 435.1 MB, free: 6.238 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.651e-05/0.3489, allocations: 54.12 kB / 435.2 MB, free: 6.176 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001668/0.3491, allocations: 194.5 kB / 435.4 MB, free: 6.07 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.738e-05/0.3491, allocations: 31.77 kB / 435.4 MB, free: 6.039 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.377e-05/0.3492, allocations: 170.4 kB / 435.6 MB, free: 5.914 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.084e-05/0.3492, allocations: 100.1 kB / 435.7 MB, free: 5.852 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.4e-05/0.3493, allocations: 43.72 kB / 435.7 MB, free: 5.836 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.124e-05/0.3494, allocations: 342.3 kB / 436.1 MB, free: 5.52 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001327/0.3495, allocations: 72.56 kB / 436.1 MB, free: 5.52 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001607/0.3496, allocations: 101.7 kB / 436.2 MB, free: 5.5 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002832/0.3499, allocations: 179.8 kB / 436.4 MB, free: 5.48 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.3499, allocations: 1.125 kB / 436.4 MB, free: 5.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005372/0.3505, allocations: 315.5 kB / 436.7 MB, free: 5.418 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.921e-05/0.3505, allocations: 6.906 kB / 436.7 MB, free: 5.418 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.3505, allocations: 0.9375 kB / 436.7 MB, free: 5.418 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002884/0.3508, allocations: 89.62 kB / 436.8 MB, free: 5.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001875/0.351, allocations: 45.12 kB / 436.9 MB, free: 5.41 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001729/0.3527, allocations: 2.093 MB / 438.9 MB, free: 3.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001185/0.3528, allocations: 13.44 kB / 439 MB, free: 3.832 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.579e-05/0.3528, allocations: 6.125 kB / 439 MB, free: 3.832 MB / 350.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 (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 {(2,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001073/0.3529, allocations: 141 kB / 439.1 MB, free: 3.699 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.599e-05/0.353, allocations: 22.73 kB / 439.1 MB, free: 3.688 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.823e-05/0.353, allocations: 27.91 kB / 439.1 MB, free: 3.668 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.826e-06/0.353, allocations: 5.938 kB / 439.2 MB, free: 3.664 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.787e-06/0.353, allocations: 5.438 kB / 439.2 MB, free: 3.664 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.3531, allocations: 5.203 kB / 439.2 MB, free: 3.66 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009985/0.3541, allocations: 0.737 MB / 439.9 MB, free: 3.184 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.3541, allocations: 0 / 439.9 MB, free: 3.184 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001835/0.3542, allocations: 45.19 kB / 439.9 MB, free: 3.176 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002092/0.3544, allocations: 74.3 kB / 440 MB, free: 3.152 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.822e-05/0.3545, allocations: 7.047 kB / 440 MB, free: 3.148 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001457/0.3559, allocations: 1.988 MB / 442 MB, free: 1.387 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.3559, allocations: 6.703 kB / 442 MB, free: 1.383 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006208/0.3565, allocations: 454.1 kB / 442.5 MB, free: 1.121 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.519e-05/0.3566, allocations: 99.14 kB / 442.6 MB, free: 1.012 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.719e-05/0.3566, allocations: 11.39 kB / 442.6 MB, free: 1.008 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001647/0.3568, allocations: 17.23 kB / 442.6 MB, free: 1 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.148e-05/0.3568, allocations: 16.55 kB / 442.6 MB, free: 1 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.651e-05/0.3569, allocations: 11 kB / 442.6 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001109/0.357, allocations: 141.4 kB / 442.8 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.357, allocations: 1.5 kB / 442.8 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000429/0.3574, allocations: 75.19 kB / 442.8 MB, free: 0.8945 MB / 350.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 (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.0008216/0.3582, allocations: 0.9939 MB / 443.8 MB, free: 104 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007682/0.359, allocations: 361.3 kB / 444.2 MB, free: 15.9 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.359, allocations: 5.031 kB / 444.2 MB, free: 15.89 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004775/0.3595, allocations: 255.8 kB / 444.4 MB, free: 15.73 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00038/0.3598, allocations: 41.55 kB / 444.5 MB, free: 15.71 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003956/0.3638, allocations: 2.821 MB / 447.3 MB, free: 13.8 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004705/0.3643, allocations: 0.7698 MB / 448.1 MB, free: 13.09 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.682e-05/0.3644, allocations: 23.16 kB / 448.1 MB, free: 13.09 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001381/0.3645, allocations: 86.33 kB / 448.2 MB, free: 13.02 MB / 366.1 MB Notification: Performance of SimCode: time 8.12e-07/0.3645, allocations: 0 / 448.2 MB, free: 13.02 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03563/0.4001, allocations: 5.839 MB / 454 MB, free: 12.34 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.674/10.07, allocations: 10.25 kB / 454 MB, free: 12.33 MB / 366.1 MB " [Timeout remaining time 650] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog_fmu --startTime=0 --stopTime=60 --stepSize=0.0119904 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog.fmu > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/CauerLowPassAnalog/CauerLowPassAnalog.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 12.496536190155894]