Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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 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: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000744/0.000744, allocations: 95.17 kB / 17.3 MB, free: 6.344 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.0007804/0.0007805, allocations: 177.1 kB / 18.2 MB, free: 5.531 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.373/1.373, allocations: 205.4 MB / 224.4 MB, free: 13.07 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.0004164/0.0004163, allocations: 12 kB / 281.5 MB, free: 3.328 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09532/0.09575, allocations: 47.59 MB / 329.1 MB, free: 3.664 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog): time 0.002703/0.09849, allocations: 2.437 MB / 331.5 MB, free: 1.207 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009706/0.09948, allocations: 0.6476 MB / 332.1 MB, free: 0.5508 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001175/0.09961, allocations: 7.938 kB / 332.1 MB, free: 0.543 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001276/0.09975, allocations: 31.75 kB / 332.2 MB, free: 0.5117 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001713/0.09993, allocations: 87.31 kB / 332.3 MB, free: 436 kB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001776/0.1001, allocations: 59.94 kB / 332.3 MB, free: 376 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003223/0.1004, allocations: 334.9 kB / 332.7 MB, free: 40 kB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002356/0.1007, allocations: 127.5 kB / 332.8 MB, free: 15.91 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001238/0.1008, allocations: 107.5 kB / 332.9 MB, free: 15.81 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001598/0.101, allocations: 127.4 kB / 333 MB, free: 15.68 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.785e-05/0.101, allocations: 16 kB / 333 MB, free: 15.67 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.691e-05/0.1011, allocations: 16 kB / 333 MB, free: 15.65 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.055e-05/0.1011, allocations: 63.69 kB / 333.1 MB, free: 15.59 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000142/0.1013, allocations: 161 kB / 333.3 MB, free: 15.43 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002864/0.1016, allocations: 334.9 kB / 333.6 MB, free: 15.1 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.1016, allocations: 0 / 333.6 MB, free: 15.1 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.1016, allocations: 0 / 333.6 MB, free: 15.1 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.482e-06/0.1016, allocations: 4 kB / 333.6 MB, free: 15.09 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.0007688/0.1024, allocations: 0.5419 MB / 334.1 MB, free: 14.5 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.1024, allocations: 8.031 kB / 334.1 MB, free: 14.5 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.172e-05/0.1025, allocations: 70.72 kB / 334.2 MB, free: 14.42 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.507e-05/0.1026, allocations: 32.66 kB / 334.2 MB, free: 14.39 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002562/0.1028, allocations: 255.7 kB / 334.5 MB, free: 14.1 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.031e-05/0.1029, allocations: 24.88 kB / 334.5 MB, free: 14.07 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.161e-05/0.1029, allocations: 28.38 kB / 334.5 MB, free: 14.05 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004142/0.1034, allocations: 253 kB / 334.8 MB, free: 13.79 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.1034, allocations: 0 / 334.8 MB, free: 13.79 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.695e-05/0.1034, allocations: 16 kB / 334.8 MB, free: 13.78 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.977e-06/0.1034, allocations: 8 kB / 334.8 MB, free: 13.77 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003232/0.1037, allocations: 190.1 kB / 335 MB, free: 13.59 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001391/0.1051, allocations: 1.029 MB / 336 MB, free: 12.48 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003933/0.1056, allocations: 336.9 kB / 336.4 MB, free: 12.1 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002126/0.1058, allocations: 140.8 kB / 336.5 MB, free: 11.96 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.673e-05/0.1058, allocations: 4 kB / 336.5 MB, free: 11.96 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.594e-05/0.1058, allocations: 34.56 kB / 336.5 MB, free: 11.91 MB / 286.1 MB Notification: Performance of pre-optimization done (n=21): time 1.182e-06/0.1058, allocations: 4 kB / 336.5 MB, free: 11.91 MB / 286.1 MB Notification: Performance of matching and sorting (n=25): time 0.001375/0.1072, allocations: 0.7792 MB / 337.3 MB, free: 11.07 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.192e-05/0.1073, allocations: 55.41 kB / 337.4 MB, free: 11.01 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001782/0.1075, allocations: 194.2 kB / 337.6 MB, free: 10.8 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.527e-05/0.1075, allocations: 33.7 kB / 337.6 MB, free: 10.77 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.504e-05/0.1076, allocations: 160.3 kB / 337.7 MB, free: 10.61 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.377e-05/0.1077, allocations: 98.64 kB / 337.8 MB, free: 10.51 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.798e-05/0.1077, allocations: 29.7 kB / 337.9 MB, free: 10.47 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000132/0.1079, allocations: 330.8 kB / 338.2 MB, free: 10.14 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001445/0.108, allocations: 80.52 kB / 338.3 MB, free: 10.06 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001423/0.1082, allocations: 98.81 kB / 338.4 MB, free: 9.961 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002751/0.1085, allocations: 185.6 kB / 338.5 MB, free: 9.773 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.1085, allocations: 0 / 338.5 MB, free: 9.773 MB / 286.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005027/0.109, allocations: 322 kB / 338.9 MB, free: 9.449 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.109, allocations: 7.984 kB / 338.9 MB, free: 9.441 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.109, allocations: 0 / 338.9 MB, free: 9.441 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002611/0.1093, allocations: 92.84 kB / 339 MB, free: 9.348 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001701/0.1095, allocations: 47.86 kB / 339 MB, free: 9.301 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001821/0.1113, allocations: 1.89 MB / 340.9 MB, free: 7.277 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001124/0.1114, allocations: 12.02 kB / 340.9 MB, free: 7.266 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.558e-05/0.1114, allocations: 8.109 kB / 340.9 MB, free: 7.258 MB / 286.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.0001209/0.1116, allocations: 155.8 kB / 341.1 MB, free: 7.098 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.236e-05/0.1116, allocations: 15.81 kB / 341.1 MB, free: 7.082 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.027e-05/0.1117, allocations: 25.88 kB / 341.1 MB, free: 7.059 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/0.1117, allocations: 4 kB / 341.1 MB, free: 7.055 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.203e-06/0.1117, allocations: 0 / 341.1 MB, free: 7.055 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.1117, allocations: 3.984 kB / 341.1 MB, free: 7.051 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009593/0.1127, allocations: 0.7602 MB / 341.9 MB, free: 6.23 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.1127, allocations: 0 / 341.9 MB, free: 6.23 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001685/0.1128, allocations: 47.86 kB / 341.9 MB, free: 6.184 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001703/0.113, allocations: 68.8 kB / 342 MB, free: 6.113 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.772e-05/0.1131, allocations: 12 kB / 342 MB, free: 6.102 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001486/0.1145, allocations: 1.78 MB / 343.8 MB, free: 4.188 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1146, allocations: 4 kB / 343.8 MB, free: 4.184 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000608/0.1152, allocations: 475.7 kB / 344.3 MB, free: 3.699 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.071e-05/0.1152, allocations: 92.91 kB / 344.3 MB, free: 3.59 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.701e-05/0.1153, allocations: 4.062 kB / 344.3 MB, free: 3.586 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001597/0.1154, allocations: 23.98 kB / 344.4 MB, free: 3.562 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.78e-05/0.1155, allocations: 23.91 kB / 344.4 MB, free: 3.539 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.185e-05/0.1155, allocations: 4 kB / 344.4 MB, free: 3.535 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001114/0.1156, allocations: 148.3 kB / 344.5 MB, free: 3.391 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1157, allocations: 0 / 344.5 MB, free: 3.391 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003855/0.116, allocations: 80 kB / 344.6 MB, free: 3.312 MB / 286.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.0009069/0.117, allocations: 1.002 MB / 345.6 MB, free: 2.281 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0006162/0.1176, allocations: 370.4 kB / 346 MB, free: 1.906 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.1176, allocations: 4 kB / 346 MB, free: 1.902 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003922/0.118, allocations: 258.5 kB / 346.2 MB, free: 1.637 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00039/0.1184, allocations: 44.05 kB / 346.3 MB, free: 1.594 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003335/0.1217, allocations: 3.054 MB / 349.3 MB, free: 14.45 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003122/0.1221, allocations: 0.7713 MB / 350.1 MB, free: 13.65 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.49e-05/0.1222, allocations: 22.3 kB / 350.1 MB, free: 13.63 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001041/0.1223, allocations: 79.41 kB / 350.2 MB, free: 13.55 MB / 302.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1223, allocations: 0 / 350.2 MB, free: 13.55 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01592/0.1382, allocations: 5.286 MB / 355.5 MB, free: 8.266 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002/0.1384, allocations: 229.7 kB / 355.7 MB, free: 8.008 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.942/2.081, allocations: 0 / 355.7 MB, free: 8.008 MB / 302.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/CauerLowPassAnalog/CauerLowPassAnalog.csv","../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches