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.0007333/0.0007333, allocations: 98.61 kB / 17.35 MB, free: 6.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008848/0.0008848, allocations: 201.8 kB / 18.28 MB, free: 5.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.319/1.319, allocations: 227.7 MB / 246.8 MB, free: 11.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.189/0.189, allocations: 46.18 MB / 345.2 MB, free: 11.4 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002954/0.0002954, allocations: 11.98 kB / 419.6 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1023/0.1026, allocations: 63.56 MB / 483.2 MB, free: 4.066 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.007209/0.1098, allocations: 7.152 MB / 490.3 MB, free: 12.88 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004474/0.1143, allocations: 2.365 MB / 492.7 MB, free: 10.5 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009483/0.1153, allocations: 24 kB / 492.7 MB, free: 10.48 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001028/0.1164, allocations: 362.4 kB / 493.1 MB, free: 10.12 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001993/0.1184, allocations: 0.6293 MB / 493.7 MB, free: 9.496 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002293/0.1207, allocations: 1.02 MB / 494.7 MB, free: 8.484 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001894/0.1226, allocations: 1.335 MB / 496.1 MB, free: 7.145 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003056/0.1256, allocations: 1.689 MB / 497.7 MB, free: 5.418 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007931/0.1265, allocations: 0.5291 MB / 498.3 MB, free: 4.887 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000674/0.1271, allocations: 0.6534 MB / 498.9 MB, free: 4.23 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001048/0.1273, allocations: 56 kB / 499 MB, free: 4.176 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006934/0.128, allocations: 267.8 kB / 499.2 MB, free: 3.914 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002022/0.1282, allocations: 242.9 kB / 499.5 MB, free: 3.676 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005597/0.1287, allocations: 0.6001 MB / 0.4884 GB, free: 3.066 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001764/0.1305, allocations: 1.654 MB / 0.49 GB, free: 1.406 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.1305, allocations: 0 / 0.49 GB, free: 1.406 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1305, allocations: 7.875 kB / 0.49 GB, free: 1.398 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.553e-05/0.1306, allocations: 0 / 0.49 GB, free: 1.398 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.007267/0.1378, allocations: 2.143 MB / 0.4921 GB, free: 15.2 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/0.1379, allocations: 12.88 kB / 0.4921 GB, free: 15.19 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003123/0.1382, allocations: 194.7 kB / 0.4923 GB, free: 14.99 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01002/0.1482, allocations: 1.4 MB / 0.4936 GB, free: 13.59 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001254/0.1495, allocations: 0.5973 MB / 0.4942 GB, free: 12.95 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001232/0.1497, allocations: 111 kB / 0.4943 GB, free: 12.84 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000418/0.1501, allocations: 132.1 kB / 0.4945 GB, free: 12.71 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003415/0.1535, allocations: 1.494 MB / 0.4959 GB, free: 11.17 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.855e-05/0.1536, allocations: 0 / 0.4959 GB, free: 11.17 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002276/0.1539, allocations: 52 kB / 0.496 GB, free: 11.12 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.292e-05/0.1539, allocations: 36 kB / 0.496 GB, free: 11.09 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003079/0.157, allocations: 1.529 MB / 0.4975 GB, free: 9.551 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00902/0.166, allocations: 5.665 MB / 0.503 GB, free: 3.555 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00248/0.1685, allocations: 2.182 MB / 0.5052 GB, free: 1.133 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00108/0.1697, allocations: 0.6632 MB / 0.5058 GB, free: 476 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002139/0.1699, allocations: 191.2 kB / 0.506 GB, free: 248 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.812e-05/0.1699, allocations: 47.56 kB / 0.506 GB, free: 192 kB / 382.1 MB Notification: Performance of pre-optimization done (n=127): time 3.506e-06/0.17, allocations: 0 / 0.506 GB, free: 192 kB / 382.1 MB Notification: Performance of matching and sorting (n=127): time 0.1969/0.3668, allocations: 3.14 MB / 0.5091 GB, free: 28.32 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.354e-05/0.3669, allocations: 91.23 kB / 0.5092 GB, free: 28.23 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004946/0.3674, allocations: 461.8 kB / 0.5096 GB, free: 28.11 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.754e-05/0.3675, allocations: 45.55 kB / 0.5097 GB, free: 28.07 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002166/0.3677, allocations: 464.9 kB / 0.5101 GB, free: 27.86 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002418/0.3679, allocations: 425.5 kB / 0.5105 GB, free: 27.59 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001316/0.3681, allocations: 106.2 kB / 0.5106 GB, free: 27.57 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.144e-05/0.3682, allocations: 382.9 kB / 0.511 GB, free: 27.26 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008016/0.369, allocations: 463.7 kB / 0.5114 GB, free: 27.26 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009582/0.3699, allocations: 0.7044 MB / 0.5121 GB, free: 27 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001729/0.3717, allocations: 1.216 MB / 0.5133 GB, free: 26.72 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.722e-06/0.3717, allocations: 1.781 kB / 0.5133 GB, free: 26.72 MB / 382.1 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.002702/0.3744, allocations: 1.615 MB / 0.5149 GB, free: 26.59 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.114e-05/0.3744, allocations: 8.25 kB / 0.5149 GB, free: 26.59 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.545e-05/0.3745, allocations: 8.406 kB / 0.5149 GB, free: 26.59 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001432/0.3759, allocations: 0.5282 MB / 0.5154 GB, free: 26.57 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007421/0.3767, allocations: 201.6 kB / 0.5156 GB, free: 26.57 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006704/0.3834, allocations: 4.721 MB / 0.5202 GB, free: 23.96 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007011/0.3841, allocations: 127.3 kB / 0.5203 GB, free: 23.88 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.355e-05/0.3842, allocations: 53.23 kB / 0.5204 GB, free: 23.87 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 (booleanStep4.y,booleanStep3.y,booleanStep2.y,booleanStep1.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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(20,28)} Notification: Performance of prepare postOptimizeDAE: time 0.0003827/0.3846, allocations: 266.5 kB / 0.5206 GB, free: 23.67 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001386/0.3847, allocations: 87.09 kB / 0.5207 GB, free: 23.62 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002652/0.3874, allocations: 1.585 MB / 0.5223 GB, free: 22.89 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.537e-05/0.3874, allocations: 13.22 kB / 0.5223 GB, free: 22.89 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.3874, allocations: 1.125 kB / 0.5223 GB, free: 22.89 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.525e-05/0.3874, allocations: 13.48 kB / 0.5223 GB, free: 22.88 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003982/0.3914, allocations: 2.89 MB / 0.5251 GB, free: 21.46 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.099e-06/0.3914, allocations: 1.188 kB / 0.5251 GB, free: 21.46 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005951/0.392, allocations: 143.1 kB / 0.5253 GB, free: 21.46 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001315/0.3934, allocations: 0.5214 MB / 0.5258 GB, free: 21.29 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.324e-05/0.3934, allocations: 27.94 kB / 0.5258 GB, free: 21.27 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006084/0.3995, allocations: 4.702 MB / 0.5304 GB, free: 18.26 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.3995, allocations: 1.844 kB / 0.5304 GB, free: 18.26 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003408/0.4029, allocations: 2.362 MB / 0.5327 GB, free: 17.09 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002995/0.4033, allocations: 290.2 kB / 0.533 GB, free: 16.86 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.692e-05/0.4034, allocations: 24.86 kB / 0.533 GB, free: 16.85 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00059/0.404, allocations: 55.86 kB / 0.5331 GB, free: 16.83 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001924/0.4042, allocations: 94.11 kB / 0.5331 GB, free: 16.82 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.979e-05/0.4042, allocations: 39.5 kB / 0.5332 GB, free: 16.8 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002586/0.4045, allocations: 308.1 kB / 0.5335 GB, free: 16.65 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4045, allocations: 0 / 0.5335 GB, free: 16.65 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001058/0.4056, allocations: 418.6 kB / 0.5339 GB, free: 16.56 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(20,28)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003443/0.409, allocations: 2.961 MB / 0.5368 GB, free: 14.83 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003013/0.412, allocations: 1.853 MB / 0.5386 GB, free: 14.02 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.4121, allocations: 4 kB / 0.5386 GB, free: 14.02 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001837/0.4139, allocations: 1.237 MB / 0.5398 GB, free: 13.04 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000696/0.4146, allocations: 109 kB / 0.5399 GB, free: 12.94 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009887/0.4245, allocations: 9.272 MB / 0.5489 GB, free: 4.055 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004008/0.4249, allocations: 1.08 MB / 0.55 GB, free: 2.945 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004628/0.4254, allocations: 107.8 kB / 0.5501 GB, free: 2.836 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003772/0.4258, allocations: 399.3 kB / 0.5505 GB, free: 2.445 MB / 382.1 MB Notification: Performance of SimCode: time 4.11e-07/0.4258, allocations: 4 kB / 0.5505 GB, free: 2.441 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03807/0.4639, allocations: 24.25 MB / 0.5742 GB, free: 10.5 MB / 414.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001707/0.4641, allocations: 239.5 kB / 0.5744 GB, free: 10.25 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.283/2.747, allocations: 2.875 kB / 0.5744 GB, free: 10.25 MB / 414.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/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