Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001439/0.001439, allocations: 104.1 kB / 17.32 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001561/0.001561, allocations: 209.8 kB / 18.26 MB, free: 5.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.636/1.636, allocations: 227.4 MB / 246.4 MB, free: 10.79 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 71.28 kB / 306.6 MB, free: 0.8281 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1159/0.1172, allocations: 50.53 MB / 357.1 MB, free: 14.31 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog): time 0.005936/0.1232, allocations: 2.87 MB / 360 MB, free: 11.42 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001726/0.1249, allocations: 0.6428 MB / 360.6 MB, free: 10.77 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003601/0.1253, allocations: 4 kB / 360.6 MB, free: 10.77 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002904/0.1257, allocations: 35.69 kB / 360.6 MB, free: 10.73 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004476/0.1261, allocations: 83.38 kB / 360.7 MB, free: 10.65 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003371/0.1265, allocations: 59.95 kB / 360.8 MB, free: 10.59 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005851/0.1271, allocations: 350.9 kB / 361.1 MB, free: 10.25 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003145/0.1274, allocations: 139.4 kB / 361.3 MB, free: 10.11 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000211/0.1276, allocations: 127.6 kB / 361.4 MB, free: 9.984 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003038/0.128, allocations: 159.3 kB / 361.5 MB, free: 9.828 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.061e-05/0.1281, allocations: 32 kB / 361.6 MB, free: 9.797 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.772e-05/0.1282, allocations: 35.94 kB / 361.6 MB, free: 9.762 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.271e-05/0.1282, allocations: 59.83 kB / 361.7 MB, free: 9.703 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002204/0.1285, allocations: 163.2 kB / 361.8 MB, free: 9.543 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004495/0.1289, allocations: 363 kB / 362.2 MB, free: 9.188 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.1289, allocations: 0 / 362.2 MB, free: 9.188 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.435e-06/0.1289, allocations: 0 / 362.2 MB, free: 9.188 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.572e-05/0.129, allocations: 0 / 362.2 MB, free: 9.188 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: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.001278/0.1303, allocations: 0.6003 MB / 362.8 MB, free: 8.539 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.354e-05/0.1303, allocations: 11.97 kB / 362.8 MB, free: 8.527 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001039/0.1304, allocations: 66.72 kB / 362.9 MB, free: 8.453 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.749e-05/0.1305, allocations: 32.56 kB / 362.9 MB, free: 8.422 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000441/0.131, allocations: 255.8 kB / 363.1 MB, free: 8.133 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.952e-05/0.131, allocations: 20.94 kB / 363.2 MB, free: 8.109 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.219e-05/0.1311, allocations: 40.27 kB / 363.2 MB, free: 8.07 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005573/0.1317, allocations: 249 kB / 363.4 MB, free: 7.824 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.383e-05/0.1317, allocations: 0 / 363.4 MB, free: 7.824 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.416e-05/0.1317, allocations: 12 kB / 363.4 MB, free: 7.812 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.641e-05/0.1318, allocations: 4 kB / 363.5 MB, free: 7.809 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000388/0.1322, allocations: 186.2 kB / 363.6 MB, free: 7.629 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001891/0.1341, allocations: 1.017 MB / 364.7 MB, free: 6.531 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005105/0.1346, allocations: 328.8 kB / 365 MB, free: 6.164 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002597/0.1349, allocations: 148.8 kB / 365.1 MB, free: 6.016 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.542e-05/0.1349, allocations: 7.938 kB / 365.1 MB, free: 6.008 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.41e-05/0.1349, allocations: 30.56 kB / 365.2 MB, free: 5.969 MB / 302.1 MB Notification: Performance of pre-optimization done (n=21): time 2.064e-06/0.1349, allocations: 0 / 365.2 MB, free: 5.969 MB / 302.1 MB Notification: Performance of matching and sorting (n=25): time 0.00174/0.1367, allocations: 0.7799 MB / 365.9 MB, free: 5.137 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.119e-05/0.1368, allocations: 51.41 kB / 366 MB, free: 5.074 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002153/0.137, allocations: 194.1 kB / 366.2 MB, free: 4.871 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.238e-05/0.137, allocations: 33.7 kB / 366.2 MB, free: 4.832 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001218/0.1372, allocations: 168.2 kB / 366.4 MB, free: 4.66 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.304e-05/0.1373, allocations: 90.75 kB / 366.5 MB, free: 4.57 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.948e-05/0.1374, allocations: 45.98 kB / 366.5 MB, free: 4.52 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001438/0.1375, allocations: 334.8 kB / 366.8 MB, free: 4.184 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001514/0.1377, allocations: 76.52 kB / 366.9 MB, free: 4.109 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001479/0.1378, allocations: 91.66 kB / 367 MB, free: 4.016 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002937/0.1381, allocations: 186.1 kB / 367.2 MB, free: 3.828 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.1381, allocations: 0 / 367.2 MB, free: 3.828 MB / 302.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005857/0.1387, allocations: 318 kB / 367.5 MB, free: 3.508 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.1388, allocations: 8 kB / 367.5 MB, free: 3.5 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.1388, allocations: 3.938 kB / 367.5 MB, free: 3.496 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002874/0.1391, allocations: 88.78 kB / 367.6 MB, free: 3.406 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001793/0.1393, allocations: 43.92 kB / 367.6 MB, free: 3.363 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002332/0.1416, allocations: 2.103 MB / 369.7 MB, free: 1.121 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001296/0.1417, allocations: 7.938 kB / 369.7 MB, free: 1.113 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.983e-05/0.1418, allocations: 12.03 kB / 369.8 MB, free: 1.102 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 (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.000166/0.1419, allocations: 141.7 kB / 369.9 MB, free: 0.9531 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.462e-05/0.142, allocations: 15.81 kB / 369.9 MB, free: 0.9375 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.804e-05/0.1421, allocations: 29.92 kB / 369.9 MB, free: 0.9141 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.1421, allocations: 8 kB / 369.9 MB, free: 0.9062 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.157e-06/0.1421, allocations: 4 kB / 369.9 MB, free: 0.9023 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.1421, allocations: 3.938 kB / 370 MB, free: 0.8984 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001109/0.1432, allocations: 0.745 MB / 370.7 MB, free: 96 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.1432, allocations: 0 / 370.7 MB, free: 96 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001822/0.1434, allocations: 43.91 kB / 370.7 MB, free: 52 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.2333/0.3767, allocations: 63.11 kB / 370.8 MB, free: 20.02 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.636e-05/0.3768, allocations: 9.266 kB / 370.8 MB, free: 20.02 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001726/0.3785, allocations: 1.982 MB / 372.8 MB, free: 18.55 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.3785, allocations: 0 / 372.8 MB, free: 18.55 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006725/0.3792, allocations: 465.1 kB / 373.2 MB, free: 18.41 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.492e-05/0.3793, allocations: 97.95 kB / 373.3 MB, free: 18.31 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.009e-05/0.3793, allocations: 6.422 kB / 373.3 MB, free: 18.31 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001706/0.3795, allocations: 17.44 kB / 373.4 MB, free: 18.31 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.846e-05/0.3796, allocations: 16.2 kB / 373.4 MB, free: 18.31 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.757e-05/0.3796, allocations: 9.906 kB / 373.4 MB, free: 18.31 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001206/0.3797, allocations: 140.5 kB / 373.5 MB, free: 18.24 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3797, allocations: 3.75 kB / 373.5 MB, free: 18.24 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004402/0.3802, allocations: 79.56 kB / 373.6 MB, free: 18.24 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 (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.0008042/0.381, allocations: 0.9974 MB / 374.6 MB, free: 17.56 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006713/0.3817, allocations: 372.8 kB / 375 MB, free: 17.44 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.3817, allocations: 0 / 375 MB, free: 17.44 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003945/0.3821, allocations: 263.5 kB / 375.2 MB, free: 17.29 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004057/0.3825, allocations: 42.36 kB / 375.3 MB, free: 17.27 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003223/0.3857, allocations: 2.955 MB / 378.2 MB, free: 15.28 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002224/0.386, allocations: 0.7661 MB / 379 MB, free: 14.57 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001009/0.3861, allocations: 20.44 kB / 379 MB, free: 14.57 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001051/0.3862, allocations: 89.38 kB / 379.1 MB, free: 14.5 MB / 302.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3862, allocations: 0 / 379.1 MB, free: 14.5 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02423/0.4104, allocations: 5.583 MB / 384.7 MB, free: 13.96 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002266/0.4107, allocations: 226.5 kB / 384.9 MB, free: 13.71 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.068/2.479, allocations: 1.625 kB / 384.9 MB, free: 13.71 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/CauerLowPassAnalog/CauerLowPassAnalog.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches