Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002191/0.002191, allocations: 109.1 kB / 21.22 MB, free: 0.7539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002272/0.002272, allocations: 215.8 kB / 24.53 MB, free: 4.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.462/1.462, allocations: 230.5 MB / 258.2 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] 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(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_UnsymmetricalLoad",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_UnsymmetricalLoad",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002021/0.002021, allocations: 64.05 kB / 378.6 MB, free: 3.008 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2811/0.2831, allocations: 53.41 MB / 432 MB, free: 6.676 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad): time 0.01646/0.2996, allocations: 14.01 MB / 446 MB, free: 8.602 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01075/0.3103, allocations: 3.878 MB / 449.9 MB, free: 4.711 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003087/0.3134, allocations: 115.5 kB / 450 MB, free: 4.598 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01306/0.3265, allocations: 5.599 MB / 455.6 MB, free: 14.98 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00588/0.3324, allocations: 1.429 MB / 457 MB, free: 13.55 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003961/0.3363, allocations: 1.232 MB / 458.2 MB, free: 12.34 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01027/0.3466, allocations: 6.499 MB / 464.7 MB, free: 5.816 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01767/0.3643, allocations: 9.158 MB / 473.9 MB, free: 12.54 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006726/0.371, allocations: 3.355 MB / 477.3 MB, free: 9.172 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007627/0.3786, allocations: 3.889 MB / 481.1 MB, free: 5.27 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003628/0.3822, allocations: 0.8828 MB / 482 MB, free: 4.387 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004407/0.3866, allocations: 1.086 MB / 483.1 MB, free: 3.301 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002957/0.3896, allocations: 1.777 MB / 484.9 MB, free: 1.52 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007517/0.3971, allocations: 3.572 MB / 488.5 MB, free: 13.93 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0164/0.4135, allocations: 11.99 MB / 0.4887 GB, free: 1.906 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.314e-06/0.4135, allocations: 0 / 0.4887 GB, free: 1.906 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.575e-06/0.4135, allocations: 0 / 0.4887 GB, free: 1.906 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0003571/0.4139, allocations: 0 / 0.4887 GB, free: 1.906 MB / 398.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.02452/0.4384, allocations: 7.83 MB / 0.4964 GB, free: 10.01 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.16e-05/0.4385, allocations: 8.031 kB / 0.4964 GB, free: 10 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0002763/0.4387, allocations: 204.2 kB / 0.4966 GB, free: 9.797 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004055/0.4428, allocations: 1.066 MB / 0.4976 GB, free: 8.719 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02093/0.4637, allocations: 2.877 MB / 0.5004 GB, free: 5.836 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009431/0.4732, allocations: 3.752 MB / 0.5041 GB, free: 2.035 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005995/0.4738, allocations: 489.1 kB / 0.5046 GB, free: 1.555 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002473/0.4762, allocations: 0.6288 MB / 0.5052 GB, free: 0.9258 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02459/0.5008, allocations: 9.383 MB / 0.5143 GB, free: 7.484 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003019/0.5011, allocations: 11.95 kB / 0.5143 GB, free: 7.473 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001845/0.503, allocations: 268 kB / 0.5146 GB, free: 7.211 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000366/0.5033, allocations: 313.5 kB / 0.5149 GB, free: 6.902 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01822/0.5216, allocations: 8.017 MB / 0.5227 GB, free: 14.87 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2714/0.793, allocations: 27.61 MB / 0.5497 GB, free: 83.85 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007009/0.8, allocations: 3.97 MB / 0.5536 GB, free: 82.68 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001922/0.8019, allocations: 1.501 MB / 0.555 GB, free: 82.16 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001939/0.8021, allocations: 82.44 kB / 0.5551 GB, free: 82.15 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.889e-05/0.8021, allocations: 63.06 kB / 0.5552 GB, free: 82.09 MB / 446.1 MB Notification: Performance of pre-optimization done (n=254): time 4.208e-06/0.8021, allocations: 0 / 0.5552 GB, free: 82.09 MB / 446.1 MB Notification: Performance of matching and sorting (n=318): time 0.02327/0.8254, allocations: 13.02 MB / 0.5679 GB, free: 75.36 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.016e-05/0.8254, allocations: 109.2 kB / 0.568 GB, free: 75.26 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002225/0.8277, allocations: 1.913 MB / 0.5699 GB, free: 73.61 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003004/0.828, allocations: 73.7 kB / 0.5699 GB, free: 73.53 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009853/0.829, allocations: 2.635 MB / 0.5725 GB, free: 71.17 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006414/0.8296, allocations: 1.118 MB / 0.5736 GB, free: 70.07 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008601/0.8305, allocations: 0.7715 MB / 0.5743 GB, free: 69.28 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.061e-05/0.8305, allocations: 301.1 kB / 0.5746 GB, free: 68.98 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00191/0.8324, allocations: 1.744 MB / 0.5763 GB, free: 67.23 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002333/0.8347, allocations: 2.966 MB / 0.5792 GB, free: 63.71 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004453/0.8392, allocations: 5.024 MB / 0.5841 GB, free: 58.15 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.977e-05/0.8392, allocations: 12 kB / 0.5842 GB, free: 58.14 MB / 446.1 MB Notification: Performance of matching and sorting (n=522) (initialization): time 0.006769/0.846, allocations: 5.55 MB / 0.5896 GB, free: 52.57 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.821e-05/0.846, allocations: 24 kB / 0.5896 GB, free: 52.54 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.946e-05/0.8461, allocations: 36 kB / 0.5896 GB, free: 52.51 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001099/0.8472, allocations: 0.5383 MB / 0.5902 GB, free: 51.96 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00276/0.8499, allocations: 0.8891 MB / 0.591 GB, free: 51.07 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007371/0.8573, allocations: 9.563 MB / 0.6004 GB, free: 41.06 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002412/0.8597, allocations: 187.9 kB / 0.6005 GB, free: 40.88 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002658/0.86, allocations: 188 kB / 0.6007 GB, free: 40.7 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 (466): * Single equations (assignments): 462 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,22,100.0%), (2,22,100.0%), (1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002797/0.8628, allocations: 2.253 MB / 0.6029 GB, free: 38.43 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004051/0.8632, allocations: 242.4 kB / 0.6032 GB, free: 38.19 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005468/0.8686, allocations: 4.283 MB / 0.6073 GB, free: 33.88 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.614e-05/0.8687, allocations: 32 kB / 0.6074 GB, free: 33.85 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.255e-05/0.8687, allocations: 12 kB / 0.6074 GB, free: 33.84 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.463e-05/0.8687, allocations: 19.88 kB / 0.6074 GB, free: 33.82 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01637/0.8851, allocations: 13.54 MB / 0.6206 GB, free: 20.02 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.241e-05/0.8851, allocations: 16.94 kB / 0.6206 GB, free: 20 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001949/0.887, allocations: 0.5421 MB / 0.6212 GB, free: 19.46 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001006/0.8881, allocations: 467.1 kB / 0.6216 GB, free: 18.99 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002355/0.8883, allocations: 91.97 kB / 0.6217 GB, free: 18.9 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00709/0.8954, allocations: 8.574 MB / 0.6301 GB, free: 9.883 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.146e-05/0.8954, allocations: 27.88 kB / 0.6301 GB, free: 9.855 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007971/0.9034, allocations: 6.507 MB / 0.6364 GB, free: 2.941 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001355/0.9047, allocations: 0.5358 MB / 0.637 GB, free: 2.406 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004989/0.9052, allocations: 79.98 kB / 0.637 GB, free: 2.328 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001759/0.907, allocations: 151.9 kB / 0.6372 GB, free: 2.18 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004418/0.9074, allocations: 286 kB / 0.6375 GB, free: 1.898 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000194/0.9076, allocations: 112 kB / 0.6376 GB, free: 1.789 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001857/0.9095, allocations: 1.294 MB / 0.6388 GB, free: 0.5 MB / 446.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.9095, allocations: 0 / 0.6388 GB, free: 0.5 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00433/0.9138, allocations: 1.074 MB / 0.6399 GB, free: 15.42 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 74 * 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 (288): * Single equations (assignments): 284 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,22,100.0%), (2,14,100.0%), (1,5,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01121/0.925, allocations: 7.199 MB / 0.6469 GB, free: 7.809 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.008442/0.9334, allocations: 4.645 MB / 0.6515 GB, free: 3.109 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.261e-05/0.9335, allocations: 4.938 kB / 0.6515 GB, free: 3.105 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004183/0.9377, allocations: 2.335 MB / 0.6537 GB, free: 0.7227 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003704/0.9414, allocations: 0.5455 MB / 0.6543 GB, free: 188 kB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06382/1.005, allocations: 32.84 MB / 0.6863 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007122/1.012, allocations: 4.136 MB / 0.6904 GB, free: 8.992 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.003817/1.016, allocations: 1.284 MB / 0.6916 GB, free: 7.703 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00344/1.02, allocations: 2.073 MB / 0.6937 GB, free: 5.629 MB / 0.4981 GB Notification: Performance of SimCode: time 9.52e-07/1.02, allocations: 0 / 0.6937 GB, free: 5.629 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3871/1.407, allocations: 79.48 MB / 0.7713 GB, free: 185 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.2/18.61, allocations: 3.609 kB / 0.7713 GB, free: 185 MB / 0.545 GB " [Timeout remaining time 641] (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_UnsymmetricalLoad_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_UnsymmetricalLoad.fmu > Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/UnsymmetricalLoad/UnsymmetricalLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 21.780709148035385]