Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008541/0.0008542, allocations: 96.11 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001/0.001, allocations: 202.1 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.268/1.268, allocations: 227.7 MB / 246.8 MB, free: 11.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1812/0.1812, allocations: 46.19 MB / 345.2 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002404/0.0002403, allocations: 8.281 kB / 419.6 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09918/0.09944, allocations: 63.57 MB / 483.2 MB, free: 4.051 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.006444/0.1059, allocations: 6.907 MB / 490.1 MB, free: 13.11 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00372/0.1097, allocations: 2.327 MB / 492.4 MB, free: 10.77 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006878/0.1104, allocations: 24 kB / 492.4 MB, free: 10.75 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007828/0.1112, allocations: 334.5 kB / 492.8 MB, free: 10.42 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001515/0.1127, allocations: 0.6253 MB / 493.4 MB, free: 9.797 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0013/0.114, allocations: 0.7081 MB / 494.1 MB, free: 9.094 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009658/0.115, allocations: 1.198 MB / 495.3 MB, free: 7.891 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002657/0.1177, allocations: 1.669 MB / 497 MB, free: 6.184 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005113/0.1182, allocations: 449.9 kB / 497.4 MB, free: 5.742 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005933/0.1188, allocations: 0.5911 MB / 498 MB, free: 5.148 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 9.323e-05/0.1189, allocations: 52 kB / 498 MB, free: 5.098 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004583/0.1193, allocations: 239.8 kB / 498.3 MB, free: 4.863 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001551/0.1195, allocations: 211 kB / 498.5 MB, free: 4.656 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004217/0.1199, allocations: 0.565 MB / 499.1 MB, free: 4.082 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001202/0.1212, allocations: 1.514 MB / 0.4888 GB, free: 2.562 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.1212, allocations: 0 / 0.4888 GB, free: 2.562 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1212, allocations: 0 / 0.4888 GB, free: 2.562 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.358e-06/0.1212, allocations: 0 / 0.4888 GB, free: 2.562 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: 338 * Number of variables: 338 Notification: Performance of Generate backend data structure: time 0.003637/0.1248, allocations: 1.569 MB / 0.4904 GB, free: 0.9414 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.1249, allocations: 12.88 kB / 0.4904 GB, free: 0.9297 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001945/0.1251, allocations: 194.7 kB / 0.4906 GB, free: 0.7305 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009198/0.1343, allocations: 1.354 MB / 0.4919 GB, free: 15.38 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006567/0.1349, allocations: 0.549 MB / 0.4924 GB, free: 14.79 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.877e-05/0.135, allocations: 103 kB / 0.4925 GB, free: 14.68 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001925/0.1352, allocations: 135.9 kB / 0.4926 GB, free: 14.55 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002064/0.1373, allocations: 1.242 MB / 0.4939 GB, free: 13.29 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.046e-05/0.1373, allocations: 3.906 kB / 0.4939 GB, free: 13.28 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001254/0.1375, allocations: 56 kB / 0.4939 GB, free: 13.23 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.671e-05/0.1375, allocations: 36 kB / 0.494 GB, free: 13.19 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00233/0.1398, allocations: 1.455 MB / 0.4954 GB, free: 11.73 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00764/0.1475, allocations: 5.862 MB / 0.5011 GB, free: 5.379 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001741/0.1492, allocations: 0.9497 MB / 0.502 GB, free: 4.398 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005894/0.1499, allocations: 375.7 kB / 0.5024 GB, free: 4.031 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001452/0.15, allocations: 179.2 kB / 0.5026 GB, free: 3.82 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.251e-05/0.15, allocations: 51.48 kB / 0.5026 GB, free: 3.762 MB / 382.1 MB Notification: Performance of pre-optimization done (n=90): time 2.063e-06/0.1501, allocations: 4 kB / 0.5026 GB, free: 3.758 MB / 382.1 MB Notification: Performance of matching and sorting (n=90): time 0.002108/0.1522, allocations: 1.206 MB / 0.5038 GB, free: 2.504 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.015e-05/0.1522, allocations: 72.34 kB / 0.5039 GB, free: 2.422 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009015/0.1531, allocations: 0.8247 MB / 0.5047 GB, free: 1.582 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.79e-05/0.1532, allocations: 41.7 kB / 0.5047 GB, free: 1.535 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003318/0.1535, allocations: 0.514 MB / 0.5052 GB, free: 1.012 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000207/0.1538, allocations: 295.7 kB / 0.5055 GB, free: 0.7188 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001195/0.1539, allocations: 89.67 kB / 0.5056 GB, free: 0.625 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001621/0.154, allocations: 398.7 kB / 0.5059 GB, free: 232 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.1938/0.3478, allocations: 350.4 kB / 0.5063 GB, free: 28.19 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001076/0.3489, allocations: 0.6168 MB / 0.5069 GB, free: 27.89 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001532/0.3505, allocations: 0.9982 MB / 0.5079 GB, free: 27.59 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.207e-05/0.3505, allocations: 4.125 kB / 0.5079 GB, free: 27.59 MB / 382.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.002206/0.3527, allocations: 1.195 MB / 0.509 GB, free: 27.52 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.7e-05/0.3528, allocations: 11.94 kB / 0.509 GB, free: 27.52 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.811e-05/0.3528, allocations: 9.172 kB / 0.5091 GB, free: 27.52 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002831/0.3531, allocations: 71.28 kB / 0.5091 GB, free: 27.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000997/0.3541, allocations: 259.1 kB / 0.5094 GB, free: 27.5 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001488/0.3556, allocations: 2.629 MB / 0.5119 GB, free: 25.01 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008979/0.3565, allocations: 162.6 kB / 0.5121 GB, free: 24.96 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.512e-05/0.3566, allocations: 52.19 kB / 0.5121 GB, free: 24.96 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (141): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003813/0.357, allocations: 253.2 kB / 0.5124 GB, free: 24.85 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001527/0.3571, allocations: 97.02 kB / 0.5125 GB, free: 24.8 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00197/0.3591, allocations: 1.114 MB / 0.5136 GB, free: 24.65 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.087e-06/0.3591, allocations: 12.34 kB / 0.5136 GB, free: 24.65 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.3591, allocations: 1.094 kB / 0.5136 GB, free: 24.65 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.128e-05/0.3592, allocations: 5.406 kB / 0.5136 GB, free: 24.65 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00361/0.3628, allocations: 3.166 MB / 0.5167 GB, free: 23.13 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.297e-06/0.3628, allocations: 7.75 kB / 0.5167 GB, free: 23.13 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007196/0.3635, allocations: 183.6 kB / 0.5169 GB, free: 23.13 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001868/0.3637, allocations: 65.2 kB / 0.5169 GB, free: 23.11 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.275e-05/0.3638, allocations: 33.06 kB / 0.5169 GB, free: 23.11 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00127/0.3651, allocations: 2.618 MB / 0.5195 GB, free: 20.59 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.232e-06/0.3651, allocations: 9.688 kB / 0.5195 GB, free: 20.59 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001955/0.367, allocations: 1.494 MB / 0.521 GB, free: 20.13 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002006/0.3673, allocations: 209 kB / 0.5212 GB, free: 19.98 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001156/0.3674, allocations: 24.75 kB / 0.5212 GB, free: 19.98 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006547/0.368, allocations: 68.62 kB / 0.5213 GB, free: 19.97 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001265/0.3682, allocations: 79.55 kB / 0.5213 GB, free: 19.96 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.281e-05/0.3682, allocations: 31.34 kB / 0.5214 GB, free: 19.96 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006987/0.3689, allocations: 0.5782 MB / 0.5219 GB, free: 19.86 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3689, allocations: 2.844 kB / 0.5219 GB, free: 19.86 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009324/0.3699, allocations: 315.7 kB / 0.5222 GB, free: 19.8 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 (93): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002308/0.3722, allocations: 2.095 MB / 0.5243 GB, free: 18.36 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001666/0.3739, allocations: 1.097 MB / 0.5254 GB, free: 17.86 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/0.3739, allocations: 2.125 kB / 0.5254 GB, free: 17.86 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008264/0.3747, allocations: 0.6343 MB / 0.526 GB, free: 17.52 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00129/0.376, allocations: 124.8 kB / 0.5261 GB, free: 17.46 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01077/0.3868, allocations: 9.606 MB / 0.5355 GB, free: 11.32 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00048/0.3873, allocations: 1.011 MB / 0.5365 GB, free: 10.6 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006505/0.388, allocations: 157.9 kB / 0.5366 GB, free: 10.54 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004599/0.3884, allocations: 378.4 kB / 0.537 GB, free: 10.27 MB / 382.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3884, allocations: 1.375 kB / 0.537 GB, free: 10.27 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02684/0.4153, allocations: 18.44 MB / 0.555 GB, free: 12.92 MB / 398.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001623/0.4155, allocations: 243.2 kB / 0.5552 GB, free: 12.66 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.173/2.589, allocations: 0 / 0.5552 GB, free: 12.66 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection.fmu > ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/QuasiStatic/SinglePhase/SerialConnection/SerialConnection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches