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.00106/0.00106, allocations: 97.62 kB / 16.99 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001029/0.001029, allocations: 200.5 kB / 17.9 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.389/1.389, allocations: 227.3 MB / 245.9 MB, free: 10.32 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.222/0.222, allocations: 45.92 MB / 344 MB, free: 12.12 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002555/0.0002557, allocations: 8 kB / 418.1 MB, free: 20.78 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1206/0.1209, allocations: 63.46 MB / 481.5 MB, free: 5.301 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.006226/0.1272, allocations: 6.006 MB / 487.5 MB, free: 15.27 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004233/0.1315, allocations: 2.215 MB / 489.7 MB, free: 13.04 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000605/0.1321, allocations: 24 kB / 489.8 MB, free: 13.02 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006401/0.1327, allocations: 258.4 kB / 490 MB, free: 12.77 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001575/0.1343, allocations: 0.6692 MB / 490.7 MB, free: 12.1 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00139/0.1357, allocations: 0.614 MB / 491.3 MB, free: 11.49 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001837/0.1376, allocations: 0.8425 MB / 492.1 MB, free: 10.65 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002759/0.1403, allocations: 1.485 MB / 493.6 MB, free: 9.137 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007696/0.1411, allocations: 426.3 kB / 494 MB, free: 8.719 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006861/0.1418, allocations: 0.5408 MB / 494.6 MB, free: 8.176 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001206/0.142, allocations: 52 kB / 494.6 MB, free: 8.125 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008514/0.1428, allocations: 211.8 kB / 494.8 MB, free: 7.918 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002049/0.143, allocations: 203.2 kB / 495 MB, free: 7.719 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002986/0.1433, allocations: 225.1 kB / 495.3 MB, free: 7.492 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001595/0.1449, allocations: 1.188 MB / 496.5 MB, free: 6.301 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.424e-06/0.145, allocations: 8 kB / 496.5 MB, free: 6.293 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.145, allocations: 0 / 496.5 MB, free: 6.293 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.958e-05/0.145, allocations: 0 / 496.5 MB, free: 6.293 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.004058/0.1491, allocations: 1.581 MB / 498 MB, free: 4.66 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/0.1491, allocations: 12.03 kB / 498.1 MB, free: 4.648 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002568/0.1494, allocations: 194.5 kB / 498.2 MB, free: 4.449 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009174/0.1586, allocations: 1.349 MB / 499.6 MB, free: 3.098 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000953/0.1595, allocations: 0.5363 MB / 0.4884 GB, free: 2.52 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.901e-05/0.1596, allocations: 106.6 kB / 0.4885 GB, free: 2.414 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000186/0.1598, allocations: 135.9 kB / 0.4886 GB, free: 2.281 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002089/0.1619, allocations: 1.222 MB / 0.4898 GB, free: 1.035 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.302e-05/0.162, allocations: 8 kB / 0.4898 GB, free: 1.027 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001134/0.1621, allocations: 52 kB / 0.4899 GB, free: 0.9766 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.59e-05/0.1621, allocations: 32 kB / 0.4899 GB, free: 0.9453 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002262/0.1644, allocations: 1.447 MB / 0.4913 GB, free: 15.49 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008173/0.1726, allocations: 5.87 MB / 0.4971 GB, free: 9.133 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00171/0.1743, allocations: 0.9381 MB / 0.498 GB, free: 8.16 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001699/0.1745, allocations: 183.2 kB / 0.4982 GB, free: 7.945 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.893e-05/0.1745, allocations: 43.55 kB / 0.4982 GB, free: 7.895 MB / 382.1 MB Notification: Performance of pre-optimization done (n=90): time 2.475e-06/0.1746, allocations: 4 kB / 0.4982 GB, free: 7.891 MB / 382.1 MB Notification: Performance of matching and sorting (n=90): time 0.002129/0.1767, allocations: 1.208 MB / 0.4994 GB, free: 6.637 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.889e-05/0.1767, allocations: 68.41 kB / 0.4994 GB, free: 6.555 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009485/0.1777, allocations: 0.8169 MB / 0.5002 GB, free: 5.727 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.831e-05/0.1778, allocations: 41.7 kB / 0.5003 GB, free: 5.68 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003521/0.1781, allocations: 0.4986 MB / 0.5008 GB, free: 5.172 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002564/0.1784, allocations: 311.5 kB / 0.5011 GB, free: 4.863 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.548e-05/0.1785, allocations: 28 kB / 0.5011 GB, free: 4.836 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001824/0.1786, allocations: 394.7 kB / 0.5015 GB, free: 4.441 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006066/0.1793, allocations: 346.5 kB / 0.5018 GB, free: 4.105 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007729/0.18, allocations: 0.611 MB / 0.5024 GB, free: 3.379 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007171/0.1808, allocations: 434.8 kB / 0.5028 GB, free: 2.953 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.1808, allocations: 0 / 0.5028 GB, free: 2.953 MB / 382.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.001968/0.1828, allocations: 1.189 MB / 0.504 GB, free: 1.75 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.347e-05/0.1828, allocations: 8 kB / 0.504 GB, free: 1.742 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.539e-05/0.1828, allocations: 12.47 kB / 0.504 GB, free: 1.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002733/0.1831, allocations: 69.67 kB / 0.5041 GB, free: 1.656 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009863/0.1841, allocations: 259.6 kB / 0.5043 GB, free: 1.402 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2201/0.4042, allocations: 2.639 MB / 0.5069 GB, free: 37.27 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00117/0.4054, allocations: 157.4 kB / 0.507 GB, free: 37.26 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000102/0.4055, allocations: 49.91 kB / 0.5071 GB, free: 37.26 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 (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.0004364/0.4059, allocations: 265.6 kB / 0.5073 GB, free: 37.14 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001641/0.4061, allocations: 95.72 kB / 0.5074 GB, free: 37.12 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002345/0.4085, allocations: 1.12 MB / 0.5085 GB, free: 36.99 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.712e-05/0.4085, allocations: 9.422 kB / 0.5085 GB, free: 36.99 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.4085, allocations: 1.344 kB / 0.5085 GB, free: 36.99 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.543e-05/0.4085, allocations: 4.969 kB / 0.5085 GB, free: 36.99 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004061/0.4126, allocations: 3.155 MB / 0.5116 GB, free: 35.39 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.097e-05/0.4126, allocations: 6.875 kB / 0.5116 GB, free: 35.39 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007264/0.4133, allocations: 184.8 kB / 0.5118 GB, free: 35.38 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002164/0.4136, allocations: 59.61 kB / 0.5119 GB, free: 35.35 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.521e-05/0.4136, allocations: 27.12 kB / 0.5119 GB, free: 35.34 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001498/0.4151, allocations: 2.635 MB / 0.5145 GB, free: 32.69 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.167e-06/0.4152, allocations: 11.03 kB / 0.5145 GB, free: 32.69 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002292/0.4175, allocations: 1.778 MB / 0.5162 GB, free: 31.36 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003209/0.4178, allocations: 213.4 kB / 0.5164 GB, free: 31.18 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001225/0.4179, allocations: 24.34 kB / 0.5164 GB, free: 31.17 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006701/0.4186, allocations: 58.94 kB / 0.5165 GB, free: 31.16 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001486/0.4188, allocations: 86.33 kB / 0.5166 GB, free: 31.13 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.905e-05/0.4188, allocations: 35.97 kB / 0.5166 GB, free: 31.12 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007458/0.4196, allocations: 0.5705 MB / 0.5172 GB, free: 30.86 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.082e-06/0.4196, allocations: 0 / 0.5172 GB, free: 30.86 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001148/0.4208, allocations: 315.7 kB / 0.5175 GB, free: 30.79 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 (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.002813/0.4236, allocations: 4.101 MB / 0.5215 GB, free: 27.23 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001877/0.4255, allocations: 1.087 MB / 0.5225 GB, free: 26.69 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.091e-06/0.4255, allocations: 2.188 kB / 0.5225 GB, free: 26.69 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008991/0.4264, allocations: 0.6286 MB / 0.5231 GB, free: 26.31 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006495/0.4271, allocations: 108.1 kB / 0.5232 GB, free: 26.27 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01125/0.4383, allocations: 11.16 MB / 0.5341 GB, free: 17.42 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007548/0.4391, allocations: 1.032 MB / 0.5352 GB, free: 16.71 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0008269/0.44, allocations: 158.4 kB / 0.5353 GB, free: 16.66 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005352/0.4405, allocations: 385 kB / 0.5357 GB, free: 16.38 MB / 382.1 MB Notification: Performance of SimCode: time 1.603e-06/0.4405, allocations: 0 / 0.5357 GB, free: 16.38 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03276/0.4733, allocations: 18.01 MB / 0.5533 GB, free: 5.414 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001602/0.4735, allocations: 227.7 kB / 0.5535 GB, free: 5.172 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.324/2.798, allocations: 0 / 0.5535 GB, free: 5.172 MB / 382.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/linux/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) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.mat does not exist to compare? outputFormat=mat