Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.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) 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(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_UnsymmetricalLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_UnsymmetricalLoad",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.001262/0.001262, allocations: 110.8 kB / 16.62 MB, free: 6.812 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.001241/0.001241, allocations: 190 kB / 17.55 MB, free: 5.934 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.237/1.237, allocations: 222.9 MB / 241.2 MB, free: 13.8 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009368/0.0009368, allocations: 51.7 kB / 300.2 MB, free: 5.898 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08313/0.08408, allocations: 49.44 MB / 349.7 MB, free: 4.445 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad): time 0.01336/0.09747, allocations: 13.72 MB / 363.4 MB, free: 6.66 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006729/0.1042, allocations: 3.73 MB / 367.1 MB, free: 2.918 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002142/0.1064, allocations: 103.6 kB / 367.2 MB, free: 2.816 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.1532/0.2596, allocations: 5.27 MB / 372.5 MB, free: 9.102 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003933/0.2636, allocations: 1.354 MB / 373.9 MB, free: 9.07 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002026/0.2656, allocations: 0.9803 MB / 374.8 MB, free: 9.047 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.005522/0.2711, allocations: 6.231 MB / 381.1 MB, free: 8.496 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01561/0.2868, allocations: 15.94 MB / 397 MB, free: 1.23 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004423/0.2912, allocations: 3.348 MB / 400.4 MB, free: 14.29 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005598/0.2968, allocations: 3.875 MB / 404.2 MB, free: 11.12 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001659/0.2985, allocations: 0.8867 MB / 405.1 MB, free: 10.24 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002284/0.3008, allocations: 1.071 MB / 406.2 MB, free: 9.195 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001278/0.3021, allocations: 1.776 MB / 408 MB, free: 7.547 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003741/0.3058, allocations: 3.572 MB / 411.5 MB, free: 3.992 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01051/0.3164, allocations: 11.88 MB / 423.4 MB, free: 8.34 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.3164, allocations: 0 / 423.4 MB, free: 8.34 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.3164, allocations: 4 kB / 423.4 MB, free: 8.336 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0002146/0.3166, allocations: 0 / 423.4 MB, free: 8.336 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1730 * Number of variables: 1730 Notification: Performance of Generate backend data structure: time 0.01676/0.3334, allocations: 7.798 MB / 431.2 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.3334, allocations: 15.97 kB / 431.2 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001562/0.335, allocations: 1.048 MB / 432.3 MB, free: 15.45 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01766/0.3527, allocations: 2.892 MB / 435.2 MB, free: 12.6 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007066/0.3598, allocations: 3.613 MB / 438.8 MB, free: 8.953 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003401/0.3601, allocations: 481.9 kB / 439.3 MB, free: 8.484 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001676/0.3618, allocations: 0.6209 MB / 439.9 MB, free: 7.867 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02181/0.3836, allocations: 9.344 MB / 449.2 MB, free: 14.48 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002421/0.3839, allocations: 11.84 kB / 449.2 MB, free: 14.46 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001529/0.3855, allocations: 262.9 kB / 449.5 MB, free: 14.21 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000326/0.3858, allocations: 325.5 kB / 449.8 MB, free: 13.89 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01547/0.4013, allocations: 7.958 MB / 457.8 MB, free: 5.922 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04919/0.4505, allocations: 28.6 MB / 486.4 MB, free: 8.664 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01196/0.4625, allocations: 11.71 MB / 498.1 MB, free: 11.27 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002558/0.4651, allocations: 1.617 MB / 499.7 MB, free: 9.652 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002759/0.4654, allocations: 140.1 kB / 499.8 MB, free: 9.508 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.92e-05/0.4655, allocations: 56.56 kB / 499.9 MB, free: 9.441 MB / 414.1 MB Notification: Performance of pre-optimization done (n=238): time 4.358e-06/0.4655, allocations: 3.938 kB / 499.9 MB, free: 9.438 MB / 414.1 MB Notification: Performance of matching and sorting (n=238): time 0.008002/0.4735, allocations: 4.165 MB / 0.4922 GB, free: 5.227 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.518e-05/0.4736, allocations: 103.1 kB / 0.4923 GB, free: 5.109 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003352/0.4769, allocations: 1.903 MB / 0.4942 GB, free: 3.199 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001959/0.4771, allocations: 61.7 kB / 0.4943 GB, free: 3.133 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001916/0.4791, allocations: 2.561 MB / 0.4968 GB, free: 0.5547 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007641/0.4799, allocations: 0.8031 MB / 0.4975 GB, free: 15.76 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001192/0.4811, allocations: 0.6637 MB / 0.4982 GB, free: 15.09 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001245/0.4812, allocations: 313.1 kB / 0.4985 GB, free: 14.78 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002228/0.4834, allocations: 1.404 MB / 0.4999 GB, free: 13.37 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003088/0.4865, allocations: 2.595 MB / 0.5024 GB, free: 10.25 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005676/0.4922, allocations: 4.23 MB / 0.5065 GB, free: 5.477 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.249e-05/0.4923, allocations: 8 kB / 0.5065 GB, free: 5.469 MB / 430.1 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.007299/0.4996, allocations: 4.522 MB / 0.511 GB, free: 0.9297 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.442e-05/0.4996, allocations: 20 kB / 0.511 GB, free: 0.9102 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.541e-05/0.4997, allocations: 40 kB / 0.511 GB, free: 0.8711 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000785/0.5005, allocations: 313.1 kB / 0.5113 GB, free: 0.5625 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002582/0.5031, allocations: 0.7839 MB / 0.5121 GB, free: 15.78 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005347/0.5085, allocations: 5.038 MB / 0.517 GB, free: 10.47 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00226/0.5107, allocations: 412 kB / 0.5174 GB, free: 10.07 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003729/0.5111, allocations: 164 kB / 0.5175 GB, free: 9.906 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 174 * 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 (414): * Single equations (assignments): 412 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,22,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003547/0.5147, allocations: 2.191 MB / 0.5197 GB, free: 7.703 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000555/0.5152, allocations: 205.4 kB / 0.5199 GB, free: 7.5 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005299/0.5206, allocations: 3.189 MB / 0.523 GB, free: 4.285 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.151e-05/0.5206, allocations: 24 kB / 0.523 GB, free: 4.262 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.594e-05/0.5206, allocations: 12 kB / 0.523 GB, free: 4.25 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.413e-05/0.5207, allocations: 15.89 kB / 0.523 GB, free: 4.234 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1769/0.6976, allocations: 11.78 MB / 0.5345 GB, free: 123.1 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.04e-05/0.6976, allocations: 12.81 kB / 0.5346 GB, free: 123.1 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001744/0.6994, allocations: 439.8 kB / 0.535 GB, free: 123.1 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006569/0.7001, allocations: 276.5 kB / 0.5352 GB, free: 123 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001476/0.7002, allocations: 67.38 kB / 0.5353 GB, free: 123 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004446/0.7047, allocations: 4.984 MB / 0.5402 GB, free: 120 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.027e-05/0.7047, allocations: 23.84 kB / 0.5402 GB, free: 120 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006393/0.7111, allocations: 4.991 MB / 0.5451 GB, free: 117.6 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008946/0.712, allocations: 0.5322 MB / 0.5456 GB, free: 117.3 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002649/0.7123, allocations: 62.25 kB / 0.5457 GB, free: 117.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001201/0.7135, allocations: 124.5 kB / 0.5458 GB, free: 117.3 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003293/0.7138, allocations: 211.4 kB / 0.546 GB, free: 117.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001431/0.714, allocations: 84.72 kB / 0.5461 GB, free: 117.2 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001628/0.7156, allocations: 1.292 MB / 0.5473 GB, free: 116.7 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.7156, allocations: 0 / 0.5473 GB, free: 116.7 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003615/0.7193, allocations: 1.435 MB / 0.5487 GB, free: 116.3 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 62 * Number of states: 2 (voltageSource2.plug_p.reference.gamma,voltageSource1.plug_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 (226): * Single equations (assignments): 224 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,22,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005745/0.725, allocations: 5.662 MB / 0.5542 GB, free: 113.2 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006106/0.7311, allocations: 4.158 MB / 0.5583 GB, free: 111.9 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.25e-05/0.7312, allocations: 2.969 kB / 0.5583 GB, free: 111.9 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001826/0.733, allocations: 1.69 MB / 0.56 GB, free: 111.2 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002539/0.7355, allocations: 0.5118 MB / 0.5605 GB, free: 111 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03546/0.771, allocations: 33.11 MB / 0.5928 GB, free: 82.18 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002863/0.7739, allocations: 4.014 MB / 0.5967 GB, free: 78.23 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002782/0.7767, allocations: 1.195 MB / 0.5979 GB, free: 77.02 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001719/0.7784, allocations: 1.991 MB / 0.5998 GB, free: 75.03 MB / 446.1 MB Notification: Performance of SimCode: time 8.21e-07/0.7784, allocations: 0 / 0.5998 GB, free: 75.03 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08094/0.8594, allocations: 64.38 MB / 0.6627 GB, free: 11.09 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001342/0.8596, allocations: 244.8 kB / 0.6629 GB, free: 10.84 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.013/3.873, allocations: 0 / 0.6629 GB, free: 10.84 MB / 446.1 MB (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_UnsymmetricalLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_UnsymmetricalLoad.fmu > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/UnsymmetricalLoad/UnsymmetricalLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches