Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) 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: "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection",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.001363/0.001369, allocations: 96.41 kB / 16.99 MB, free: 5.941 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.00175/0.00175, allocations: 181.1 kB / 17.87 MB, free: 5.609 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.35/1.35, allocations: 223.2 MB / 241.8 MB, free: 372 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2299/0.2299, allocations: 44.23 MB / 337.1 MB, free: 2.887 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003867/0.0003866, allocations: 12 kB / 409.6 MB, free: 27.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1476/0.148, allocations: 61.92 MB / 471.5 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.006552/0.1546, allocations: 5.538 MB / 477.1 MB, free: 8.078 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004419/0.1591, allocations: 2.083 MB / 479.2 MB, free: 5.992 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005325/0.1596, allocations: 20 kB / 479.2 MB, free: 5.973 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006648/0.1603, allocations: 234.5 kB / 479.4 MB, free: 5.742 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001798/0.1621, allocations: 0.7707 MB / 480.2 MB, free: 4.973 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001106/0.1632, allocations: 0.4905 MB / 480.7 MB, free: 4.488 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00102/0.1643, allocations: 0.7878 MB / 481.5 MB, free: 3.695 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002198/0.1665, allocations: 1.241 MB / 482.7 MB, free: 2.426 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005756/0.1671, allocations: 394.5 kB / 483.1 MB, free: 2.039 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000533/0.1676, allocations: 0.4901 MB / 483.6 MB, free: 1.547 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.551e-05/0.1677, allocations: 48 kB / 483.6 MB, free: 1.5 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006245/0.1683, allocations: 203.8 kB / 483.8 MB, free: 1.301 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000161/0.1685, allocations: 183.3 kB / 484 MB, free: 1.121 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002008/0.1687, allocations: 213.1 kB / 484.2 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001143/0.1699, allocations: 1.079 MB / 485.3 MB, free: 15.82 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.1699, allocations: 0 / 485.3 MB, free: 15.82 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.1699, allocations: 0 / 485.3 MB, free: 15.82 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.095e-05/0.1699, allocations: 0 / 485.3 MB, free: 15.82 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 306 * Number of variables: 306 Notification: Performance of Generate backend data structure: time 0.003747/0.1736, allocations: 1.471 MB / 486.8 MB, free: 14.3 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.238e-05/0.1737, allocations: 12.03 kB / 486.8 MB, free: 14.29 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002266/0.1739, allocations: 177.7 kB / 487 MB, free: 14.11 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009033/0.183, allocations: 1.337 MB / 488.3 MB, free: 12.77 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001104/0.1841, allocations: 0.5207 MB / 488.8 MB, free: 12.2 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.116e-05/0.1842, allocations: 90.36 kB / 488.9 MB, free: 12.11 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001768/0.1844, allocations: 124 kB / 489 MB, free: 11.99 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002049/0.1864, allocations: 1.129 MB / 490.1 MB, free: 10.83 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.391e-05/0.1865, allocations: 3.906 kB / 490.2 MB, free: 10.83 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001087/0.1866, allocations: 52 kB / 490.2 MB, free: 10.78 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.632e-05/0.1866, allocations: 28 kB / 490.2 MB, free: 10.75 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002239/0.1889, allocations: 1.372 MB / 491.6 MB, free: 9.371 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006983/0.1959, allocations: 4.703 MB / 496.3 MB, free: 4.375 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001655/0.1975, allocations: 0.9303 MB / 497.2 MB, free: 3.41 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001031/0.1977, allocations: 102.1 kB / 497.3 MB, free: 3.293 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.519e-05/0.1977, allocations: 39.56 kB / 497.4 MB, free: 3.246 MB / 366.1 MB Notification: Performance of pre-optimization done (n=89): time 2.154e-06/0.1977, allocations: 0 / 497.4 MB, free: 3.246 MB / 366.1 MB Notification: Performance of matching and sorting (n=89): time 0.002143/0.1999, allocations: 1.208 MB / 498.6 MB, free: 1.992 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.664e-05/0.1999, allocations: 60.41 kB / 498.6 MB, free: 1.918 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009307/0.2009, allocations: 0.7777 MB / 499.4 MB, free: 1.133 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.192e-05/0.2009, allocations: 41.7 kB / 499.5 MB, free: 1.086 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003221/0.2013, allocations: 459 kB / 499.9 MB, free: 0.6289 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002247/0.2015, allocations: 307.5 kB / 0.4885 GB, free: 332 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.898e-05/0.2015, allocations: 20 kB / 0.4885 GB, free: 312 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001754/0.2017, allocations: 394.7 kB / 0.4889 GB, free: 15.91 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005758/0.2023, allocations: 346.4 kB / 0.4892 GB, free: 15.57 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007364/0.2031, allocations: 0.5622 MB / 0.4898 GB, free: 14.92 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006861/0.2038, allocations: 414.9 kB / 0.4902 GB, free: 14.52 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.943e-06/0.2038, allocations: 3.953 kB / 0.4902 GB, free: 14.51 MB / 382.1 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.001955/0.2057, allocations: 1.123 MB / 0.4913 GB, free: 13.38 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.333e-05/0.2058, allocations: 8 kB / 0.4913 GB, free: 13.37 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.576e-05/0.2058, allocations: 8 kB / 0.4913 GB, free: 13.36 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002714/0.2061, allocations: 61.67 kB / 0.4913 GB, free: 13.29 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009532/0.207, allocations: 255.7 kB / 0.4916 GB, free: 13.04 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002102/0.2091, allocations: 2.632 MB / 0.4941 GB, free: 10.15 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009016/0.2101, allocations: 146.3 kB / 0.4943 GB, free: 10.01 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.883e-05/0.2102, allocations: 47.98 kB / 0.4943 GB, free: 9.961 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (133): * Single equations (assignments): 131 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005458/0.2107, allocations: 249.5 kB / 0.4946 GB, free: 9.707 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001931/0.2109, allocations: 90.88 kB / 0.4947 GB, free: 9.617 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002207/0.2131, allocations: 1.114 MB / 0.4957 GB, free: 8.461 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.656e-05/0.2132, allocations: 8 kB / 0.4957 GB, free: 8.453 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.2132, allocations: 0 / 0.4957 GB, free: 8.453 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.237e-05/0.2132, allocations: 3.984 kB / 0.4958 GB, free: 8.449 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004401/0.2176, allocations: 2.703 MB / 0.4984 GB, free: 5.516 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.24e-05/0.2176, allocations: 8 kB / 0.4984 GB, free: 5.508 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007526/0.2184, allocations: 179.7 kB / 0.4986 GB, free: 5.332 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002406/0.2186, allocations: 66.33 kB / 0.4986 GB, free: 5.262 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.54e-05/0.2187, allocations: 28 kB / 0.4987 GB, free: 5.234 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002143/0.2209, allocations: 2.639 MB / 0.5012 GB, free: 2.328 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.672e-06/0.2209, allocations: 4 kB / 0.5012 GB, free: 2.324 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002866/0.2238, allocations: 1.759 MB / 0.503 GB, free: 320 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004968/0.2243, allocations: 211.7 kB / 0.5032 GB, free: 88 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000128/0.2244, allocations: 23.98 kB / 0.5032 GB, free: 64 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007069/0.2251, allocations: 60.05 kB / 0.5032 GB, free: 4 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.2809/0.5061, allocations: 73.36 kB / 0.5033 GB, free: 46.31 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001361/0.5062, allocations: 38.16 kB / 0.5033 GB, free: 46.31 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001327/0.5076, allocations: 0.5463 MB / 0.5039 GB, free: 46.21 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5076, allocations: 1.406 kB / 0.5039 GB, free: 46.21 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001441/0.509, allocations: 287.1 kB / 0.5042 GB, free: 46.21 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 1 (currentSource.pin_p.reference.gamma) * 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 (92): * Single equations (assignments): 90 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003635/0.5127, allocations: 4.082 MB / 0.5081 GB, free: 43.27 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001945/0.5146, allocations: 1.054 MB / 0.5092 GB, free: 43.01 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.721e-06/0.5147, allocations: 2.062 kB / 0.5092 GB, free: 43.01 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009075/0.5156, allocations: 0.6257 MB / 0.5098 GB, free: 42.76 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006512/0.5162, allocations: 108.3 kB / 0.5099 GB, free: 42.75 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00948/0.5257, allocations: 9.8 MB / 0.5195 GB, free: 35.39 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006954/0.5265, allocations: 1.01 MB / 0.5204 GB, free: 34.67 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0007449/0.5272, allocations: 151.6 kB / 0.5206 GB, free: 34.62 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004768/0.5277, allocations: 352.8 kB / 0.5209 GB, free: 34.37 MB / 382.1 MB Notification: Performance of SimCode: time 1.964e-06/0.5277, allocations: 0 / 0.5209 GB, free: 34.37 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03796/0.5657, allocations: 17.25 MB / 0.5378 GB, free: 26.62 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001465/0.5659, allocations: 232.4 kB / 0.538 GB, free: 26.38 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.308/2.874, allocations: 0 / 0.538 GB, free: 26.38 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection.fmu > ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.mat does not exist to compare? outputFormat=mat