Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.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.Ideal,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Electrical_QuasiStatic_SinglePhase_Ideal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Electrical_QuasiStatic_SinglePhase_Ideal",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.0009316/0.0009317, allocations: 99.03 kB / 17 MB, free: 6.398 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.0009212/0.0009215, allocations: 177.7 kB / 17.89 MB, free: 5.945 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.363/1.363, allocations: 223.3 MB / 241.9 MB, free: 340 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.2271/0.2271, allocations: 44.23 MB / 337.2 MB, free: 2.812 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004809/0.0004813, allocations: 8 kB / 409.7 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1473/0.1478, allocations: 61.93 MB / 471.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.007044/0.1549, allocations: 6.648 MB / 478.3 MB, free: 6.965 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004819/0.1597, allocations: 2.179 MB / 480.5 MB, free: 4.781 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008066/0.1606, allocations: 24 kB / 480.5 MB, free: 4.758 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008374/0.1614, allocations: 266.4 kB / 480.8 MB, free: 4.496 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002101/0.1635, allocations: 0.7227 MB / 481.5 MB, free: 3.773 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001895/0.1654, allocations: 0.7284 MB / 482.2 MB, free: 3.055 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001983/0.1674, allocations: 1.273 MB / 483.5 MB, free: 1.777 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00275/0.1702, allocations: 1.532 MB / 485 MB, free: 220 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008276/0.171, allocations: 0.4943 MB / 485.5 MB, free: 15.71 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007152/0.1718, allocations: 0.6263 MB / 486.1 MB, free: 15.09 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001158/0.1719, allocations: 56 kB / 486.2 MB, free: 15.03 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007988/0.1727, allocations: 267.8 kB / 486.5 MB, free: 14.77 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001941/0.1729, allocations: 223 kB / 486.7 MB, free: 14.55 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002858/0.1732, allocations: 237.1 kB / 486.9 MB, free: 14.31 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001464/0.1747, allocations: 1.305 MB / 488.2 MB, free: 13.01 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.1747, allocations: 0 / 488.2 MB, free: 13.01 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.1747, allocations: 0 / 488.2 MB, free: 13.01 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.538e-05/0.1747, allocations: 8 kB / 488.2 MB, free: 13 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.006874/0.1816, allocations: 2.148 MB / 490.4 MB, free: 10.8 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.161e-05/0.1817, allocations: 8.031 kB / 490.4 MB, free: 10.79 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003342/0.182, allocations: 194.5 kB / 490.6 MB, free: 10.59 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009204/0.1912, allocations: 1.399 MB / 492 MB, free: 9.191 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001384/0.1926, allocations: 0.5925 MB / 492.6 MB, free: 8.555 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.869e-05/0.1928, allocations: 110.5 kB / 492.7 MB, free: 8.445 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002066/0.193, allocations: 131.9 kB / 492.8 MB, free: 8.316 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002727/0.1957, allocations: 1.487 MB / 494.3 MB, free: 6.781 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.357e-05/0.1958, allocations: 0 / 494.3 MB, free: 6.781 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001256/0.1959, allocations: 56 kB / 494.3 MB, free: 6.727 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.395e-05/0.1959, allocations: 35.94 kB / 494.4 MB, free: 6.691 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002615/0.1986, allocations: 1.525 MB / 495.9 MB, free: 5.16 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008126/0.2067, allocations: 5.397 MB / 0.4895 GB, free: 15.49 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002452/0.2092, allocations: 2.182 MB / 0.4917 GB, free: 13.07 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009848/0.2102, allocations: 0.6515 MB / 0.4923 GB, free: 12.42 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001448/0.2103, allocations: 106 kB / 0.4924 GB, free: 12.3 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.287e-05/0.2104, allocations: 47.56 kB / 0.4925 GB, free: 12.24 MB / 382.1 MB Notification: Performance of pre-optimization done (n=127): time 5.851e-06/0.2104, allocations: 7.984 kB / 0.4925 GB, free: 12.23 MB / 382.1 MB Notification: Performance of matching and sorting (n=127): time 0.008389/0.2188, allocations: 3.063 MB / 0.4955 GB, free: 9.141 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.829e-05/0.2189, allocations: 94.05 kB / 0.4955 GB, free: 9.031 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005821/0.2195, allocations: 457.8 kB / 0.496 GB, free: 8.57 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.469e-05/0.2196, allocations: 45.7 kB / 0.496 GB, free: 8.52 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003394/0.2199, allocations: 467.5 kB / 0.4965 GB, free: 8.055 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003442/0.2203, allocations: 421.8 kB / 0.4969 GB, free: 7.637 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.451e-05/0.2204, allocations: 28 kB / 0.4969 GB, free: 7.609 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001838/0.2206, allocations: 382.7 kB / 0.4973 GB, free: 7.227 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008088/0.2214, allocations: 458.4 kB / 0.4977 GB, free: 6.781 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001116/0.2225, allocations: 0.708 MB / 0.4984 GB, free: 5.977 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009579/0.2235, allocations: 0.5176 MB / 0.4989 GB, free: 5.465 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.813e-06/0.2235, allocations: 4 kB / 0.4989 GB, free: 5.461 MB / 382.1 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.002797/0.2263, allocations: 1.578 MB / 0.5004 GB, free: 3.871 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.657e-05/0.2263, allocations: 12.06 kB / 0.5005 GB, free: 3.859 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.97e-05/0.2264, allocations: 8 kB / 0.5005 GB, free: 3.852 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00149/0.2278, allocations: 0.5279 MB / 0.501 GB, free: 3.324 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007421/0.2286, allocations: 195.7 kB / 0.5012 GB, free: 3.133 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2675/0.4961, allocations: 4.697 MB / 0.5058 GB, free: 45.04 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009275/0.4971, allocations: 130.1 kB / 0.5059 GB, free: 45.03 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001131/0.4972, allocations: 50.22 kB / 0.5059 GB, free: 45.03 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.0005299/0.4978, allocations: 275.3 kB / 0.5062 GB, free: 44.91 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001531/0.4979, allocations: 83.34 kB / 0.5063 GB, free: 44.88 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003001/0.5009, allocations: 1.587 MB / 0.5078 GB, free: 44.78 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.442e-05/0.501, allocations: 13.67 kB / 0.5078 GB, free: 44.78 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.501, allocations: 1.734 kB / 0.5078 GB, free: 44.78 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.759e-05/0.501, allocations: 6 kB / 0.5078 GB, free: 44.78 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004933/0.506, allocations: 2.884 MB / 0.5107 GB, free: 43.57 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.486e-06/0.506, allocations: 0.5625 kB / 0.5107 GB, free: 43.57 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006504/0.5066, allocations: 150.8 kB / 0.5108 GB, free: 43.56 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001496/0.5081, allocations: 0.5102 MB / 0.5113 GB, free: 43.41 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.107e-05/0.5082, allocations: 29 kB / 0.5113 GB, free: 43.39 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006886/0.5151, allocations: 4.687 MB / 0.5159 GB, free: 40.41 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.5152, allocations: 1.375 kB / 0.5159 GB, free: 40.41 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004091/0.5193, allocations: 2.349 MB / 0.5182 GB, free: 39.22 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004398/0.5197, allocations: 286.2 kB / 0.5185 GB, free: 39 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000113/0.5198, allocations: 22.23 kB / 0.5185 GB, free: 38.98 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005583/0.5204, allocations: 62.98 kB / 0.5186 GB, free: 38.96 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002536/0.5207, allocations: 99.88 kB / 0.5186 GB, free: 38.95 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.804e-05/0.5208, allocations: 36.97 kB / 0.5187 GB, free: 38.94 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003611/0.5211, allocations: 309.3 kB / 0.519 GB, free: 38.79 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5211, allocations: 1.031 kB / 0.519 GB, free: 38.79 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001312/0.5224, allocations: 406.1 kB / 0.5194 GB, free: 38.7 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.004152/0.5266, allocations: 2.954 MB / 0.5223 GB, free: 36.95 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003439/0.5301, allocations: 1.843 MB / 0.5241 GB, free: 36.11 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.5301, allocations: 448 / 0.5241 GB, free: 36.11 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002074/0.5322, allocations: 1.246 MB / 0.5253 GB, free: 35.48 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007443/0.5329, allocations: 95.58 kB / 0.5254 GB, free: 35.43 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007855/0.5408, allocations: 5.959 MB / 0.5312 GB, free: 32.12 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005135/0.5413, allocations: 1.078 MB / 0.5322 GB, free: 31.41 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005306/0.5419, allocations: 111 kB / 0.5323 GB, free: 31.36 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004032/0.5423, allocations: 390.7 kB / 0.5327 GB, free: 31.06 MB / 382.1 MB Notification: Performance of SimCode: time 6.41e-07/0.5423, allocations: 0 / 0.5327 GB, free: 31.06 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03558/0.5779, allocations: 23.79 MB / 0.5559 GB, free: 8.867 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000174/0.5781, allocations: 232.5 kB / 0.5562 GB, free: 8.621 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.534/3.112, allocations: 0 / 0.5562 GB, free: 8.621 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Electrical_QuasiStatic_SinglePhase_Ideal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Electrical_QuasiStatic_SinglePhase_Ideal.fmu > ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal_res.mat does not exist to compare? outputFormat=mat