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.00129/0.00129, allocations: 109.1 kB / 21.22 MB, free: 0.6484 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.001401/0.001401, allocations: 210.1 kB / 24.51 MB, free: 3.941 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.437/1.437, allocations: 230.5 MB / 258.2 MB, free: 7.812 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.001943/0.001943, allocations: 59.91 kB / 378.5 MB, free: 2.844 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2846/0.2866, allocations: 53.41 MB / 431.9 MB, free: 6.469 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad): time 0.01455/0.3011, allocations: 11.99 MB / 443.9 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008849/0.31, allocations: 3.691 MB / 447.6 MB, free: 6.727 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002921/0.3129, allocations: 119.4 kB / 447.7 MB, free: 6.609 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01258/0.3255, allocations: 5.171 MB / 452.9 MB, free: 1.426 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006475/0.3319, allocations: 1.402 MB / 454.3 MB, free: 20 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003845/0.3358, allocations: 1.179 MB / 455.5 MB, free: 14.85 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.009862/0.3457, allocations: 6.483 MB / 462 MB, free: 8.348 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01494/0.3606, allocations: 9.161 MB / 471.1 MB, free: 15.06 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005163/0.3658, allocations: 3.363 MB / 474.5 MB, free: 11.69 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006787/0.3725, allocations: 3.882 MB / 478.4 MB, free: 7.793 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002807/0.3754, allocations: 0.8906 MB / 479.3 MB, free: 6.902 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003882/0.3792, allocations: 1.078 MB / 480.3 MB, free: 5.824 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003112/0.3823, allocations: 1.777 MB / 482.1 MB, free: 4.043 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006787/0.3891, allocations: 2.798 MB / 484.9 MB, free: 1.234 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01559/0.4047, allocations: 12.05 MB / 497 MB, free: 5.148 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.594e-06/0.4047, allocations: 0 / 497 MB, free: 5.148 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.4047, allocations: 4 kB / 497 MB, free: 5.145 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0003884/0.4051, allocations: 0 / 497 MB, free: 5.145 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.025/0.4301, allocations: 7.84 MB / 0.493 GB, free: 13.24 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.027e-05/0.4302, allocations: 12.03 kB / 0.493 GB, free: 13.23 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0002929/0.4305, allocations: 200.2 kB / 0.4932 GB, free: 13.03 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003723/0.4342, allocations: 1.062 MB / 0.4942 GB, free: 11.96 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01989/0.4541, allocations: 2.88 MB / 0.497 GB, free: 9.07 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00909/0.4632, allocations: 3.752 MB / 0.5007 GB, free: 5.27 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005039/0.4637, allocations: 489.1 kB / 0.5011 GB, free: 4.789 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002627/0.4663, allocations: 0.6249 MB / 0.5018 GB, free: 4.164 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02274/0.4891, allocations: 9.537 MB / 0.5111 GB, free: 10.53 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002042/0.4893, allocations: 15.91 kB / 0.5111 GB, free: 10.52 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001117/0.4904, allocations: 260 kB / 0.5113 GB, free: 10.26 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003586/0.4907, allocations: 321.5 kB / 0.5116 GB, free: 9.945 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01657/0.5073, allocations: 8.009 MB / 0.5195 GB, free: 1.922 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2896/0.7969, allocations: 25.39 MB / 0.5443 GB, free: 85.31 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006681/0.8036, allocations: 3.922 MB / 0.5481 GB, free: 85.21 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001926/0.8055, allocations: 1.496 MB / 0.5496 GB, free: 85.17 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001935/0.8057, allocations: 70.81 kB / 0.5496 GB, free: 85.17 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.138e-05/0.8058, allocations: 66.44 kB / 0.5497 GB, free: 85.13 MB / 446.1 MB Notification: Performance of pre-optimization done (n=254): time 5.22e-06/0.8058, allocations: 0 / 0.5497 GB, free: 85.13 MB / 446.1 MB Notification: Performance of matching and sorting (n=318): time 0.02258/0.8283, allocations: 13.03 MB / 0.5624 GB, free: 79.75 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.581e-05/0.8284, allocations: 107.5 kB / 0.5625 GB, free: 79.65 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002129/0.8305, allocations: 1.9 MB / 0.5644 GB, free: 78.14 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002109/0.8307, allocations: 81.69 kB / 0.5644 GB, free: 78.05 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001135/0.8319, allocations: 2.635 MB / 0.567 GB, free: 75.69 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006671/0.8325, allocations: 1.119 MB / 0.5681 GB, free: 74.59 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009017/0.8334, allocations: 0.7637 MB / 0.5689 GB, free: 73.81 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.174e-05/0.8335, allocations: 301.1 kB / 0.5691 GB, free: 73.51 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00192/0.8354, allocations: 1.737 MB / 0.5708 GB, free: 71.77 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002376/0.8378, allocations: 2.97 MB / 0.5737 GB, free: 68.24 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004444/0.8422, allocations: 5.031 MB / 0.5787 GB, free: 62.67 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.097e-05/0.8422, allocations: 12 kB / 0.5787 GB, free: 62.66 MB / 446.1 MB Notification: Performance of matching and sorting (n=522) (initialization): time 0.006708/0.849, allocations: 5.55 MB / 0.5841 GB, free: 57.09 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.764e-05/0.849, allocations: 23.09 kB / 0.5841 GB, free: 57.07 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.245e-05/0.849, allocations: 36 kB / 0.5841 GB, free: 57.03 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001092/0.8501, allocations: 0.5385 MB / 0.5847 GB, free: 56.48 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002873/0.853, allocations: 0.8892 MB / 0.5855 GB, free: 55.59 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00752/0.8605, allocations: 9.446 MB / 0.5948 GB, free: 45.71 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002601/0.8631, allocations: 191.9 kB / 0.5949 GB, free: 45.52 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003503/0.8635, allocations: 184 kB / 0.5951 GB, free: 45.34 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.003096/0.8665, allocations: 2.257 MB / 0.5973 GB, free: 43.07 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004697/0.867, allocations: 246.4 kB / 0.5976 GB, free: 42.83 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005616/0.8726, allocations: 4.271 MB / 0.6017 GB, free: 38.53 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.011e-05/0.8727, allocations: 34.73 kB / 0.6018 GB, free: 38.5 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.219e-05/0.8727, allocations: 8 kB / 0.6018 GB, free: 38.49 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.368e-05/0.8727, allocations: 15.94 kB / 0.6018 GB, free: 38.48 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01708/0.8898, allocations: 13.15 MB / 0.6146 GB, free: 25.07 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.026e-05/0.8898, allocations: 16 kB / 0.6146 GB, free: 25.05 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001973/0.8918, allocations: 0.5469 MB / 0.6152 GB, free: 24.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001007/0.8928, allocations: 462.3 kB / 0.6156 GB, free: 24.04 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001642/0.8929, allocations: 91.97 kB / 0.6157 GB, free: 23.95 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006409/0.8993, allocations: 8.491 MB / 0.624 GB, free: 15.02 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.033e-05/0.8994, allocations: 23.94 kB / 0.624 GB, free: 15 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007994/0.9073, allocations: 6.515 MB / 0.6304 GB, free: 8.07 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001364/0.9087, allocations: 0.5332 MB / 0.6309 GB, free: 7.535 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003226/0.909, allocations: 79.98 kB / 0.631 GB, free: 7.457 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00144/0.9105, allocations: 143.9 kB / 0.6311 GB, free: 7.316 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004275/0.9109, allocations: 286 kB / 0.6314 GB, free: 7.035 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001621/0.9111, allocations: 116 kB / 0.6315 GB, free: 6.922 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001461/0.9125, allocations: 1.291 MB / 0.6328 GB, free: 5.637 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.9125, allocations: 3.5 kB / 0.6328 GB, free: 5.637 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003398/0.9159, allocations: 1.078 MB / 0.6338 GB, free: 4.559 MB / 446.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.008565/0.9245, allocations: 7.193 MB / 0.6408 GB, free: 12.95 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007923/0.9324, allocations: 4.653 MB / 0.6454 GB, free: 8.246 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.013e-05/0.9324, allocations: 4 kB / 0.6454 GB, free: 8.242 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003785/0.9362, allocations: 2.329 MB / 0.6477 GB, free: 5.867 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003086/0.9393, allocations: 0.5438 MB / 0.6482 GB, free: 5.332 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05772/0.997, allocations: 32.84 MB / 0.6803 GB, free: 2.324 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005048/1.002, allocations: 3.622 MB / 0.6838 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.003597/1.006, allocations: 1.288 MB / 0.6851 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00353/1.009, allocations: 2.073 MB / 0.6871 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of SimCode: time 1.442e-06/1.009, allocations: 0 / 0.6871 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.42/1.429, allocations: 79.72 MB / 0.7649 GB, free: 188.4 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.31/18.74, allocations: 13.77 kB / 0.765 GB, free: 188.4 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.766404988011345]