Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.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.Ideal,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_SinglePhase_Ideal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_SinglePhase_Ideal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001067/0.001066, allocations: 98.7 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.001161/0.001161, allocations: 197.7 kB / 17.9 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.375/1.375, allocations: 227.3 MB / 245.9 MB, free: 10.31 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.215/0.215, allocations: 45.91 MB / 344 MB, free: 12.09 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002733/0.0002733, allocations: 4 kB / 418.1 MB, free: 20.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1263/0.1266, allocations: 63.48 MB / 481.5 MB, free: 5.262 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.00692/0.1336, allocations: 6.209 MB / 487.7 MB, free: 15.02 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004999/0.1386, allocations: 2.269 MB / 490 MB, free: 12.75 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006644/0.1393, allocations: 28 kB / 490 MB, free: 12.72 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00075/0.1401, allocations: 262.4 kB / 490.3 MB, free: 12.46 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00175/0.1418, allocations: 0.6662 MB / 491 MB, free: 11.79 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001872/0.1437, allocations: 0.8908 MB / 491.9 MB, free: 10.91 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001499/0.1452, allocations: 0.9577 MB / 492.8 MB, free: 9.957 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002542/0.1478, allocations: 1.49 MB / 494.3 MB, free: 8.441 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007227/0.1485, allocations: 498.2 kB / 494.8 MB, free: 7.953 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00062/0.1491, allocations: 0.607 MB / 495.4 MB, free: 7.344 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 9.731e-05/0.1492, allocations: 56 kB / 495.4 MB, free: 7.289 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006706/0.1499, allocations: 243.7 kB / 495.7 MB, free: 7.051 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001655/0.1501, allocations: 223.1 kB / 495.9 MB, free: 6.832 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002135/0.1503, allocations: 241.1 kB / 496.1 MB, free: 6.59 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00127/0.1516, allocations: 1.297 MB / 497.4 MB, free: 5.289 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.1516, allocations: 0 / 497.4 MB, free: 5.289 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.1516, allocations: 0 / 497.4 MB, free: 5.289 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.409e-05/0.1516, allocations: 0 / 497.4 MB, free: 5.289 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: 339 * Number of variables: 339 Notification: Performance of Generate backend data structure: time 0.006884/0.1585, allocations: 2.162 MB / 499.6 MB, free: 3.074 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.935e-05/0.1586, allocations: 12.03 kB / 499.6 MB, free: 3.062 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002722/0.1589, allocations: 190.5 kB / 499.8 MB, free: 2.867 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009292/0.1682, allocations: 1.399 MB / 0.4894 GB, free: 1.465 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001154/0.1694, allocations: 0.5807 MB / 0.49 GB, free: 0.8398 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.132e-05/0.1695, allocations: 102.6 kB / 0.4901 GB, free: 0.7383 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000207/0.1697, allocations: 135.8 kB / 0.4902 GB, free: 0.6055 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002501/0.1722, allocations: 1.467 MB / 0.4917 GB, free: 15.09 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.454e-05/0.1722, allocations: 4 kB / 0.4917 GB, free: 15.09 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001229/0.1724, allocations: 52 kB / 0.4917 GB, free: 15.04 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.832e-05/0.1724, allocations: 32 kB / 0.4918 GB, free: 15 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002415/0.1748, allocations: 1.525 MB / 0.4932 GB, free: 13.47 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007672/0.1825, allocations: 5.627 MB / 0.4987 GB, free: 7.523 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002293/0.1848, allocations: 2.186 MB / 0.5009 GB, free: 5.094 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001808/0.185, allocations: 191.2 kB / 0.5011 GB, free: 4.871 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.496e-05/0.1851, allocations: 51.56 kB / 0.5011 GB, free: 4.812 MB / 382.1 MB Notification: Performance of pre-optimization done (n=127): time 3.076e-06/0.1851, allocations: 0 / 0.5011 GB, free: 4.812 MB / 382.1 MB Notification: Performance of matching and sorting (n=127): time 0.008709/0.1938, allocations: 3.075 MB / 0.5041 GB, free: 1.703 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.214e-05/0.1939, allocations: 98.08 kB / 0.5042 GB, free: 1.59 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005529/0.1944, allocations: 465.8 kB / 0.5046 GB, free: 1.125 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.59e-05/0.1945, allocations: 45.7 kB / 0.5047 GB, free: 1.074 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002711/0.1948, allocations: 459.5 kB / 0.5051 GB, free: 0.6172 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003143/0.1951, allocations: 417.8 kB / 0.5055 GB, free: 208 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.171e-05/0.1952, allocations: 28 kB / 0.5056 GB, free: 180 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.3127/0.5079, allocations: 382.8 kB / 0.5059 GB, free: 39.28 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001529/0.5095, allocations: 455.1 kB / 0.5064 GB, free: 39.28 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001132/0.5106, allocations: 0.6959 MB / 0.507 GB, free: 39.02 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001132/0.5117, allocations: 0.517 MB / 0.5075 GB, free: 39.01 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.496e-06/0.5118, allocations: 5.25 kB / 0.5075 GB, free: 39.01 MB / 382.1 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.003435/0.5152, allocations: 1.578 MB / 0.5091 GB, free: 38.91 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.489e-05/0.5152, allocations: 11.53 kB / 0.5091 GB, free: 38.91 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.589e-05/0.5153, allocations: 8.438 kB / 0.5091 GB, free: 38.91 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001664/0.517, allocations: 0.5245 MB / 0.5096 GB, free: 38.77 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007712/0.5177, allocations: 198 kB / 0.5098 GB, free: 38.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007903/0.5256, allocations: 5.016 MB / 0.5147 GB, free: 35.53 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009876/0.5267, allocations: 134 kB / 0.5148 GB, free: 35.46 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.613e-05/0.5268, allocations: 47.3 kB / 0.5149 GB, free: 35.45 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 4 (booleanStep1.y,booleanStep2.y,booleanStep3.y,booleanStep4.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (112): * Single equations (assignments): 111 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {20 28} Notification: Performance of prepare postOptimizeDAE: time 0.0006109/0.5274, allocations: 272.6 kB / 0.5151 GB, free: 35.23 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001648/0.5276, allocations: 82.41 kB / 0.5152 GB, free: 35.19 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003048/0.5306, allocations: 1.588 MB / 0.5168 GB, free: 34.45 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.622e-05/0.5307, allocations: 14.48 kB / 0.5168 GB, free: 34.45 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.317e-06/0.5307, allocations: 0 / 0.5168 GB, free: 34.45 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.599e-05/0.5307, allocations: 8.875 kB / 0.5168 GB, free: 34.45 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005249/0.536, allocations: 2.879 MB / 0.5196 GB, free: 33.01 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.794e-06/0.536, allocations: 1.25 kB / 0.5196 GB, free: 33.01 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006608/0.5367, allocations: 146.2 kB / 0.5197 GB, free: 32.99 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001498/0.5382, allocations: 0.5191 MB / 0.5202 GB, free: 32.82 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.819e-05/0.5382, allocations: 26.23 kB / 0.5203 GB, free: 32.81 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007472/0.5457, allocations: 4.992 MB / 0.5251 GB, free: 29.54 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.724e-06/0.5458, allocations: 4.516 kB / 0.5252 GB, free: 29.53 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004372/0.5502, allocations: 2.371 MB / 0.5275 GB, free: 28.3 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005749/0.5508, allocations: 273 kB / 0.5277 GB, free: 28.09 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001132/0.5509, allocations: 29.91 kB / 0.5278 GB, free: 28.07 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006072/0.5515, allocations: 61.7 kB / 0.5278 GB, free: 28.05 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003661/0.5519, allocations: 105 kB / 0.5279 GB, free: 28.03 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.147e-05/0.5519, allocations: 33.86 kB / 0.5279 GB, free: 28.02 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004506/0.5524, allocations: 303.3 kB / 0.5282 GB, free: 27.87 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5524, allocations: 0 / 0.5282 GB, free: 27.87 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001687/0.5541, allocations: 417.4 kB / 0.5286 GB, free: 27.77 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (voltageSource.pin_p.reference.gamma) * Number of discrete variables: 4 (booleanStep1.y,booleanStep2.y,booleanStep3.y,booleanStep4.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 83 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {20 28} Notification: Performance of Backend phase and start with SimCode phase: time 0.0044/0.5585, allocations: 3.11 MB / 0.5317 GB, free: 25.86 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003662/0.5622, allocations: 1.844 MB / 0.5335 GB, free: 25.02 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.072e-06/0.5622, allocations: 3.812 kB / 0.5335 GB, free: 25.02 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002194/0.5644, allocations: 1.237 MB / 0.5347 GB, free: 24.39 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007523/0.5652, allocations: 81.31 kB / 0.5348 GB, free: 24.35 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00919/0.5744, allocations: 10.46 MB / 0.545 GB, free: 15.12 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006164/0.5751, allocations: 1.094 MB / 0.546 GB, free: 14.16 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005206/0.5756, allocations: 112.9 kB / 0.5461 GB, free: 14.07 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004209/0.576, allocations: 393.6 kB / 0.5465 GB, free: 13.72 MB / 382.1 MB Notification: Performance of SimCode: time 1.412e-06/0.576, allocations: 4 kB / 0.5465 GB, free: 13.72 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04595/0.622, allocations: 23.81 MB / 0.5698 GB, free: 6.352 MB / 398.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002214/0.6223, allocations: 219.5 kB / 0.57 GB, free: 6.117 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.523/3.145, allocations: 0 / 0.57 GB, free: 6.117 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_SinglePhase_Ideal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_SinglePhase_Ideal.fmu > ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal_res.mat does not exist to compare? outputFormat=mat