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.0006973/0.0006974, allocations: 94.38 kB / 17.35 MB, free: 6.367 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.0007577/0.0007577, allocations: 176.1 kB / 18.25 MB, free: 5.527 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.215/1.215, allocations: 223.3 MB / 242.3 MB, free: 14.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2047/0.2047, allocations: 44.24 MB / 337.7 MB, free: 2.426 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000273/0.000273, allocations: 8 kB / 410.4 MB, free: 27.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09122/0.09151, allocations: 61.92 MB / 472.4 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.006267/0.0978, allocations: 7.128 MB / 479.5 MB, free: 6.043 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003022/0.1008, allocations: 2.319 MB / 481.8 MB, free: 3.719 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002845/0.1011, allocations: 27.94 kB / 481.8 MB, free: 3.691 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005947/0.1017, allocations: 358.4 kB / 482.2 MB, free: 3.34 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001458/0.1032, allocations: 0.7812 MB / 483 MB, free: 2.559 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001524/0.1047, allocations: 0.8305 MB / 483.8 MB, free: 1.738 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001087/0.1058, allocations: 1.335 MB / 485.1 MB, free: 408 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002492/0.1083, allocations: 1.697 MB / 486.8 MB, free: 14.66 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004889/0.1088, allocations: 0.5252 MB / 487.4 MB, free: 14.13 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005605/0.1094, allocations: 0.6417 MB / 488 MB, free: 13.48 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 9.51e-05/0.1095, allocations: 59.98 kB / 488.1 MB, free: 13.43 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004552/0.11, allocations: 275.7 kB / 488.3 MB, free: 13.16 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001596/0.1101, allocations: 238.8 kB / 488.6 MB, free: 12.92 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004373/0.1106, allocations: 0.6078 MB / 489.2 MB, free: 12.3 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00125/0.1118, allocations: 1.646 MB / 490.8 MB, free: 10.65 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.1119, allocations: 0 / 490.8 MB, free: 10.65 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1119, allocations: 0 / 490.8 MB, free: 10.65 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.208e-06/0.1119, allocations: 0 / 490.8 MB, free: 10.65 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.006364/0.1183, allocations: 2.143 MB / 493 MB, free: 8.457 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.424e-05/0.1183, allocations: 8.031 kB / 493 MB, free: 8.449 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002014/0.1185, allocations: 194.7 kB / 493.1 MB, free: 8.25 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009351/0.1279, allocations: 1.4 MB / 494.5 MB, free: 6.848 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006977/0.1286, allocations: 0.6128 MB / 495.2 MB, free: 6.195 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.694e-05/0.1286, allocations: 95.02 kB / 495.3 MB, free: 6.102 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001853/0.1288, allocations: 136.1 kB / 495.4 MB, free: 5.969 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002247/0.1311, allocations: 1.487 MB / 496.9 MB, free: 4.434 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.398e-05/0.1311, allocations: 7.922 kB / 496.9 MB, free: 4.426 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001153/0.1313, allocations: 52 kB / 496.9 MB, free: 4.375 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.74e-05/0.1313, allocations: 36 kB / 497 MB, free: 4.34 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002349/0.1336, allocations: 1.525 MB / 498.5 MB, free: 2.809 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006966/0.1406, allocations: 5.408 MB / 0.4921 GB, free: 13.12 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002196/0.1428, allocations: 2.198 MB / 0.4942 GB, free: 10.7 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009602/0.1438, allocations: 0.6632 MB / 0.4949 GB, free: 10.03 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001118/0.1439, allocations: 98.09 kB / 0.495 GB, free: 9.918 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.272e-05/0.144, allocations: 55.5 kB / 0.495 GB, free: 9.855 MB / 382.1 MB Notification: Performance of pre-optimization done (n=127): time 2.625e-06/0.144, allocations: 0 / 0.495 GB, free: 9.855 MB / 382.1 MB Notification: Performance of matching and sorting (n=127): time 0.008647/0.1526, allocations: 3.149 MB / 0.4981 GB, free: 6.672 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.356e-05/0.1527, allocations: 90.11 kB / 0.4982 GB, free: 6.566 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004875/0.1532, allocations: 469.8 kB / 0.4986 GB, free: 6.094 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.216e-05/0.1533, allocations: 45.7 kB / 0.4987 GB, free: 6.043 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002585/0.1535, allocations: 463.5 kB / 0.4991 GB, free: 5.582 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000286/0.1538, allocations: 421.9 kB / 0.4995 GB, free: 5.164 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001334/0.154, allocations: 101.7 kB / 0.4996 GB, free: 5.059 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001279/0.1541, allocations: 386.8 kB / 0.5 GB, free: 4.672 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000792/0.1549, allocations: 462.4 kB / 0.5004 GB, free: 4.223 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009228/0.1558, allocations: 0.7036 MB / 0.5011 GB, free: 3.426 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00173/0.1576, allocations: 1.217 MB / 0.5023 GB, free: 2.113 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.783e-06/0.1576, allocations: 4 kB / 0.5023 GB, free: 2.109 MB / 382.1 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.002689/0.1603, allocations: 1.605 MB / 0.5039 GB, free: 0.5 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.197e-05/0.1603, allocations: 12.03 kB / 0.5039 GB, free: 500 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.394e-05/0.1603, allocations: 15.88 kB / 0.5039 GB, free: 484 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1873/0.3477, allocations: 0.5202 MB / 0.5044 GB, free: 46.71 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009437/0.3486, allocations: 200.2 kB / 0.5046 GB, free: 46.71 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007726/0.3564, allocations: 4.719 MB / 0.5092 GB, free: 45.06 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008295/0.3572, allocations: 130.1 kB / 0.5093 GB, free: 44.99 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001537/0.3574, allocations: 47.39 kB / 0.5094 GB, free: 44.98 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.0005087/0.3579, allocations: 274.7 kB / 0.5096 GB, free: 44.77 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001839/0.3581, allocations: 77.92 kB / 0.5097 GB, free: 44.73 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002883/0.361, allocations: 1.59 MB / 0.5113 GB, free: 44.01 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.688e-05/0.361, allocations: 17.34 kB / 0.5113 GB, free: 44.01 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.361, allocations: 1.281 kB / 0.5113 GB, free: 44.01 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.363e-05/0.361, allocations: 6.094 kB / 0.5113 GB, free: 44.01 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004385/0.3654, allocations: 2.882 MB / 0.5141 GB, free: 42.59 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.222e-06/0.3655, allocations: 1.031 kB / 0.5141 GB, free: 42.59 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006128/0.3661, allocations: 146.8 kB / 0.5143 GB, free: 42.58 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001438/0.3675, allocations: 0.5234 MB / 0.5148 GB, free: 42.42 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.871e-05/0.3676, allocations: 28.92 kB / 0.5148 GB, free: 42.4 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006923/0.3745, allocations: 4.709 MB / 0.5194 GB, free: 39.39 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.3746, allocations: 5.062 kB / 0.5194 GB, free: 39.39 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003757/0.3783, allocations: 2.355 MB / 0.5217 GB, free: 38.2 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003751/0.3787, allocations: 280.8 kB / 0.522 GB, free: 37.98 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000129/0.3788, allocations: 22.08 kB / 0.522 GB, free: 37.97 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000648/0.3795, allocations: 69.38 kB / 0.5221 GB, free: 37.94 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002374/0.3797, allocations: 94.83 kB / 0.5221 GB, free: 37.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.925e-05/0.3798, allocations: 33.58 kB / 0.5222 GB, free: 37.92 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003566/0.3802, allocations: 313.8 kB / 0.5225 GB, free: 37.76 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.3802, allocations: 3.938 kB / 0.5225 GB, free: 37.76 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001266/0.3815, allocations: 410.9 kB / 0.5229 GB, free: 37.66 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.004165/0.3856, allocations: 2.971 MB / 0.5258 GB, free: 35.91 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002981/0.3886, allocations: 1.854 MB / 0.5276 GB, free: 35.07 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.3886, allocations: 3.938 kB / 0.5276 GB, free: 35.07 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0018/0.3905, allocations: 1.237 MB / 0.5288 GB, free: 34.45 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006905/0.3912, allocations: 95.08 kB / 0.5289 GB, free: 34.4 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01061/0.4018, allocations: 9.261 MB / 0.5379 GB, free: 27.54 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004262/0.4022, allocations: 1.078 MB / 0.539 GB, free: 26.57 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004659/0.4027, allocations: 105.4 kB / 0.5391 GB, free: 26.48 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003735/0.4031, allocations: 397.2 kB / 0.5395 GB, free: 26.13 MB / 382.1 MB Notification: Performance of SimCode: time 5.81e-07/0.4031, allocations: 8 kB / 0.5395 GB, free: 26.12 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06103/0.4641, allocations: 24.2 MB / 0.5631 GB, free: 2.316 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001567/0.4643, allocations: 241 kB / 0.5633 GB, free: 2.062 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.271/2.736, allocations: 4.719 kB / 0.5633 GB, free: 2.059 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/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